     
        /* --- Main Modal Layout --- */
        .wedotv-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            padding: 20px;
            box-sizing: border-box;
        }

        .wedotv-modal-overlay.active {
            display: flex;
        }

        .wedotv-modal-content {
            background-color: #2d2d2d;
            border-radius: 8px;
            width: 100%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            color: #fff;
            overflow: hidden;
            position: relative;
        }

        /* --- Styles for Login Modal (Two-Column Layout) --- */
        #login-modal .wedotv-modal-content {
            display: flex;
            padding: 0;
            max-width: 960px;
            aspect-ratio: 16 / 11;
        }

        .wedotv-modal-promo {
            flex: 0 0 45%;
            background-color: #1c1c1c;
            padding: 40px 35px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            color: #ffffff;
        }

        .wedotv-modal-logo {
            max-width: 160px;
            height: auto;
        }

        .wedotv-modal-promo-text h2 {
            font-size: 3rem;
            font-weight: 900;
            margin: 0 0 15px 0;
            line-height: 1.1;
            text-transform: uppercase;
        }

        .wedotv-modal-promo-text p {
            font-size: 1rem;
            line-height: 1.5;
            margin: 0 0 15px 0;
            max-width: 350px;
            color: #ccc;
        }

        .wedotv-modal-promo-text h3 {
            font-size: 2.5rem;
            font-weight: 900;
            margin: 0;
            text-transform: uppercase;
        }

        .wedotv-modal-promo-text h3 span {
            color: #e50914;
        }

        .wedotv-modal-main {
            flex: 1;
            padding: 30px 40px;
            position: relative;
            overflow-y: auto;
            background-color: #2d2d2d;
        }
        
        /* --- Styles for Dashboard Modal (Single Box Layout) --- */
        #dashboard-modal .wedotv-modal-content {
            padding: 30px;
            width: 90%;
            max-width: 550px;
            max-height: 90vh;
            overflow-y: auto;
        }


        .wedotv-modal-close-button {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            color: #aaa;
            cursor: pointer;
            line-height: 1;
            z-index: 10;
        }

        /* --- Responsive Adjustments --- */
        @media (max-width: 800px) {
            .wedotv-modal-promo {
                display: none; /* Hide promo section on smaller screens for login modal */
            }

            #login-modal .wedotv-modal-content,
            #dashboard-modal .wedotv-modal-content {
                flex-direction: column;
                width: 90%;
                max-width: 500px;
                height: auto;
                max-height: 90vh;
                aspect-ratio: unset;
            }
            
            #login-modal .wedotv-modal-main {
                 padding: 30px;
            }
        }
        
        /* --- Original Component Styles (Tabs, Forms, etc.) --- */
        .wedotv-user-modal-tabs { display: flex; border-bottom: 1px solid #444; }
        #dashboard-modal .wedotv-user-modal-tabs { margin-bottom: 0; }
        #login-modal .wedotv-user-modal-tabs { margin-bottom: 20px; }
        .wedotv-user-modal-tab { background: none; border: none; color: #aaa; padding: 10px 20px; cursor: pointer; font-size: 16px; border-bottom: 3px solid transparent; }
        .wedotv-user-modal-tab.active { color: #fff; border-bottom-color: #e50914; }
        
        .wedotv-user-modal-form, .wedotv-dashboard-tab-content { display: none; }
        .wedotv-user-modal-form.active, .wedotv-dashboard-tab-content.active { display: block; }
        .wedotv-dashboard-tab-content { padding-top: 20px; }
        
        h2, h3 { color: #fff; margin-top: 0; margin-bottom: 20px; padding-bottom: 10px; }
        h3 { margin-top: 25px; border-bottom: 1px solid #444; }
        .wedotv-form-group { margin-bottom: 15px; }
        .wedotv-form-group label { display: block; margin-bottom: 5px; color: #ccc; }
        .wedotv-form-group + .wedotv-form-group { margin-top: 15px; }
        
        .wedotv-styled-input, .wedotv-styled-select { 
            width: 100%; 
            padding: 12px; 
            background-color: #1f1f1f; 
            border: 1px solid #555; 
            border-radius: 4px; 
            color: #fff; 
            font-size: 16px; 
            box-sizing: border-box;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .wedotv-styled-input:focus, .wedotv-styled-select:focus {
            outline: none;
            border-color: #e50914;
            box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.25);
        }
        .wedotv-styled-input::placeholder { color: #888; }
        .wedotv-styled-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' 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: right 12px center; padding-right: 40px; }
        
        .wedotv-red-btn { display: inline-flex; justify-content: center; align-items: center; width: 100%; padding: 12px; background-color: #e50914; border: none; border-radius: 4px; color: #fff; font-size: 16px; font-weight: bold; cursor: pointer; margin-top: 10px; }
        .wedotv-btn-secondary { display: inline-flex; justify-content: center; align-items: center; background: #555; margin-top: 10px; border: none; padding: 8px 15px; color: white; border-radius: 4px; cursor: pointer; width: 100%; }
        
        .wedotv-terms-group { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #ccc; cursor: pointer; }
        .wedotv-terms-group a { color: #e50914; }
        .wedotv-terms-group input[type="checkbox"] { display: none; }
        .wedotv-terms-group .wedotv-custom-checkbox { width: 22px; height: 22px; background-color: #444; border: 1px solid #555; border-radius: 3px; display: inline-block; position: relative; transition: background-color 0.2s; }
        .wedotv-terms-group input[type="checkbox"]:checked + .wedotv-custom-checkbox { background-color: #e50914; border-color: #e50914; }
        .wedotv-terms-group input[type="checkbox"]:checked + .wedotv-custom-checkbox::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }

        #form-message, #dashboard-message { margin-top: 15px; min-height: 1.2em; text-align: center; }
        .wedotv-user-modal-form > *:last-child, .wedotv-dashboard-tab-content > *:last-child { margin-bottom: 0; }
        .wedotv-dashboard-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #444; margin-bottom: 0; }
        #pin-boxes { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
        .wedotv-pin-digit { width: 45px !important; height: 50px; text-align: center; font-size: 24px !important; }
        .wedotv-text-center { text-align: center; }
        .wedotv-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; margin-left: 10px; vertical-align: middle; }
        @keyframes spin { to { transform: rotate(360deg); } }
        .wedotv-dashboard-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
        .wedotv-tile-link { background-color: #444; border-radius: 8px; padding: 20px; text-align: center; color: #fff; text-decoration: none; transition: background-color 0.2s, color 0.2s; font-size: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
        .wedotv-tile-link i { font-size: 28px; color: #e50914; transition: color 0.2s; }
        .wedotv-tile-link:hover { background-color: #e50914; color: #fff; }
        .wedotv-tile-link:hover i { color: #fff; }
        .wedotv-app-download-container { display: flex; justify-content: space-around; align-items: center; margin-top: 20px; background-color: #383838; padding: 20px; border-radius: 8px; }
        .wedotv-qr-code-wrapper { text-align: center; }
        .wedotv-qr-code-wrapper img { background-color: #fff; border-radius: 12px; border: 2px solid #555; padding: 5px; }
        .wedotv-app-store-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 14px; }
        .wedotv-app-store-link i { font-size: 24px; }
        .wedotv-btn-secondary i, .wedotv-red-btn i { margin-right: 8px; }
        .wedotv-user-icon-link { background: none; border: none; color: #fff; cursor: pointer; padding: 10px; font-size: 1.2rem; }
   
        #logout-btn {
            width: auto;
        }

        .wedotv-modal-content h2 {
            margin-top:30px;
            margin-bottom: 10px;
        }