/* Desktop Sidebar Styles */
.sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #1A3149;
    color: white;
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    direction: rtl;
}

.sidebar-header {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.sidebar-logo:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.sidebar-logo img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-left: 15px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0 1rem;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 0.5rem;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.sidebar-links a i {
    margin-left: 10px;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #b34700;
}

.sidebar-links a:hover,
.sidebar-links a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(-5px);
}

.sidebar-links a.active {
    background: rgba(179, 71, 0, 0.2);
    border-right: 3px solid #b34700;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white !important;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.whatsapp-btn i {
    margin-left: 8px;
    font-size: 1.2rem;
    color: white !important;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
}

/* Animation for sidebar links */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-links li {
    animation: slideInRight 0.4s ease-out forwards;
    opacity: 0;
}

.sidebar-links li:nth-child(1) { animation-delay: 0.1s; }
.sidebar-links li:nth-child(2) { animation-delay: 0.15s; }
.sidebar-links li:nth-child(3) { animation-delay: 0.2s; }
.sidebar-links li:nth-child(4) { animation-delay: 0.25s; }
.sidebar-links li:nth-child(5) { animation-delay: 0.3s; }
.sidebar-links li:nth-child(6) { animation-delay: 0.35s; }
