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

        :root {
            --primary: #4caf50;
            --primary-dark: #388e3c;
            --secondary: #2196f3;
            --danger: #f44336;
            --warning: #ff9800;
            --dark: #333;
            --light: #f5f5f5;
            --gray: #666;
            --card-border: #f44336;
        }

        body {
            font-family: 'Cairo', sans-serif;
            background: white;
            color: var(--dark);
            min-height: 100vh;
            transition: background-color 0.3s, color 0.3s;
            padding-top: 70px;
        }

        body.dark-mode {
            background: #1a1a1a;
            color: white;
        }

        body.dark-mode .match-card,
        body.dark-mode .sidebar,
        body.dark-mode .contact-menu,
        body.dark-mode .chat-bot,
        body.dark-mode .bottom-nav,
        body.dark-mode .main-article,
        body.dark-mode .news-full-article,
        body.dark-mode .schedule-header,
        body.dark-mode .article-reader {
            background: #2d2d2d;
        }

        .top-header {
            background: #000000;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            border-bottom: 3px solid var(--primary);
        }

        .logo img {
            height: 45px;
            width: auto;
        }

        .right-section {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .menu-btn {
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 5px;
            border-radius: 4px;
        }

        .menu-btn span {
            width: 22px;
            height: 2px;
            background: white;
            display: block;
            border-radius: 2px;
        }

        .theme-btn {
            background: none;
            border: none;
            cursor: pointer;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* ── أيقونة الجرس ── */
        .notif-btn {
            background: none;
            border: none;
            cursor: pointer;
            position: relative;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s;
        }
        .notif-btn:hover { background: rgba(255,255,255,0.1); }
        .notif-btn i { color: white; font-size: 20px; }
        .notif-btn .notif-dot {
            position: absolute;
            top: 4px;
            right: 4px;
            width: 8px;
            height: 8px;
            background: #f44336;
            border-radius: 50%;
            border: 2px solid #000;
            display: none;
        }
        .notif-btn.active .notif-dot { display: block; }

        .message-trigger {
            position: fixed;
            bottom: 90px;
            left: 20px;
            z-index: 98;
            background: var(--primary);
            width: 55px;
            height: 55px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            border: 2px solid white;
        }

        .message-trigger i {
            color: white;
            font-size: 26px;
        }

        .message-trigger .badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--danger);
            color: white;
            border-radius: 50%;
            width: 25px;
            height: 25px;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid white;
            font-weight: 700;
        }

        .chat-bot {
            position: fixed;
            bottom: 150px;
            left: 20px;
            width: 280px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            z-index: 200;
            display: none;
            overflow: hidden;
            border: 2px solid var(--primary);
        }

        .chat-bot.active {
            display: block;
            animation: slideUp 0.3s ease;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .chat-header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 12px 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-weight: 700;
            font-size: 14px;
        }

        .chat-header button {
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            cursor: pointer;
            width: 28px;
            height: 28px;
            border-radius: 50%;
        }

        .chat-messages {
            height: 280px;
            overflow-y: auto;
            padding: 12px;
            background: #f9f9f9;
        }

        body.dark-mode .chat-messages {
            background: #1e1e2e;
        }

        .message {
            margin-bottom: 12px;
            display: flex;
            flex-direction: column;
        }

        .message.bot { align-items: flex-start; }
        .message.user { align-items: flex-end; }

        .message-content {
            max-width: 85%;
            padding: 8px 12px;
            border-radius: 18px;
            font-size: 12px;
            line-height: 1.5;
            white-space: pre-line;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .bot .message-content {
            background: #e9e9eb;
            color: var(--dark);
            border-bottom-left-radius: 5px;
        }

        .user .message-content {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border-bottom-right-radius: 5px;
        }

        body.dark-mode .bot .message-content {
            background: #3a3a4a;
            color: white;
        }

        .message-time {
            font-size: 9px;
            color: var(--gray);
            margin-top: 3px;
        }

        .chat-input-area {
            display: flex;
            padding: 10px;
            background: white;
            border-top: 1px solid #eee;
            gap: 8px;
        }

        body.dark-mode .chat-input-area {
            background: #2d2d3d;
            border-top-color: #444;
        }

        .chat-input-area input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 25px;
            outline: none;
            font-family: 'Cairo', sans-serif;
            font-size: 12px;
        }

        .chat-input-area input:focus {
            border-color: var(--primary);
        }

        body.dark-mode .chat-input-area input {
            background: #3d3d4d;
            border-color: #555;
            color: white;
        }

        .chat-input-area button {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            cursor: pointer;
        }

        .quick-replies {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            padding: 8px;
            background: white;
            border-top: 1px solid #eee;
        }

        body.dark-mode .quick-replies {
            background: #2d2d3d;
            border-top-color: #444;
        }

        .quick-reply-btn {
            background: #f0f0f0;
            border: none;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 10px;
            cursor: pointer;
            color: var(--dark);
            font-family: 'Cairo', sans-serif;
        }

        .sidebar {
            position: fixed;
            right: -280px;
            top: 0;
            width: 260px;
            height: 100vh;
            background: white;
            box-shadow: -2px 0 10px rgba(0,0,0,0.1);
            z-index: 200;
            transition: right 0.3s;
            display: flex;
            flex-direction: column;
        }

        .sidebar.active { right: 0; }

        .sidebar-header {
            padding: 20px;
            border-bottom: 1px solid #eee;
            background: #000000;
            color: white;
            text-align: center;
        }

        .sidebar-header img {
            height: 50px;
            width: auto;
            margin-bottom: 10px;
        }

        .sidebar-title {
            font-size: 20px;
            font-weight: 900;
            color: white;
        }

        .sidebar-item {
            padding: 15px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            border-right: 3px solid transparent;
            font-size: 14px;
        }

        .sidebar-item.active {
            background: #f0f0f0;
            border-right-color: var(--primary);
        }

        body.dark-mode .sidebar-item.active {
            background: #3d3d3d;
        }

        .sidebar-footer {
            padding: 20px;
            border-top: 1px solid #eee;
            margin-top: auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .contact-btn, .guide-btn {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .contact-btn { background: var(--primary); color: white; }
        .guide-btn { background: var(--secondary); color: white; }

        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 150;
            display: none;
        }

        .sidebar-overlay.active { display: block; }

        .contact-menu {
            position: fixed;
            bottom: -250px;
            left: 0;
            right: 0;
            background: white;
            border-radius: 20px 20px 0 0;
            padding: 20px;
            z-index: 250;
            transition: bottom 0.3s;
        }

        .contact-menu.active { bottom: 0; }

        .contact-menu-header {
            text-align: center;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .contact-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: white;
        }

        .whatsapp { background: #25d366; }
        .telegram { background: #0088cc; }
        .email { background: linear-gradient(135deg, #e74c3c, #c0392b); }

        .content-page {
            display: none;
            padding: 15px;
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
        }

        .content-page.active { display: block; }

        .main-article {
            background: white;
            border-radius: 15px;
            padding: 25px;
            margin: 20px 0;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            border: 1px solid var(--card-border);
        }

        .decorated-title {
            text-align: center;
            margin-bottom: 25px;
            font-size: 20px;
            font-weight: 900;
            color: var(--primary);
        }

        .schedule-header {
            border: 2px solid #4caf50;
            border-radius: 8px;
            padding: 8px 12px;
            margin: 10px 0 15px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: white;
            position: sticky;
            top: 80px;
            z-index: 95;
        }

        .schedule-title {
            font-size: 13px;
            font-weight: 700;
            color: #4caf50;
            flex: 1;
            text-align: center;
        }

        .timezone-selector {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .timezone-dropdown {
            padding: 5px 8px;
            border: 1px solid #4caf50;
            border-radius: 6px;
            background: white;
            font-weight: 600;
            font-size: 11px;
            cursor: pointer;
            width: 120px;
        }

        .match-card {
            background: white;
            border: 2px solid var(--card-border);
            padding: 12px;
            margin: 0 0 10px 0;
            cursor: pointer;
            transition: 0.3s;
        }

        .match-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.08);
        }

        .match-teams {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .team {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            flex: 1;
        }

        .team img {
            width: 45px;
            height: 45px;
            object-fit: contain;
        }

        .team-name { font-size: 11px; font-weight: 600; text-align: center; }

        .vs-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            flex: 1;
        }

        .vs { font-size: 11px; font-weight: 700; color: var(--primary); }
        .match-time-center { font-size: 12px; font-weight: 700; }

        .status-badge {
            font-size: 10px;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 15px;
        }
        .status-badge.not-started { background: #ff9800; color: white; }
        .status-badge.live { background: #4caf50; color: white; animation: pulse 1.5s infinite; }
        .status-badge.finished { background: #f44336; color: white; }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .match-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 8px;
            border-top: 2px solid var(--card-border);
            font-size: 10px;
        }
        .channel-info { color: var(--primary); display: flex; align-items: center; gap: 3px; }
        .league-info { display: flex; align-items: center; gap: 3px; }

        .news-full-article {
            background: white;
            border-radius: 16px;
            padding: 18px;
            margin: 15px 0;
            box-shadow: 0 4px 14px rgba(0,0,0,0.06);
            border: 1px solid var(--card-border);
        }

        .news-full-article h1 {
            font-size: 22px;
            font-weight: 900;
            color: var(--primary);
            margin-bottom: 18px;
            text-align: center;
        }

        .news-item { display: none; }
        .news-item.active { display: block; }

        .news-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 12px;
            margin: 12px 0;
        }

        .news-title {
            font-size: 21px;
            font-weight: 900;
            color: var(--primary);
            margin: 10px 0 12px;
            line-height: 1.8;
            text-align: right;
        }

        .news-meta {
            color: var(--gray);
            font-size: 12px;
            margin-bottom: 8px;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .news-description {
            font-size: 15px;
            line-height: 2;
            color: var(--dark);
            margin-top: 10px;
        }

        body.dark-mode .news-description {
            color: #f1f1f1;
        }

        .news-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 10px 18px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 14px;
            margin-top: 14px;
            cursor: pointer;
            border: none;
            font-family: 'Cairo', sans-serif;
            transition: 0.3s;
        }

        .news-link:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 18px rgba(33,150,243,0.18);
        }

        .article-reader {
            background: white;
            border-radius: 18px;
            padding: 16px;
            margin: 15px 0;
            box-shadow: 0 6px 18px rgba(0,0,0,0.08);
            border: 1px solid var(--card-border);
            display: none;
        }

        .article-reader.active {
            display: block;
            animation: fadeIn 0.4s ease;
        }

        .article-reader-topbar {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            margin-bottom: 12px;
        }

        .back-article-btn {
            background: #f3f3f3;
            color: var(--primary);
            border: none;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 15px;
            transition: 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .back-article-btn:hover {
            background: var(--primary);
            color: white;
        }

        .article-reader-hero {
            background: linear-gradient(135deg, #4caf50, #2196f3);
            color: white;
            border-radius: 18px;
            padding: 24px 18px;
            margin-bottom: 18px;
            text-align: center;
            box-shadow: 0 10px 24px rgba(33,150,243,0.16);
        }

        .article-reader-main-title {
            font-size: clamp(22px, 5vw, 31px);
            font-weight: 900;
            line-height: 1.8;
            margin-bottom: 8px;
            word-break: break-word;
        }

        .article-reader-subtitle {
            font-size: 13px;
            opacity: 0.95;
        }

        .article-reader-content {
            line-height: 2.15;
            font-size: 17px;
            text-align: right;
            color: var(--dark);
            word-break: break-word;
        }

        .article-reader-content p {
            margin-bottom: 16px;
        }

        .article-reader-content img {
            max-width: 100%;
            height: auto;
            border-radius: 14px;
            margin: 18px 0;
        }

        .article-reader-content h1,
        .article-reader-content h2,
        .article-reader-content h3,
        .article-reader-content h4 {
            color: var(--primary);
            margin: 16px 0 12px;
            line-height: 1.8;
        }

        .article-reader-content ul,
        .article-reader-content ol {
            padding-right: 20px;
            margin-bottom: 16px;
        }

        .article-reader-content li {
            margin-bottom: 8px;
        }

        .article-reader-source-wrap {
            margin-top: 24px;
            padding-top: 16px;
            border-top: 1px solid #eaeaea;
            text-align: center;
        }

        .article-source-btn {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 10px 22px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 700;
            font-size: 14px;
            transition: 0.3s;
        }

        .article-source-btn:hover {
            background: var(--primary-dark);
        }

        body.dark-mode .article-reader {
            background: #2d2d2d;
        }

        body.dark-mode .article-reader-content {
            color: white;
        }

        body.dark-mode .back-article-btn {
            background: #3d3d3d;
            color: white;
        }

        body.dark-mode .article-reader-source-wrap {
            border-top-color: #474747;
        }

        .loading { text-align: center; padding: 25px; }
        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f0f0f0;
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto 12px;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        .loading-dots {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin: 30px auto;
        }
        .loading-dots div {
            width: 14px;
            height: 14px;
            background: var(--primary);
            border-radius: 50%;
            animation: dotPulse 1.2s ease-in-out infinite;
        }
        .loading-dots div:nth-child(1) { animation-delay: 0s; }
        .loading-dots div:nth-child(2) { animation-delay: 0.2s; }
        .loading-dots div:nth-child(3) { animation-delay: 0.4s; }
        @keyframes dotPulse {
            0%, 100% { transform: scale(0.5); opacity: 0.3; }
            50% { transform: scale(1.2); opacity: 1; }
        }

        .news-nav-bottom {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
            padding-top: 10px;
            border-top: 1px solid #eee;
        }

        .news-nav-arrow {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
        }
        .news-nav-arrow:disabled,
        .news-nav-arrow.disabled {
            background: #ccc;
            cursor: not-allowed;
        }

        .news-nav-counter {
            font-weight: 700;
            color: var(--primary);
        }

        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            display: flex;
            justify-content: space-around;
            padding: 8px 10px;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            z-index: 90;
            transition: transform 0.3s ease;
        }
        .bottom-nav.hidden { transform: translateY(100%); }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
            cursor: pointer;
            padding: 5px 15px;
            border-radius: 20px;
            color: var(--gray);
            font-size: 11px;
        }
        .nav-item.active { background: var(--primary); color: white; }
        .nav-item i { font-size: 16px; }

        .nav-toggle {
            position: fixed;
            bottom: 70px;
            right: 15px;
            background: var(--primary);
            color: white;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 91;
            border: 2px solid white;
        }

        .scroll-top {
            position: fixed;
            bottom: 130px;
            right: 15px;
            background: var(--primary);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 89;
            opacity: 0;
            visibility: hidden;
            border: 2px solid white;
        }
        .scroll-top.visible { opacity: 1; visibility: visible; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 480px) {
            .team img { width: 35px; height: 35px; }
            .team-name { font-size: 10px; }
            .chat-bot { width: 260px; left: 10px; bottom: 140px; }
            .news-image { height: 160px; }
            .article-reader-main-title { font-size: 24px; }
            .article-reader-content { font-size: 16px; line-height: 2; }
            .news-title { font-size: 19px; }
        }

        /* ══════════════════════════════════════
           نظام الإشعارات - Modals
        ══════════════════════════════════════ */
        .notif-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.6);
            z-index: 500;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .notif-overlay.show { display: flex; }

        .notif-card {
            background: white;
            border-radius: 20px;
            padding: 28px 24px;
            width: 100%;
            max-width: 380px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            animation: notifSlideIn 0.3s ease;
        }
        body.dark-mode .notif-card {
            background: #2d2d2d;
            color: white;
        }
        @keyframes notifSlideIn {
            from { transform: translateY(30px); opacity: 0; }
            to   { transform: translateY(0);    opacity: 1; }
        }

        .notif-card-title {
            font-size: 18px;
            font-weight: 900;
            color: #4caf50;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .notif-card-subtitle {
            font-size: 13px;
            color: #888;
            margin-bottom: 20px;
            line-height: 1.7;
        }
        body.dark-mode .notif-card-subtitle { color: #aaa; }

        .notif-field { margin-bottom: 16px; }
        .notif-field label {
            display: block;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 6px;
            color: #444;
        }
        body.dark-mode .notif-field label { color: #ddd; }

        .notif-field input {
            width: 100%;
            padding: 11px 14px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-family: 'Cairo', sans-serif;
            font-size: 14px;
            outline: none;
            transition: border-color 0.2s;
            background: white;
            color: #333;
        }
        body.dark-mode .notif-field input {
            background: #3a3a3a;
            border-color: #555;
            color: white;
        }
        .notif-field input:focus { border-color: #4caf50; }
        .notif-field input.error  { border-color: #f44336; }

        .notif-actions {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        .notif-btn-ok {
            flex: 1;
            padding: 12px;
            background: #4caf50;
            color: white;
            border: none;
            border-radius: 10px;
            font-family: 'Cairo', sans-serif;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s;
        }
        .notif-btn-ok:hover { background: #388e3c; }
        .notif-btn-ok:disabled { background: #aaa; cursor: not-allowed; }

        .notif-btn-cancel {
            padding: 12px 18px;
            background: #f0f0f0;
            color: #555;
            border: none;
            border-radius: 10px;
            font-family: 'Cairo', sans-serif;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s;
        }
        body.dark-mode .notif-btn-cancel { background: #444; color: #ddd; }
        .notif-btn-cancel:hover { background: #e0e0e0; }

        .code-input-wrap {
            display: flex;
            gap: 8px;
            justify-content: center;
            margin: 10px 0;
        }
        .code-input-wrap input {
            width: 44px !important;
            height: 52px;
            text-align: center;
            font-size: 22px;
            font-weight: 900;
            padding: 0 !important;
            border: 2px solid #ddd;
            border-radius: 10px;
            background: white;
            color: #333;
            font-family: 'Cairo', sans-serif;
            outline: none;
        }
        body.dark-mode .code-input-wrap input {
            background: #3a3a3a;
            border-color: #555;
            color: white;
        }
        .code-input-wrap input:focus { border-color: #4caf50; }

        .btn-spinner {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255,255,255,0.4);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
            vertical-align: middle;
            margin-left: 6px;
        }
