* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9f9f9;
    color: #0f0f0f;
    line-height: 1.6;
    padding-top: 0;
    margin: 0;
    overflow-x: hidden;
}

/* Enhanced Daily Verse Notification */
.daily-verse-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4a90e2 0%, #7b68ee 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    max-width: 320px;
    z-index: 10000;
    transform: translateX(360px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.daily-verse-notification.show {
    transform: translateX(0);
    animation: verseGlow 2s ease-in-out infinite alternate;
}

@keyframes verseGlow {
    0% { box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
    100% { box-shadow: 0 12px 32px rgba(139, 69, 19, 0.4); }
}

.verse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.verse-title {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.verse-title i {
    animation: bookPulse 2s ease-in-out infinite;
}

@keyframes bookPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.verse-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
    padding: 6px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verse-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.verse-content {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-style: italic;
}

.verse-reference {
    font-size: 12px;
    opacity: 0.95;
    font-weight: 600;
    text-align: right;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.verse-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0 0 12px 12px;
    animation: progressFill 10s linear;
}

@keyframes progressFill {
    0% { width: 100%; }
    100% { width: 0%; }
}

/* Navigation Bar - YouTube Style */
.navbar {
    background: #ffffff;
    padding: 0 16px;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 56px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-icon {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.menu-icon:hover {
    background: #f2f2f2;
}

.menu-icon i {
    color: #606060;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #8b4513;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    transition: transform 0.2s ease;
    color: #8b4513;
}

.logo:hover i {
    transform: scale(1.1);
}

.nav-center {
    flex: 1;
    max-width: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 40px;
}

.search-container {
    display: flex;
    width: 100%;
    max-width: 540px;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 0 16px;
    height: 40px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 20px 0 0 20px;
    outline: none;
    font-size: 16px;
    background: #ffffff;
}

.search-input:focus {
    border-color: #065fd4;
}

.search-btn {
    width: 64px;
    height: 40px;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 20px 20px 0;
    background: #f8f8f8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background: #f0f0f0;
}

.search-btn i {
    color: #606060;
}

.mic-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f8f8;
    border: none;
    margin-left: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    position: relative;
}

.mic-btn:hover {
    background: #f0f0f0;
}

.mic-btn i {
    color: #606060;
}

.mic-btn.recording {
    background: #ff4444;
    animation: pulse 1.5s infinite;
}

.mic-btn.recording i {
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0); }
}

.voice-text {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.voice-text.show {
    opacity: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.nav-icon:hover {
    background: #f2f2f2;
}

.nav-icon i {
    color: #606060;
}

.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: #ff0000;
    border-radius: 50%;
}

.profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #065fd4;
    color: white;
    font-weight: 500;
    font-size: 14px;
}

/* Upload Button with Dropdown */
.upload-container {
    position: relative;
    display: inline-block;
}

.upload-btn {
    background: transparent;
    color: #606060;
    border: none;
    padding: 8px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
}

.upload-btn:hover {
    background: #f2f2f2;
    color: #404040;
}

.upload-btn i {
    color: inherit;
}

/* Video Upload Dropdown */
.video-upload-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 16px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 200px;
    border: 1px solid #e5e5e5;
}

.upload-container:hover .video-upload-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    font-size: 16px;
    font-weight: 600;
    color: #0f0f0f;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-header i {
    color: #8b4513;
}

.upload-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #0f0f0f;
    font-size: 14px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.upload-option:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.upload-option i {
    width: 20px;
    color: #606060;
    font-size: 16px;
}

.upload-option:hover i {
    color: #8b4513;
}

.upload-info {
    font-size: 11px;
    color: #909090;
    margin-top: 2px;
    padding-left: 32px;
}

.upload-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 8px 0;
}

/* Grid Menu - Auto-fitting and responsive */
.grid-menu {
    position: fixed;
    top: 65px;
    right: 70px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 28px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 280px;
    max-width: 480px;
    width: auto;
}

.grid-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.grid-apps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 3vw, 24px);
    width: 100%;
    justify-content: center;
    align-items: center;
}

.grid-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 2.5vw, 20px);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #0f0f0f;
    min-height: 90px;
    aspect-ratio: 1;
    text-align: center;
}

.grid-app:hover {
    background: #f8f9fa;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.grid-app i {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: clamp(8px, 1.5vw, 12px);
    color: #8b4513;
    transition: transform 0.2s ease;
}

.grid-app:hover i {
    transform: scale(1.1);
}

