.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-section {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.profile-section h3 {
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    font-size: 15px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input[type="email"]:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #7f8c8d;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 13px;
}

.section-divider {
    height: 2px;
    background: linear-gradient(to right, #3498db, transparent);
    margin: 35px 0;
}

.checkbox-group {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 2px solid #ecf0f1;
}

.checkbox-group h4 {
    color: #2c3e50;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.checkbox-group .hint {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
    font-style: italic;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.checkbox-label:hover {
    background: #ecf0f1;
    border-color: #3498db;
    transform: translateX(5px);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #3498db;
}

.checkbox-label span {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid #ecf0f1;
}

.btn-save {
    flex: 1;
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-save:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.btn-cancel {
    flex: 0 0 auto;
    background-color: #95a5a6;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-cancel:hover {
    background-color: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

.message {
    padding: 14px 18px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #2ecc71;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #e74c3c;
}

@media(max-width: 768px) {
    .profile-section {
        padding: 25px 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-save,
    .btn-cancel {
        width: 100%;
    }
}