* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.profile-container {
    max-width: 600px;
    width: 100%;
    margin: auto;
}

.profile-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-header {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    text-align: center;
    padding: 2rem;
}

.avatar i {
    font-size: 80px;
    margin-bottom: 1rem;
    background: white;
    border-radius: 50%;
    padding: 10px;
    color: #2e7d32;
}

.profile-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.profile-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.profile-body {
    padding: 2rem;
}

.info-group {
    margin-bottom: 1.5rem;
}

.info-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-group input,
.info-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.info-group input:focus,
.info-group textarea:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.info-group input:disabled,
.info-group textarea:disabled {
    background-color: #f9f9f9;
    color: #666;
    cursor: not-allowed;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-primary,
.btn-success,
.btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-primary {
    background: #2e7d32;
    color: white;
}

.btn-primary:hover {
    background: #1b5e20;
    transform: translateY(-2px);
}

.btn-success {
    background: #4caf50;
    color: white;
}

.btn-success:hover {
    background: #388e3c;
}

.btn-secondary {
    background: #f0f0f0;
    color: #555;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.message {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.profile-footer {
    background: #fafafa;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid #eee;
}

.back-link {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: #1b5e20;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .profile-body {
        padding: 1.5rem;
    }
    .button-group {
        flex-direction: column;
    }
    .btn-primary, .btn-success, .btn-secondary {
        width: 100%;
    }
}

.password-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.password-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #333;
}

.password-wrapper {
    position: relative;
    width: 100%;
}
.password-wrapper input {
    width: 100%;
    padding-right: 35px;
}
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
}
.toggle-password:hover {
    color: #2e7d32;
}