 :root {
        --primary2: #00f3ff;       
        --primary-dim: rgba(0, 243, 255, 0.1);
        --accent: #7000ff;        
        --bg-dark: #0b0c10;       
        --panel-bg: rgba(20, 20, 28, 0.6); 
        --border: rgba(255, 255, 255, 0.08);
        --text-main: #ffffff;
        --text-muted: #8892b0;
        
        /* משתנים מהבוט */
        --bot-danger: #ff0055;
        --bot-success: #00ff88;
    }

    body {
        background-color: var(--bg-dark);
        background-image: 
            radial-gradient(circle at 10% 20%, rgba(112, 0, 255, 0.15) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 40%);
        color: var(--text-main);
        font-family: 'Heebo', sans-serif;
        margin: 0;
        overflow-x: hidden;
    }

    /* --- CSS לחסימה וטשטוש (הועתק מ-botManager) --- */
    .dashboard-wrapper {
        position: relative;
        min-height: 80vh;
    }

    .blur-content {
        filter: blur(5px); /* טשטוש חזק יותר */
        pointer-events: none;
        user-select: none;
        opacity: 0.5;
        transition: 0.3s;
    }

    .access-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-top: 150px;
    }

    .access-modal {
        background: rgba(11, 12, 16, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top: 3px solid var(--primary2);
        padding: 40px;
        width: 100%;
        max-width: 500px;
        text-align: center;
        box-shadow: 0 20px 50px rgba(0,0,0,0.8);
        border-radius: 12px;
        animation: floatIn 0.5s ease-out;
    }

    @keyframes floatIn {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .modal-icon { font-size: 3rem; margin-bottom: 20px; color: var(--primary2); }
    .modal-title { font-family: 'Teko', sans-serif; font-size: 2.5rem; margin: 0; line-height: 1; color: #fff; text-transform: uppercase; }
    .modal-desc { font-family: 'Heebo', sans-serif; color: #aaa; margin: 15px 0 30px; font-size: 1.1rem; }

    .btn-connect-twitch {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #6441a5;
        color: white;
        padding: 12px 30px;
        font-family: 'Heebo', sans-serif;
        font-weight: bold;
        font-size: 1.1rem;
        text-decoration: none;
        border: none;
        border-radius: 8px;
        transition: 0.3s;
    }
    .btn-connect-twitch:hover { background: #7d5bbe; transform: translateY(-2px); box-shadow: 0 0 20px rgba(100, 65, 165, 0.5); color: #fff; }

    .social-login-row { display: flex; justify-content: center; gap: 15px; }
    .social-btn-big {
        width: 50px; height: 50px;
        display: flex; align-items: center; justify-content: center;
        background: rgba(255,255,255,0.05);
        color: #fff; font-size: 1.5rem;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 8px;
        transition: 0.3s;
        text-decoration: none;
    }
    .social-btn-big:hover { background: var(--primary2); color: #000; border-color: var(--primary2); }

    /* --- שאר ה-CSS של העמוד (ללא שינוי) --- */
    .alerts-container {
        max-width: 1600px;
        margin: 0 auto;
        padding: 30px;
        display: grid;
        grid-template-columns: 400px 1fr;
        gap: 40px;
        min-height: 90vh;
        margin-bottom: 50px;
    }

    .preview-column {
        position: sticky;
        top: 30px;
        height: fit-content;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .glass-panel {
        background: var(--panel-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        border-radius: 24px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.3);
        overflow: hidden;
        padding: 25px;
    }

    .monitor-frame {
        background: #000;
        border-radius: 12px;
        border: 2px solid #333;
        position: relative;
        aspect-ratio: 16/9;
        overflow: hidden;
        background-image: 
            linear-gradient(45deg, #151515 25%, transparent 25%), 
            linear-gradient(-45deg, #151515 25%, transparent 25%), 
            linear-gradient(45deg, transparent 75%, #151515 75%), 
            linear-gradient(-45deg, transparent 75%, #151515 75%);
        background-size: 20px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
    }

    .monitor-label {
        position: absolute;
        top: 10px; left: 10px;
        font-size: 0.7rem;
        color: #555;
        font-family: monospace;
        background: rgba(0,0,0,0.5);
        padding: 2px 6px;
        border-radius: 4px;
    }

    #alert-box { text-align: center; padding: 20px; max-width: 80%; display: none; }
    #alert-image { max-height: 200px; display: block; margin: 0 auto 15px auto; filter: drop-shadow(0 0 10px rgba(0,0,0,0.5)); }
    #alert-text { font-size: 2rem; font-weight: 900; text-shadow: 0 2px 0 #000, 0 0 20px rgba(0,0,0,0.8); line-height: 1.1; }
    .highlight { color: var(--primary2); }

    .url-container { position: relative; background: rgba(0,0,0,0.3); border: 1px dashed var(--border); border-radius: 12px; padding: 15px; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
    .url-container:hover { border-color: var(--primary2); background: rgba(0, 243, 255, 0.05); }
    .blur-input { background: transparent; border: none; color: var(--primary2); font-family: monospace; width: 100%; filter: blur(0.80px); transition: 0.3s; cursor: pointer; }
    .url-container:hover .blur-input { filter: blur(0); }
    .btn-copy { background: var(--primary2); color: #000; border: none; border-radius: 8px; padding: 8px 15px; font-weight: bold; cursor: pointer; transition: 0.2s; white-space: nowrap; }
    .btn-copy:hover { transform: scale(1.05); box-shadow: 0 0 15px var(--primary-dim); }

    .controls-column { display: flex; flex-direction: column; gap: 20px; }
    .main-selector { width: 100%; background: var(--panel-bg); border: 1px solid var(--primary2); color: #fff; font-family: 'Heebo', sans-serif; font-size: 1.2rem; font-weight: bold; padding: 15px 20px; border-radius: 12px; cursor: pointer; outline: none; box-shadow: 0 0 20px rgba(0, 243, 255, 0.1); transition: 0.3s; appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f3ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: left 20px center; background-size: 20px; padding-left: 50px; }
    .main-selector:hover { background-color: rgba(0, 243, 255, 0.05); box-shadow: 0 0 30px rgba(0, 243, 255, 0.2); }
    .main-selector option { background: #0b0c10; color: #fff; padding: 10px; }

    .section-group { margin-bottom: 9px; }
    .section-title { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
    .section-title::after { content:''; flex:1; height:1px; background: var(--border); }
    .form-grid { display: flex; gap: 20px; }
    .input-wrapper { position: relative; }
    .custom-input { width: 100%; background: rgba(0,0,0,0.2); border: 1px solid var(--border); border-radius: 12px; padding: 15px; color: #fff; font-family: inherit; font-size: 1rem; transition: 0.3s; box-sizing: border-box; }
    .custom-input:focus { outline: none; border-color: var(--primary2); box-shadow: 0 0 0 4px var(--primary-dim); background: rgba(0,0,0,0.4); }
    .input-label { position: absolute; top: -10px; right: 15px; background: #16161e; padding: 0 10px; font-size: 0.8rem; color: var(--primary2); font-weight: bold; border-radius: 4px; }

    .color-picker-wrapper { display: flex; align-items: center; background: rgba(0,0,0,0.2); border: 1px solid var(--border); border-radius: 12px; padding: 10px; cursor: pointer; }
    input[type="color"] { -webkit-appearance: none; border: none; width: 40px; height: 40px; background: none; border-radius: 8px; cursor: pointer; }
    input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
    input[type="color"]::-webkit-color-swatch { border: none; border-radius: 8px; }

    input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; margin: 10px 0; }
    input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 20px; width: 20px; border-radius: 50%; background: var(--primary2); cursor: pointer; margin-top: -8px; box-shadow: 0 0 10px var(--primary2); }
    input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 4px; cursor: pointer; background: #333; border-radius: 2px; }

    .action-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(11, 12, 16, 0.3); backdrop-filter: blur(10px); border-top: 1px solid var(--border); padding: 20px; padding-bottom: 10px; padding-top: 10px; display: flex; justify-content: flex-end; gap: 20px; z-index: 100; }
    .test-area { margin-top: 20px; }
    .test-btn-big { background: var(--accent); width: 100%; border: none; color: #fff; padding: 15px; border-radius: 12px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: bold; font-size: 1.1rem; box-shadow: 0 5px 15px rgba(112, 0, 255, 0.3); }
    .test-btn-big:hover { background: #8a2be2; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(112, 0, 255, 0.5); }

    /* --- MODAL STYLES --- */
    .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px); z-index: 9999; justify-content: center; align-items: center; animation: fadeIn 0.3s; }
    .modal-content { background: #1a1a24; border: 1px solid var(--primary2); box-shadow: 0 0 50px rgba(0, 243, 255, 0.2); padding: 30px; border-radius: 20px; width: 90%; max-width: 600px; text-align: center; position: relative; animation: slideUp 0.3s; }
    .close-modal { position: absolute; top: 15px; left: 20px; font-size: 2rem; color: #666; cursor: pointer; transition: 0.3s; }
    .close-modal:hover { color: #fff; }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

    @media (max-width: 1000px) {
        .alerts-container { grid-template-columns: 1fr; }
        .preview-column { position: relative; top: 0; order: -1; }
        .action-bar { justify-content: center; }
    }