.grid-app span {
    font-size: clamp(11px, 2vw, 14px);
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

/* Notification Menu - Larger */
.notification-menu {
    position: fixed;
    top: 65px;
    right: 115px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    width: 380px;
    max-height: 450px;
    overflow-y: auto;
}

.notification-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 8px;
    margin-bottom: 4px;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #8b4513;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
}

.notification-text {
    font-size: 13px;
    color: #606060;
    line-height: 1.4;
    margin-bottom: 4px;
}

.notification-time {
    font-size: 12px;
    color: #909090;
}

/* Profile Menu - Larger */
.profile-menu {
    position: fixed;
    top: 65px;
    right: 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    width: 320px;
}

.profile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #8b4513;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.profile-info h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.profile-info p {
    font-size: 14px;
    color: #606060;
}

.profile-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 8px;
    font-size: 15px;
}

.profile-item:hover {
    background: #f8f9fa;
}

.profile-item i {
    width: 24px;
    color: #606060;
}

/* Main Container */
.main-container {
    max-width: 1750px;
    margin: 80px auto 24px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 402px;
    gap: 24px;
    align-items: start;
}

/* Left Side - Player Section */
.player-section {
    background: transparent;
}

/* Custom Video Player - Removed play button overlay */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 12px;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ad overlay styles */
.ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

.ad-overlay.active {
    display: flex;
}

.ad-content-overlay {
    background: linear-gradient(135deg, #4a90e2 0%, #7b68ee 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.ad-title-overlay {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.ad-description-overlay {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.4;
}

.ad-timer {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.ad-skip-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
}

.ad-skip-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.ad-skip-btn:hover {
    background: white;
    transform: scale(1.05);
}

.ad-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.1s ease;
    border-radius: 0 0 16px 16px;
}

/* Video controls remain visible during ads */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 16px 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 20;
}

.video-container:hover .video-controls {
    transform: translateY(0);
}

/* Ad indicator */
.ad-indicator {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ffd700;
    color: #333;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 16;
    display: none;
    animation: adPulse 2s ease-in-out infinite;
}

.ad-indicator.active {
    display: block;
}

@keyframes adPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
}

.progress-filled {
    height: 100%;
    background: #8b4513;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #8b4513;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-bar:hover .progress-handle {
    opacity: 1;
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    font-size: 16px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.time-display {
    color: white;
    font-size: 14px;
    margin-left: auto;
    font-family: monospace;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-filled {
    height: 100%;
    background: white;
    border-radius: 2px;
    width: 100%;
}

.live-indicator {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #dc3545;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    z-index: 10;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.quality-selector {
    position: absolute;
    bottom: 80px;
    left: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.settings-btn {
    position: absolute;
    bottom: 80px;
    right: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    z-index: 15;
}

.settings-btn:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: scale(1.1);
}

/* Player Logo - Auto right positioning with corner adjustment */
.player-logo {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 60px;
    height: 60px;
    background: rgba(139, 69, 19, 0.9);
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.player-logo:hover {
    background: rgba(139, 69, 19, 1);
    border-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.logo-text {
    color: white;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.logo-icon {
    font-size: 16px;
    margin-bottom: 2px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Video Info */
.video-info {
    margin-bottom: 16px;
    padding: 12px 0;
}

.video-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #0f0f0f;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.video-stats {
    color: #606060;
    font-size: 14px;
}

.video-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f2f2f2;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #0f0f0f;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.action-button:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-button.liked {
    background: #8b4513;
    color: #ffffff;
}

.action-button.saved {
    background: #228b22;
    color: #ffffff;
}

.action-button i {
    color: #606060;
}

.action-button.liked i,
.action-button.saved i {
    color: #ffffff;
}

/* Channel Info */
.channel-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin: 12px 0 16px 0;
}

.channel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #8b4513, #a0522d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.channel-details {
    flex: 1;
}

.channel-name {
    font-size: 16px;
    font-weight: 500;
    color: #0f0f0f;
    margin-bottom: 2px;
}

.channel-subscribers {
    font-size: 12px;
    color: #606060;
}

.subscribe-button {
    background: #8b4513;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(139, 69, 19, 0.2);
}

.subscribe-button:hover {
    background: #a0522d;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3);
}

.subscribe-button.subscribed {
    background: #e5e5e5;
    color: #0f0f0f;
    box-shadow: none;
}

.subscribe-button.subscribed:hover {
    background: #d5d5d5;
}

/* Description */
.video-description {
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 1px solid #e5e5e5;
}

.video-description:hover {
    background: #f9f9f9;
}

.description-content {
    color: #0f0f0f;
    font-size: 14px;
    line-height: 1.4;
    max-height: 3em;
    overflow: hidden;
}

.show-more {
    color: #8b4513;
    cursor: pointer;
    font-weight: 500;
    margin-top: 8px;
}

/* Comments Section */
.comments-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}

.comments-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.comments-count {
    font-size: 20px;
    font-weight: 600;
    color: #0f0f0f;
}

.sort-comments {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #8b4513;
    cursor: pointer;
}

.comment-form {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    align-items: flex-start;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #8b4513;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.comment-input-container {
    flex: 1;
}

.comment-input {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    font-size: 14px;
    background: transparent;
    transition: border-color 0.2s ease;
}

.comment-input:focus {
    border-bottom: 2px solid #8b4513;
}

.comment-input::placeholder {
    color: #909090;
}

.comment-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    justify-content: flex-end;
}

