/* Profile Settings Page Styles */

.profile-settings-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.profile-settings-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-picture-section {
    flex: 0 0 300px;
    min-width: 280px;
}

.account-details-section {
    flex: 1;
    min-width: 400px;
}

.profile-section-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

/* Profile Picture Section */
.profile-picture-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    margin-bottom: 16px;
    background-color: #f7fafc;
}

.profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 3px solid #e2e8f0;
}

.profile-upload-info {
    font-size: 14px;
    color: #718096;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.profile-upload-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    max-width: 200px;
}

.profile-upload-btn:hover {
    background-color: #0056b3;
}

.profile-upload-btn:active {
    transform: translateY(1px);
}

.profile-upload-input {
    display: none;
}

/* Account Details Section */
.account-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    margin: 0;
}

.form-label .label-hint {
    font-weight: 400;
    color: #718096;
    font-size: 13px;
    display: block;
    margin-top: 2px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #ffffff;
    color: #2d3748;
}

.form-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-input::placeholder {
    color: #a0aec0;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.save-changes-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.save-changes-btn:hover {
    background-color: #0056b3;
}

.save-changes-btn:active {
    transform: translateY(1px);
}

.save-changes-btn:disabled {
    background-color: #cbd5e0;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-settings-row {
        flex-direction: column;
    }

    .profile-picture-section {
        flex: 1;
        width: 100%;
    }

    .account-details-section {
        flex: 1;
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Loading State */
.profile-upload-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success Message */
.profile-success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
    border: 1px solid #c3e6cb;
    display: none;
}

.profile-success-message.show {
    display: block;
}

/* Error Message */
.profile-error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
    border: 1px solid #f5c6cb;
    display: none;
}

.profile-error-message.show {
    display: block;
}

