﻿:root { --primary-blue: #1a237e; --primary-pink: #d81b60; --primary-green: #00c853; --bg-light: #f8f9fc; --text-dark: #2d3748; --text-muted: #718096; --white: #ffffff; --shadow-sm: 0 4px 6px rgba(0,0,0,0.05); --shadow-lg: 0 15px 35px rgba(0,0,0,0.08); --radius: 16px; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: 'Segoe UI', system-ui, sans-serif;
            background:
                radial-gradient(38rem 38rem at 8% 10%, rgba(236, 64, 122, 0.16), transparent 60%),
                radial-gradient(34rem 34rem at 92% 8%, rgba(26, 35, 126, 0.15), transparent 58%),
                radial-gradient(28rem 28rem at 14% 78%, rgba(63, 81, 181, 0.11), transparent 56%),
                radial-gradient(24rem 24rem at 88% 68%, rgba(216, 27, 96, 0.08), transparent 54%),
                linear-gradient(180deg, #ffffff 0%, #eef3fb 55%, #f8f9fc 100%);
            background-attachment: fixed;
            position: relative;
            overflow-x: hidden;
            isolation: isolate;
            color: var(--text-dark);
            line-height: 1.6;
        }
        body::before,
        body::after {
            content: '';
            position: fixed;
            border-radius: 999px;
            pointer-events: none;
            filter: blur(4px);
            z-index: 0;
        }
        body::before {
            width: 260px;
            height: 260px;
            top: -90px;
            right: -70px;
            background: linear-gradient(135deg, rgba(216, 27, 96, 0.18), rgba(236, 64, 122, 0.02));
        }
        body::after {
            width: 220px;
            height: 220px;
            left: -60px;
            bottom: -80px;
            background: linear-gradient(135deg, rgba(26, 35, 126, 0.14), rgba(63, 81, 181, 0.02));
        }
        body > * { position: relative; z-index: 1; }
        .container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
        .watcher-page { margin-top: 26px; }
        header { background: var(--white); padding: 12px 0; box-shadow: var(--shadow-sm); margin-bottom: 30px; }
        .header-content { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
        .logo { font-size: 28px; font-weight: 900; color: var(--primary-blue); text-decoration: none; letter-spacing: -1px; }
        .logo span { color: var(--primary-pink); }
        .header-actions { display: flex; align-items: center; gap: 12px; }
        .back-link { color: var(--text-muted); text-decoration: none; font-weight: 600; transition: color 0.2s; font-size: 0.95rem; }
        .back-link:hover { color: var(--primary-blue); }
        .btn-alert { background-color: var(--primary-pink); color: white; border: none; padding: 10px 16px; border-radius: 8px; font-weight: bold; font-size: 0.95rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background 0.2s; white-space: nowrap; text-decoration: none; }
        .btn-alert:hover { background-color: #ad1457; }
        .watcher-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 35px 40px; margin-bottom: 50px; position: relative; overflow: hidden; }
        .page-title { text-align: center; color: var(--primary-blue); font-size: 1.8rem; margin-bottom: 8px; }
        .page-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 30px; font-size: 0.95rem; }
        .form-group { margin-bottom: 20px; }
        .form-label { display: block; font-weight: bold; margin-bottom: 8px; color: var(--primary-blue); font-size: 0.95rem; transition: color 0.3s; }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
        .form-input { width: 100%; padding: 12px 15px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 1rem; outline: none; transition: border-color 0.2s; font-family: inherit; }
        .form-input:focus { border-color: var(--primary-pink); }
        .form-input:disabled { background-color: #f1f5f9; cursor: not-allowed; opacity: 0.7; }
        .type-toggle { display: flex; background: #edf2f7; border-radius: 8px; padding: 4px; gap: 4px; flex-wrap: wrap; }
        .type-toggle label { flex: 1; text-align: center; cursor: pointer; min-width: 120px; }
        .type-toggle input { display: none; }
        .type-toggle span { display: block; padding: 10px 5px; font-weight: 600; color: var(--text-muted); border-radius: 6px; transition: 0.2s; font-size: 0.85rem; }
        .type-toggle input:checked + span { background: var(--white); color: var(--primary-blue); box-shadow: 0 2px 5px rgba(0,0,0,0.08); }
        .rate-control { display: flex; align-items: center; gap: 20px; }
        .rate-slider-container { flex: 1; }
        .rate-input-box { background: #edf2f7; padding: 8px 15px; border-radius: 8px; font-size: 1.3rem; font-weight: 800; color: var(--primary-blue); display: flex; align-items: center; gap: 5px; min-width: 100px; justify-content: center; }
        input[type=range] { appearance: none; -webkit-appearance: none; width: 100%; background: transparent; }
        input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 24px; width: 24px; border-radius: 50%; background: var(--primary-pink); cursor: pointer; margin-top: -9px; box-shadow: 0 4px 8px rgba(216, 27, 96, 0.4); border: 3px solid var(--white); transition: transform 0.1s; }
        input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.1); }
        input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 6px; cursor: pointer; background: #e2e8f0; border-radius: 4px; }
        .info-box { background-color: #e3f2fd; border-left: 4px solid var(--primary-blue); padding: 12px 15px; border-radius: 8px; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 25px; animation: fadeIn 0.3s ease; }
        .info-box i { font-size: 1.3rem; font-style: normal; }
        .info-box p { margin: 0; font-size: 0.85rem; color: #0d47a1; line-height: 1.5; }
        .checkbox-group { display: flex; align-items: flex-start; gap: 10px; background: #fdfdfd; border: 1px solid #edf2f7; padding: 12px 15px; border-radius: 8px; margin-bottom: 20px; cursor: pointer; transition: 0.2s; }
        .checkbox-group:hover { border-color: var(--primary-pink); }
        .checkbox-group input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; cursor: pointer; accent-color: var(--primary-pink); }
        .checkbox-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }
        .checkbox-text a { color: var(--primary-blue); text-decoration: underline; }
        .btn-submit { background: linear-gradient(135deg, var(--primary-blue), #3f51b5); color: white; border: none; padding: 16px; border-radius: 8px; font-weight: bold; font-size: 1.05rem; cursor: pointer; width: 100%; transition: transform 0.1s, box-shadow 0.2s; box-shadow: 0 4px 10px rgba(26, 35, 126, 0.2); }
        .btn-submit:hover { box-shadow: 0 6px 15px rgba(26, 35, 126, 0.3); transform: translateY(-2px); }
        .btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }
        #step-2-verify, #step-3-chat, #step-4-success { display: none; animation: fadeIn 0.4s ease; padding: 10px 0; }
        #step-2-verify, #step-4-success { text-align: center; }
        .verify-icon, .success-icon { font-size: 3.5rem; margin-bottom: 15px; }
        .success-icon { color: var(--primary-green); }
        .verify-text, .success-text { color: var(--text-muted); margin-bottom: 25px; font-size: 1rem; }
        .verify-text strong { color: var(--primary-blue); }
        .code-input-group { display: flex; justify-content: center; gap: 10px; margin-bottom: 25px; }
        .code-input { width: 55px; height: 65px; font-size: 1.8rem; text-align: center; border: 2px solid #e2e8f0; border-radius: 10px; font-weight: bold; color: var(--primary-blue); outline: none; transition: border-color 0.2s; }
        .code-input:focus { border-color: var(--primary-pink); }
        .resend-link, .skip-link { color: var(--primary-pink); text-decoration: none; font-weight: bold; font-size: 0.85rem; cursor: pointer; background: none; border: none; font-family: inherit; }
        .skip-link { color: #718096; }
        .chat-container { background: #f4f7f9; border-radius: 12px; padding: 20px; height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; border: 1px solid #e2e8f0; scroll-behavior: smooth; }
        .chat-msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 0.95rem; line-height: 1.4; animation: fadeIn 0.3s ease; position: relative; }
        .msg-bot { background: var(--white); color: var(--text-dark); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
        .msg-user { background: var(--primary-blue); color: white; align-self: flex-end; border-bottom-right-radius: 4px; box-shadow: 0 2px 5px rgba(26, 35, 126, 0.2); }
        .inline-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; margin-bottom: 15px; animation: fadeIn 0.4s ease; align-self: flex-start; max-width: 100%; }
        .chat-opt-btn { background: #ffffff; border: 2px solid #e2e8f0; color: var(--primary-blue); padding: 12px 22px; border-radius: 25px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: 0 2px 8px rgba(0,0,0,0.04); display: flex; align-items: center; justify-content: center; }
        .chat-opt-btn:hover { background: linear-gradient(135deg, var(--primary-blue), #3f51b5); border-color: transparent; color: var(--white); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(26, 35, 126, 0.25); }
        .typing-indicator { display: flex; gap: 4px; padding: 6px 10px; align-items: center; }
        .dot { width: 6px; height: 6px; background: #bbb; border-radius: 50%; animation: blink 1.4s infinite both; }
        .dot:nth-child(1) { animation-delay: 0.2s; }
        .dot:nth-child(2) { animation-delay: 0.4s; }
        .dot:nth-child(3) { animation-delay: 0.6s; }
        .btn-outline { background: white; color: var(--primary-blue); border: 2px solid #e2e8f0; padding: 12px 30px; border-radius: 8px; font-weight: bold; cursor: pointer; text-decoration: none; display: inline-block; transition: background 0.2s; width: 100%; text-align: center; }
        .btn-outline:hover { background: #f8f9fc; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes blink { 0% { opacity: 0.2; } 20% { opacity: 1; } 100% { opacity: 0.2; } }
        @media (max-width: 600px) { .watcher-card { padding: 30px 20px; } .form-row { grid-template-columns: 1fr; gap: 15px; } .rate-control { flex-direction: column; align-items: stretch; } .code-input { width: 50px; height: 60px; font-size: 1.5rem; } .type-toggle label { min-width: 48%; } .chat-opt-btn { width: 100%; justify-content: flex-start; text-align: left; padding: 14px 20px; } }
