        :root {
            --primary: #2c6e49;
            --secondary: #4c956c;
            --accent: #fefee3;
            --light: #fefee3;
            --dark: #1d3557;
            --text: #2d3748;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --bg-color: #f5f7fa;
            --card-bg: white;
            --header-bg: white;
            --footer-bg: transparent;
            --input-bg: white;
            --table-header-bg: #2c6e49;
            --table-hover: #f8f9fa;
        }

        .dark-mode {
            --primary: #4c956c;
            --secondary: #2c6e49;
            --accent: #2d3748;
            --light: #2d3748;
            --dark: #fefee3;
            --text: #e2e8f0;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            --bg-color: #1a202c;
            --card-bg: #2d3748;
            --header-bg: #2d3748;
            --footer-bg: transparent;
            --input-bg: #2d3748;
            --table-header-bg: #4c956c;
            --table-hover: #4a5568;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Oswald', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background: var(--bg-color);
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
            transition: all 0.3s ease;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        header {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px;
            background: var(--header-bg);
            border-radius: 15px;
            box-shadow: var(--shadow);
            position: relative;
            justify-content: space-between;
            display: flex;
        }
        
        .header_right {
            display:flex;
            gap:15px;
            align-items: center;
            justify-content: center;
        }

        .theme-toggle {
            background: var(--primary);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer !important;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }
        
        a.murottal {
            background: var(--primary);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer !important;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            padding:0;
            text-decoration: none;
        }
        a.quran {
            background: var(--primary);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer !important;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            padding:0;
            text-decoration: none;
        }

        .theme-toggle:hover, a.quran:hover, a.murottal:hover {
            transform: translateY(-5%) scale(1.1);
        }

        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 10px;
        }

        .logo i {
            font-size: 2.5rem;
            color: var(--primary);
        }

        h1 {
            font-family: "Oswald", sans-serif;
            font-optical-sizing: auto;
            font-weight: 500;
            font-style: normal;
            color: var(--primary);
            font-size: 2.2rem;
            margin-bottom: 0px;
            text-align:left;
            line-height:1;
        }

        .subtitle {
            color: var(--secondary);
            font-size: 1.1rem;
        }

        .search-container {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .search-box {
            flex: 1;
            min-width: 300px;
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 15px 50px 15px 20px;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            background: var(--input-bg);
            color: var(--text);
        }

        .search-box input:focus {
            outline: none;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .search-box i {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--secondary);
            font-size: 1.2rem;
        }

        .period-selector {
            display: flex;
            gap: 10px;
            align-items: center;
            background: var(--card-bg);
            padding: 10px 20px;
            border-radius: 50px;
            box-shadow: var(--shadow);
        }

        .period-selector select, .period-selector input {
            padding: 10px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.9rem;
            background: var(--input-bg);
            color: var(--text);
        }

        .btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 50px;
            cursor: pointer !important;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: var(--shadow);
        }

        .btn:hover {
            background: var(--secondary);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .btn-secondary {
            background: var(--secondary);
        }

        .city-info {
            background: var(--card-bg);
            padding: 20px;
            border-radius: 15px;
            margin-bottom: 30px;
            box-shadow: var(--shadow);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        .city-details h2, h2 {
            font-family: "Oswald", sans-serif;
            font-optical-sizing: auto;
            font-weight: 500;
            font-style: normal;
            color: var(--primary);
            margin-bottom: 5px;
        }

        .city-details p {
            color: var(--secondary);
            font-size: 1.1rem;
        }

        .current-time {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark);
        }

        .prayer-schedule {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .prayer-card {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .prayer-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        .prayer-card.active {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
        }

        .prayer-card.active .prayer-time {
            color: white;
        }

        .prayer-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--primary);
        }

        .prayer-card.active .prayer-icon {
            color: white;
        }

        .prayer-name {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .prayer-time {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
        }

        .monthly-schedule {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 25px;
            box-shadow: var(--shadow);
            margin-bottom: 30px;
            overflow-x: auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th, td {
            padding: 12px 15px;
            text-align: center;
            border-bottom: 1px solid #e2e8f0;
        }

        th {
            background: var(--table-header-bg);
            color: white;
            font-weight: 600;
        }

        tr:hover {
            background: var(--table-hover);
        }

        .download-section {
            text-align: center;
            margin-top: 30px;
        }

        .hidden {
            display: none;
        }

        .suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: var(--card-bg);
            border-radius: 0 0 15px 15px;
            box-shadow: var(--shadow);
            z-index: 10;
            max-height: 200px;
            overflow-y: auto;
        }

        .suggestion-item {
            padding: 12px 20px;
            cursor: pointer;
            border-bottom: 1px solid #e2e8f0;
            transition: background 0.2s;
            color: var(--text);
        }

        .suggestion-item:hover {
            background: var(--table-hover);
        }

        .loading {
            text-align: center;
            padding: 20px;
            color: var(--secondary);
        }

        .error {
            text-align: center;
            padding: 20px;
            background: #ffe6e6;
            color: #d63031;
            border-radius: 10px;
            margin: 20px 0;
        }

        .dark-mode .error {
            background: #5c2a2a;
            color: #ff9a9a;
        }

        footer {
            text-align: center;
            margin-top: 50px;
            padding: 20px;
            color: var(--secondary);
            font-size: 0.9rem;
        }

        footer a {
            color: var(--primary);
        }

        @media (max-width: 768px) {
            .search-container {
                flex-direction: column;
            }
            
            .period-selector {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            h1 {
                font-size:1.0rem;
                line-height: 1;
            }
            .subtitle {display:none;}
            
            .header_right {
                display: flex;
                gap: 10px;
                align-items: center;
                justify-content: center;
                margin-left:10px;
            }
            
            .city-info {
                flex-direction: column;
                text-align: center;
            }
            
            .prayer-schedule {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            .theme-toggle, a.murottal, a.quran {
                position: relative;
                top: auto;
                right: auto;
                transform: none;
                margin: 10px auto;
            }
            
            .theme-toggle, a.murottal, a.quran {
                width:30px;
                height:30px;
                
            }
            .logo i {
            font-size: 1.8rem;
            }
        }