.comment-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-btn {
    background: transparent;
    color: #606060;
}

.cancel-btn:hover {
    background: #f2f2f2;
}

.post-btn {
    background: #8b4513;
    color: white;
}

.post-btn:hover {
    background: #a0522d;
}

.post-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Comments List */
.comments-list {
    margin-top: 24px;
}

.comment {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding: 8px 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.comment-author {
    font-size: 13px;
    font-weight: 500;
    color: #0f0f0f;
}

.comment-time {
    font-size: 12px;
    color: #606060;
}

.comment-text {
    font-size: 14px;
    color: #0f0f0f;
    margin-bottom: 8px;
    line-height: 1.4;
}

.comment-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-action {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 12px;
    color: #606060;
    transition: all 0.2s ease;
}

.comment-action:hover {
    background: #f2f2f2;
}

.comment-action.liked {
    color: #8b4513;
}

.playlist-panel {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.playlist-panel::-webkit-scrollbar {
    width: 8px;
}

.playlist-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.playlist-panel::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.playlist-panel::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Ad Section */
.ad-section {
    margin-bottom: 24px;
}

.ad-label {
    font-size: 12px;
    color: #606060;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 500;
}

.ad-content {
    background: linear-gradient(135deg, #4a90e2 0%, #7b68ee 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.ad-content:hover {
    transform: translateY(-2px);
}

.ad-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.ad-content:hover::before {
    transform: translateX(100%);
}

.ad-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ad-description {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

/* Playlist Section - Compact and Adjusted */
.playlist-section {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
}

.playlist-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0f0f0f;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.playlist-item {
    display: flex;
    gap: 10px;
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 4px;
    border: 1px solid transparent;
    position: relative;
}

.playlist-item:last-child {
    margin-bottom: 0;
}

.playlist-item:hover {
    background: #f9f9f9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #e5e5e5;
}

.playlist-item.active {
    background: #f0f5ff;
    border: 1px solid #8b4513;
    box-shadow: 0 2px 12px rgba(139, 69, 19, 0.2);
}

.playlist-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #8b4513;
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.playlist-item.active::before {
    opacity: 1;
}

.playlist-item.active .playlist-title::after {
    content: " ▶";
    color: #8b4513;
    font-size: 10px;
    animation: playingPulse 1.5s ease-in-out infinite;
}

@keyframes playingPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.playlist-thumbnail {
    width: 120px;
    height: 68px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: #f2f2f2;
    transition: transform 0.2s ease;
}

.playlist-item:hover .playlist-thumbnail {
    transform: scale(1.02);
}

.playlist-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.playlist-item:hover .playlist-thumbnail img {
    opacity: 0.9;
}

.playlist-duration {
    position: absolute;
    bottom: 3px;
    right: 3px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.playlist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding-left: 2px;
}

.playlist-title {
    font-size: 13px;
    font-weight: 500;
    color: #0f0f0f;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.playlist-item:hover .playlist-title {
    color: #8b4513;
}

.playlist-item.active .playlist-title {
    color: #8b4513;
    font-weight: 600;
}

.playlist-channel {
    font-size: 11px;
    color: #606060;
    margin-bottom: 2px;
    font-weight: 500;
}

.playlist-views {
    font-size: 11px;
    color: #909090;
    display: flex;
    align-items: center;
    gap: 4px;
}

.playlist-views::before {
    content: "👁";
    font-size: 10px;
}

/* Additional Playlist Container - More Compact */
.additional-playlist {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 12px;
}

/* Auto Play Controls - Compact */
.autoplay-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 12px;
    padding: 6px 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border-top: 1px solid #e5e5e5;
}

.autoplay-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #606060;
    font-weight: 500;
}

.toggle-switch {
    width: 36px;
    height: 18px;
    background: #ccc;
    border-radius: 9px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch.active {
    background: #8b4513;
}

.toggle-slider {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(18px);
}

/* File input hidden */
.file-input {
    display: none;
}

/* Share Modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-modal.active {
    opacity: 1;
    visibility: visible;
}

.share-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.share-modal.active .share-content {
    transform: translateY(0);
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #606060;
    cursor: pointer;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: #0f0f0f;
}

.share-option:hover {
    background: #f8f9fa;
}

.share-option i {
    font-size: 24px;
    margin-bottom: 8px;
}

.share-url {
    display: flex;
    gap: 8px;
    align-items: center;
}

.share-url input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

.copy-btn {
    padding: 12px 16px;
    background: #8b4513;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.copy-btn:hover {
    background: #a0522d;
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 20px 20px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1002;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-container {
        grid-template-columns: 1fr 360px;
        gap: 20px;
    }

    .playlist-thumbnail {
        width: 100px;
        height: 56px;
    }

    .playlist-item {
        padding: 5px 6px;
        margin-bottom: 3px;
    }

    .playlist-title {
        font-size: 12px;
    }

    .playlist-channel,
    .playlist-views {
        font-size: 10px;
    }

    .player-logo {
        width: 55px;
        height: 55px;
        right: 16px;
        top: 16px;
    }

    .logo-text {
        font-size: 7px;
    }
}

@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .playlist-panel {
        order: 2;
    }

    .player-section {
        order: 1;
    }

    .playlist-item {
        padding: 8px 10px;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        margin-bottom: 8px;
        background: #fafafa;
    }

    .playlist-item:hover {
        background: #f0f0f0;
        border-color: #d0d0d0;
    }

    .playlist-item.active {
        background: #f0f5ff;
        border-color: #8b4513;
    }

    .playlist-thumbnail {
        width: 120px;
        height: 68px;
    }

    .playlist-title {
        font-size: 13px;
    }

    .playlist-section,
    .additional-playlist {
        padding: 14px;
        margin-bottom: 18px;
    }

    .player-logo {
        width: 50px;
        height: 50px;
        right: 16px;
        top: 16px;
    }

    .logo-text {
        font-size: 6px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 12px;
    }

    .nav-center {
        display: none;
    }

    .nav-left {
        gap: 12px;
    }

    .logo {
        font-size: 18px;
    }

    .main-container {
        margin: 0;
        padding: 0;
        gap: 0;
        display: block;
    }

    .player-section {
        order: 1;
    }

    .video-container {
        border-radius: 0;
        margin-bottom: 0;
        padding-bottom: 56.25%;
    }

    .player-logo {
        width: 45px;
        height: 45px;
        right: 16px;
        top: 12px;
    }

    .logo-text {
        font-size: 5px;
    }

    .logo-icon {
        font-size: 14px;
    }

    .daily-verse-notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(100px);
    }

    .daily-verse-notification.show {
        transform: translateY(0);
    }

    /* Mobile responsive menus */
    .grid-menu {
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }

    .notification-menu {
        right: 10px;
        left: 10px;
        width: auto;
    }

    .profile-menu {
        right: 10px;
        left: 10px;
        width: auto;
    }

    /* Mobile upload dropdown */
    .video-upload-dropdown {
        right: -50px;
        min-width: 180px;
        padding: 12px;
    }

    .dropdown-header {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .upload-option {
        padding: 8px 4px;
        font-size: 13px;
    }

    .upload-info {
        font-size: 10px;
        padding-left: 28px;
    }

    .playlist-thumbnail {
        width: 80px;
        height: 45px;
    }

    .playlist-item {
        padding: 4px 6px;
        margin-bottom: 2px;
        gap: 8px;
    }

    .playlist-title {
        font-size: 11px;
        margin-bottom: 2px;
    }

    .playlist-channel {
        font-size: 9px;
        margin-bottom: 1px;
    }

    .playlist-views {
        font-size: 9px;
    }

    .playlist-section,
    .additional-playlist {
        padding: 10px;
        margin-bottom: 12px;
    }

    .playlist-header {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .autoplay-controls {
        padding: 4px 6px;
        margin-top: 6px;
        margin-bottom: 8px;
    }

    .autoplay-toggle {
        font-size: 11px;
    }

    .toggle-switch {
        width: 30px;
        height: 15px;
        border-radius: 7.5px;
    }

    .toggle-slider {
        width: 11px;
        height: 11px;
        top: 2px;
        left: 2px;
    }

    .toggle-switch.active .toggle-slider {
        transform: translateX(15px);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 8px;
    }

    .player-logo {
        width: 40px;
        height: 40px;
        right: 16px;
        top: 10px;
    }

    .logo-text {
        font-size: 4px;
    }

    .logo-icon {
        font-size: 12px;
    }

    .quality-selector {
        right: 60px;
        top: 8px;
        font-size: 10px;
        padding: 3px 6px;
    }

    .live-indicator {
        left: 8px;
        top: 8px;
        font-size: 10px;
        padding: 3px 6px;
    }

    .daily-verse-notification {
        bottom: 8px;
        right: 8px;
        max-width: 200px;
        padding: 8px;
        transform: translateX(220px);
    }

    .verse-title {
        font-size: 10px;
    }

    .verse-title i {
        font-size: 9px;
    }

    .verse-content {
        font-size: 9px;
        line-height: 1.2;
        -webkit-line-clamp: 2;
        margin-bottom: 4px;
    }

    .verse-reference {
        font-size: 7px;
    }

    .verse-close {
        width: 16px;
        height: 16px;
        font-size: 10px;
        margin-left: 6px;
    }
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.icon-small {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

html {
    scroll-behavior: smooth;
}

.action-button:focus,
.comment-btn:focus,
.subscribe-button:focus {
    outline: 2px solid #8b4513;
    outline-offset: 2px;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ===== SIDEBAR OVERLAY ===== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== SIDEBAR ACTIVE STATE ===== */
.sidebar {
    position: fixed;
    left: -280px;
    top: 56px;
    width: 280px;
    height: calc(100vh - 56px);
    background: #ffffff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
    transition: left 0.15s ease-out;
    border-right: 1px solid #e5e7eb;
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar.active {
    left: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 15px;
    color: #374151;
    user-select: none;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    font-weight: 500;
    min-height: 48px;
    border-radius: 0;
    position: relative;
}

.menu-item:hover,
.menu-item:focus {
    background: linear-gradient(90deg, #f8fafc 0%, #eff6ff 100%);
    color: #1f2937;
    transform: translateX(3px);
    outline: none;
}

.menu-item > div {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.menu-item i {
    width: 20px;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-align: center;
}

.menu-item:hover i,
.menu-item:focus i {
    transform: scale(1.1);
    filter: brightness(1.2) saturate(1.3);
}

.menu-item .arrow {
    font-size: 14px;
    color: #9ca3af;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.menu-item.active .arrow {
    transform: rotate(90deg);
    color: #0066cc;
}

/* ===== COLORFUL SIDEBAR ICONS ===== */
/* Dashboard Icons */
.fa-home { color: #10b981; }
.fa-tachometer-alt { color: #3b82f6; }
.fa-user { color: #8b5cf6; }
.fa-book { color: #f59e0b; }
.fa-users { color: #06b6d4; }
.fa-hand-holding-heart { color: #ef4444; }
.fa-chart-line { color: #84cc16; }

/* Bible Education Icons */
.fa-bible { color: #7c3aed; }
.fa-university { color: #dc2626; }
.fa-book-reader { color: #059669; }
.fa-chalkboard-teacher { color: #ea580c; }
.fa-video { color: #e11d48; }
.fa-question-circle { color: #0891b2; }
.fa-book-open { color: #65a30d; }
.fa-archive { color: #7c2d12; }
.fa-headphones { color: #9333ea; }
.fa-graduation-cap { color: #0369a1; }
.fa-certificate { color: #be123c; }
.fa-cross { color: #166534; }

/* Church Network Icons */
.fa-church { color: #b45309; }
.fa-edit { color: #4338ca; }
.fa-user-plus { color: #047857; }
.fa-address-book { color: #c2410c; }
.fa-globe { color: #0369a1; }
.fa-calendar-alt { color: #be123c; }
.fa-user-tie { color: #166534; }
.fa-newspaper { color: #7e22ce; }
.fa-handshake { color: #10b981; }
.fa-map-marker-alt { color: #ef4444; }

/* Community and Communication Icons */
.fa-hands-helping { color: #059669; }
.fa-heart { color: #ef4444; }
.fa-users-cog { color: #f59e0b; }
.fa-child { color: #f59e0b; }
.fa-user-friends { color: #06b6d4; }
.fa-female { color: #ec4899; }
.fa-running { color: #84cc16; }
.fa-male { color: #3b82f6; }
.fa-comments { color: #2563eb; }
.fa-envelope { color: #dc2626; }
.fa-comment-dots { color: #8b5cf6; }
.fa-phone-alt { color: #059669; }
.fa-praying-hands { color: #7c3aed; }
.fa-microphone-alt { color: #ea580c; }
.fa-plus-circle { color: #10b981; }

/* Media Icons */
.fa-play-circle { color: #e11d48; }
.fa-tv { color: #0891b2; }
.fa-broadcast-tower { color: #dc2626; }
.fa-pray { color: #7c3aed; }
.fa-podcast { color: #ea580c; }
.fa-microphone { color: #059669; }
.fa-stream { color: #3b82f6; }
.fa-film { color: #8b5cf6; }

/* Prayer & Worship Icons */
.fa-door-open { color: #3b82f6; }
.fa-hands { color: #10b981; }
.fa-globe-americas { color: #0369a1; }
.fa-comment-alt { color: #06b6d4; }
.fa-music { color: #8b5cf6; }
.fa-calendar-day { color: #f59e0b; }
.fa-wall-brick { color: #6b7280; }

/* Ministry & Services Icons */
.fa-dove { color: #7c3aed; }
.fa-tools { color: #ea580c; }
.fa-user-md { color: #10b981; }
.fa-world { color: #0369a1; }
.fa-chart-bar { color: #f59e0b; }
.fa-language { color: #8b5cf6; }

/* Support & Giving Icons */
.fa-donate { color: #10b981; }
.fa-dollar-sign { color: #f59e0b; }
.fa-credit-card { color: #3b82f6; }
.fa-percentage { color: #f59e0b; }
.fa-first-aid { color: #ef4444; }
.fa-medkit { color: #059669; }
.fa-heart-broken { color: #dc2626; }

/* Other Icons */
.fa-project-diagram { color: #8b5cf6; }
.fa-school { color: #dc2626; }
.fa-tint { color: #0891b2; }
.fa-soap { color: #65a30d; }
.fa-building { color: #7c2d12; }
.fa-briefcase { color: #9333ea; }
.fa-life-ring { color: #b45309; }
.fa-search { color: #047857; }
.fa-lightbulb { color: #c2410c; }
.fa-cogs { color: #4338ca; }
.fa-business-time { color: #166534; }
.fa-history { color: #0369a1; }
.fa-eye { color: #be123c; }
.fa-telescope { color: #7e22ce; }
.fa-bullseye { color: #dc2626; }
.fa-quote-left { color: #8b5cf6; }
.fa-cog { color: #6b7280; }
.fa-user-edit { color: #7e22ce; }
.fa-shield-alt { color: #dc2626; }
.fa-bell { color: #7c3aed; }
.fa-info-circle { color: #0891b2; }
.fa-comment { color: #ea580c; }
.fa-folder-open { color: #059669; }
.fa-download { color: #10b981; }

.submenu {
    display: none;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    animation: slideDown 0.25s ease;
    border-left: 3px solid #0066cc;
    margin: 0 8px;
    border-radius: 0 8px 8px 0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.submenu.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
    }
}

.submenu .menu-item {
    padding-left: 44px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    min-height: 42px;
}

.submenu .menu-item:hover,
.submenu .menu-item:focus {
    background: linear-gradient(90deg, #ffffff 0%, #f0f9ff 100%);
    color: #1f2937;
    padding-left: 46px;
    outline: none;
}

.submenu .menu-item i {
    width: 18px;
    font-size: 16px;
}

.submenu .menu-item:hover i,
.submenu .menu-item:focus i {
    transform: scale(1.1);
    filter: brightness(1.2) saturate(1.3);
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 3px;
}

.sidebar-content:hover::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

.sidebar-content:hover::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Menu button active state */
.menu-button.active {
    background-color: #f2f2f2;
}

.menu-icon.active {
    background-color: #f2f2f2;
}

.sidebar-section {
    padding: 0;
    margin-bottom: 8px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.5px;
    margin: 18px 20px 10px 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-transform: capitalize;
}

.sidebar-divider {
    width: calc(100% - 40px);
    height: 1px;
    background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 50%, #e5e7eb 100%);
    margin: 10px 20px 14px 20px;
}

/* Sidebar content wrapper */
.sidebar-content {
    padding: 8px 0;
}

/* Responsive adjustments for sidebar */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        max-width: 280px;
    }

    .sidebar-overlay.active {
        backdrop-filter: blur(2px);
    }
}
