* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #72af75  0%, #72af75 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(117, 116, 116, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.header {
    background: linear-gradient(90deg, #7eb587, #ffffff);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.auth-button {
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn {
    background: rgb(4, 116, 41);
    color: rgb(221, 255, 230);
}

.logout-btn {
    background: #e74c3c;
    color: white;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 231, 231, 0.2);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 0;
    min-height: 600px;
}

.main-profile {
    padding: 40px;
}

.sidebar {
    background: linear-gradient(180deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-left: 1px solid #dee2e6;
}

.profile-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: white;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
}

.nav-button:hover {
    background: #3498db;
    color: white;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.nav-button i {
    margin-right: 10px;
    width: 16px;
}

.danger-button {
    background: #ffebee;
    border-color: #ffcdd2;
    color: #c62828;
}

.danger-button:hover {
    background: #f44336;
    color: white;
}

.success-button {
    background: #e8f5e8;
    border-color: #c8e6c9;
    color: #2e7d32;
}

.success-button:hover {
    background: #4caf50;
    color: white;
}

.settings-group {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e1e8ed;
    margin-bottom: 15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    transform: scale(1.2);
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 500;
    color: #666;
    text-transform: none;
    letter-spacing: normal;
}

.save-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.save-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 10px;
}

.status-online {
    background: #27ae60;
    box-shadow: 0 0 10px rgba(39, 174, 96, 0.5);
}

.status-offline {
    background: #95a5a6;
}

@keyframes slideIn {
    from { 
        transform: translateX(100%); 
        opacity: 0; 
    }
    to { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        border-left: none;
        border-top: 1px solid #dee2e6;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-button {
        position: static;
        margin-top: 20px;
    }
    
    .header {
        text-align: center;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .main-profile {
        padding: 20px;
    }
    
    .sidebar {
        padding: 20px;
    }
}