/* =========================================================
   GENERATOR
========================================================= */

#generator-ui {

    display: none;

    width: 100%;

    min-height: 100dvh;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        radial-gradient(
            circle at top,
            #252525 0%,
            #0a0a0a 48%,
            #000 100%
        );

    overflow-y: auto;

    -webkit-overflow-scrolling: touch;

    scroll-behavior: smooth;

}


.container {

    width: 100%;

    max-width: 620px;

    padding: 30px;

    border-radius: 16px;

    background:
        rgba(20,20,20,.96);

    border:
        1px solid rgba(255,255,255,.08);

    box-shadow:
        0 30px 90px rgba(0,0,0,.75);

}


.brand {

    text-align: center;

    color: var(--red);

    font-size: 32px;

    font-weight: 1000;

    letter-spacing: 5px;

}


.subtitle {

    text-align: center;

    margin-top: 7px;

    margin-bottom: 28px;

    color: #777;

    font-size: 10px;

    letter-spacing: 4px;

}


.form-group {

    margin-bottom: 18px;

}


label {

    display: block;

    margin-bottom: 8px;

    color: #aaa;

    font-size: 13px;

}


input,
textarea {

    width: 100%;

    border: 1px solid #303030;

    border-radius: 8px;

    outline: none;

    background: #080808;

    color: #fff;

    padding: 13px;

    font-size: 14px;

}


input:focus,
textarea:focus {

    border-color: var(--red);

    box-shadow:
        0 0 0 2px
        rgba(229,9,20,.12);

}


textarea {

    min-height: 90px;

    resize: vertical;

}


.generator-btn {

    width: 100%;

    padding: 14px;

    border: 0;

    border-radius: 8px;

    background: var(--red);

    color: white;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

}


.generator-btn:hover {

    background: var(--red2);

}


.output-section {

    display: none;

    margin-top: 22px;

}


.copy-row {

    display: flex;

    gap: 8px;

    margin-bottom: 14px;

}


.copy-row input,
.copy-row textarea {

    flex: 1;

}


.form-hint {

    font-size: 12px;

    color: rgba(255,255,255,.45);

    margin-top: -6px;

    margin-bottom: 14px;

    min-height: 15px;

}


.copy-btn {

    width: 90px;

    border: 0;

    border-radius: 8px;

    background: var(--red);

    color: white;

    font-weight: 700;

    cursor: pointer;

}


/* =========================================================
   MODE TABS (Movie / Series)
========================================================= */

.mode-tabs {

    display: flex;

    gap: 8px;

    margin-bottom: 22px;

    padding: 4px;

    border-radius: 10px;

    background: #080808;

    border: 1px solid #222;

}


.mode-tab {

    flex: 1;

    padding: 10px;

    border: 0;

    border-radius: 7px;

    background: transparent;

    color: #888;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .5px;

    cursor: pointer;

    transition: background .18s ease, color .18s ease;

}


.mode-tab.active {

    background: var(--red);

    color: #fff;

}


/* =========================================================
   TOP-LEVEL NAV (Create New / Library)
========================================================= */

.top-nav-tabs {

    display: flex;

    gap: 4px;

    margin-bottom: 20px;

    border-bottom: 1px solid #222;

}


.top-nav-tab {

    flex: 1;

    padding: 12px 8px;

    border: 0;

    background: transparent;

    color: #777;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .3px;

    cursor: pointer;

    border-bottom: 2px solid transparent;

    margin-bottom: -1px;

    transition: color .18s ease, border-color .18s ease;

}


.top-nav-tab.active {

    color: #fff;

    border-bottom-color: var(--red);

}


