/* Profile Tab Styles */

.profile-container {
    padding: 2rem;
    max-width: 600px;
}

.profile-header {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: "Playfair Display", serif;
    margin-bottom: 1.5rem;
    color: #333;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-form-group {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-label {
    margin-bottom: 0;
    font-weight: 400;
    color: #495057;
    white-space: nowrap;
    min-width: fit-content;
}

.profile-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.profile-input:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.profile-checkbox-group {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.profile-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    cursor: pointer;
}

.profile-checkbox-label {
    margin: 0;
    cursor: pointer;
    color: #495057;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.profile-save-btn {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.profile-save-btn:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.profile-save-btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.profile-message {
    margin-left: 1rem;
    align-self: center;
}

.profile-message-success {
    color: #28a745;
    font-weight: 500;
}

.profile-message-error {
    color: #dc3545;
    font-weight: 500;
}

.profile-message-loading {
    color: #6c757d;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .profile-container {
        padding: 1rem;
    }

    .profile-header {
        font-size: 1.1rem;
    }

    .profile-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .profile-message {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}