/* RandomiSeal page styles aligned with the main Vauz visual system. */

:root {
    --rs-white: #ffffff;
    --rs-black: #000000;
    --rs-blue: #218DFC;
    --rs-yellow: #ffc107;
    --rs-danger: #ff9f9f;
    --rs-glass: rgba(255, 255, 255, 0.05);
    --rs-glass-strong: rgba(255, 255, 255, 0.10);
    --rs-glass-border: rgba(255, 255, 255, 0.20);
    --rs-panel-radius: 20px;
    --rs-section-radius: 24px;
    --rs-control-radius: 14px;
    --rs-fast: 0.15s;
    --rs-smooth: 0.3s;
}

#gradient-canvas {
    width: 100%;
    height: 100%;
    --gradient-color-1: #D7DA3F;
    --gradient-color-2: #73D0BB;
    --gradient-color-3: #1185D7;
    --gradient-color-4: #E4C1A3;
    z-index: -1;
    position: fixed;
    filter: brightness(80%) saturate(140%);
}

.page_center {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rs_hero,
.choice_chips_section,
.generator_section,
.security_advice_section {
    max-width: 1256px;
    width: 90%;
    z-index: 3;
    position: relative;
}

.rs_hero {
    min-height: 720px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    color: var(--rs-white);
    padding: 8% 0 3%;
    box-sizing: border-box;
}

.rs_hero_copy {
    text-align: left;
}

.eyebrow {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--rs-white);
}

.rs_hero h1 {
    margin: 0;
    color: var(--rs-white);
    font-size: 72px;
    font-weight: 900;
    line-height: 105%;
    letter-spacing: 0;
}

.rs_hero p {
    max-width: 680px;
    margin: 20px 0 0;
    color: var(--rs-white);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.55;
}

.rs_summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.rs_summary_item,
.generator_container,
.security_flow {
    backdrop-filter: blur(48px);
    -webkit-backdrop-filter: blur(48px);
    border: 2px solid var(--rs-glass-border);
    border-radius: var(--rs-panel-radius);
    background: var(--rs-glass);
    color: var(--rs-white);
}

.rs_summary_item {
    min-height: 172px;
    padding: 24px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 16px;
    row-gap: 0;
    align-items: start;
    position: relative;
    overflow: hidden;
}

.rs_summary_item_wide {
    grid-column: 1 / -1;
    min-height: 150px;
    align-items: center;
    row-gap: 0;
}

.rs_summary_item::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.rs_summary_item:nth-child(1)::after {
    top: -46px;
    right: -34px;
    width: 144px;
    height: 144px;
}

.rs_summary_item:nth-child(2)::after {
    left: -38px;
    bottom: -42px;
    width: 112px;
    height: 112px;
}

.rs_summary_item:nth-child(3)::after {
    top: 44px;
    right: -28px;
    width: 96px;
    height: 96px;
}

.rs_summary_icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--rs-white);
    color: var(--rs-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.rs_summary dt {
    align-self: end;
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 115%;
    grid-column: 2;
}

.rs_summary_item .rs_summary_icon {
    grid-row: 1 / 3;
    align-self: center;
}

.rs_summary_item dd {
    align-self: start;
}

.rs_summary dd {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    grid-column: 2;
}

.choice_chips_section {
    margin: 40px auto;
    text-align: center;
}

.choice_chips_section h2,
.generator_section h2,
.security_advice_section h2 {
    margin: 0 0 34px;
    color: var(--rs-white);
    font-size: 48px;
    font-weight: 900;
    line-height: 110%;
}

.choice_chips {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.choice_chip {
    min-height: 58px;
    padding: 10px 18px;
    border: 2.5px solid var(--rs-white);
    border-radius: var(--rs-control-radius);
    background: transparent;
    color: var(--rs-white);
    cursor: pointer;
    font-family: 'Mukta', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color var(--rs-smooth), color var(--rs-smooth), transform var(--rs-smooth), border-color var(--rs-smooth);
}

.choice_chip:hover,
.choice_chip.active {
    background: var(--rs-white);
    color: var(--rs-black);
}

.choice_chip:focus-visible,
.action_button:focus-visible,
.bulk_generate_button:focus-visible,
.export_button:focus-visible {
    outline: 3px solid var(--rs-white);
    outline-offset: 3px;
}

.choice_chip i {
    font-size: 17px;
}

.generator_section {
    display: none;
    opacity: 0;
    margin: 40px auto 0;
}

.generator_section.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.45s ease;
}

.generator_section h2 {
    text-align: center;
}

.generator_container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
}

.settings_panel,
.output_panel {
    padding: 30px;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--rs-white);
}

.output_panel {
    border-left: 2px solid rgba(255, 255, 255, 0.14);
}

.setting_group {
    margin-bottom: 30px;
}

.setting_group:last-child {
    margin-bottom: 0;
}

.setting_group + .setting_group {
    padding-top: 25px;
    border-top: 2px solid rgba(255, 255, 255, 0.10);
}

.setting_group h3,
.output_control h3,
.bulk_generation h4,
.security_step h3,
.vauz_promotion h3 {
    margin: 0 0 12px;
    color: var(--rs-white);
    font-size: 22px;
    font-weight: 800;
    line-height: 115%;
}

.security_step h3 {
    margin: 0;
}

.slider_container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    position: relative;
}

.output_control {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.slider_container input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.52) 0%,
            rgba(255, 255, 255, 0.52) 40%,
            rgba(255, 255, 255, 0.24) 60%,
            rgba(255, 255, 255, 0.24) 100%
        );
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

#password_length {
    cursor: ew-resize;
}

.slider_container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--rs-white);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.slider_container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--rs-white);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.slider_value {
    min-width: 38px;
    color: var(--rs-white);
    font-size: 18px;
    font-weight: 800;
    text-align: center;
}

.slider_label,
.bulk_controls label,
.bulk_controls span,
.number_field,
.number_hint {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
}

.checkbox_label,
.radio_label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--rs-white);
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    transition: color var(--rs-fast);
}

.checkbox_label:hover,
.radio_label:hover {
    color: var(--rs-white);
}

.checkbox_label input[type="checkbox"],
.checkbox_label input[type="radio"],
.radio_label input[type="checkbox"],
.radio_label input[type="radio"] {
    display: none;
}

.page_center .checkbox_label > span.checkbox {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    border: 2px solid rgba(255, 255, 255, 0.70) !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.10) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--rs-fast), border-color var(--rs-fast), box-shadow var(--rs-fast);
}

.radio_checkmark {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    position: relative;
    flex-shrink: 0;
    transition: background-color var(--rs-fast), border-color var(--rs-fast), box-shadow var(--rs-fast);
}

.page_center .checkbox_label input[type="checkbox"]:checked ~ span.checkbox {
    background: var(--rs-white) !important;
    border-color: var(--rs-white) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.radio_label input[type="radio"]:checked ~ .radio_checkmark {
    background: var(--rs-white);
    border-color: var(--rs-white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.page_center .checkbox_label input[type="checkbox"]:checked ~ span.checkbox::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 10px;
    border: solid var(--rs-black);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -58%) rotate(45deg);
}

.radio_label input[type="radio"]:checked ~ .radio_checkmark::after {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--rs-black);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.character_picker {
    margin: 10px 0 15px 32px;
}

.picker_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
    gap: 5px;
}

.char_option {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--rs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    transition: background-color var(--rs-fast), border-color var(--rs-fast), color var(--rs-fast);
}

.char_option:hover {
    border-color: var(--rs-white);
}

.char_option.selected {
    background: var(--rs-white);
    border-color: var(--rs-white);
    color: var(--rs-black);
}

.character_picker.is_disabled .char_option {
    opacity: 0.45;
}

#custom_separator,
#passphrase_reminder,
.bulk_controls input[type="number"],
.number_field input,
.password_output input,
.bulk_textarea {
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--rs-control-radius);
    font-family: 'Mukta', sans-serif;
    transition: border-color var(--rs-fast), box-shadow var(--rs-fast);
}

#custom_separator,
#passphrase_reminder,
.bulk_controls input[type="number"],
.number_field input {
    background: rgba(255, 255, 255, 0.05);
    color: var(--rs-white);
    font-size: 14px;
}

#custom_separator {
    width: 120px;
    margin-top: 8px;
    padding: 8px 12px;
}

#passphrase_reminder {
    width: 100%;
    padding: 10px 12px;
}

#custom_separator:focus,
#passphrase_reminder:focus,
.bulk_controls input[type="number"]:focus,
.number_field input:focus,
.password_output input:focus,
.bulk_textarea:focus {
    outline: none;
    border-color: var(--rs-white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

#passphrase_reminder::placeholder,
.number_field input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.strength_indicator {
    margin-bottom: 30px;
}

.strength_bar {
    width: 100%;
    height: 12px;
    margin-bottom: 15px;
    padding: 2px;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent calc(25% - 1px),
            rgba(255, 255, 255, 0.22) calc(25% - 1px),
            rgba(255, 255, 255, 0.22) 25%
        ),
        rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    overflow: hidden;
    box-sizing: border-box;
}

.strength_fill {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.20);
    transition: width var(--rs-smooth);
}

.strength_fill.weak,
.strength_fill.medium,
.strength_fill.good,
.strength_fill.strong,
.strength_fill.very-strong,
.strength_fill.excellent {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), var(--rs-white));
}

.strength_fill.weak {
    opacity: 0.54;
}

.strength_fill.medium {
    opacity: 0.70;
}

.strength_fill.good,
.strength_fill.strong {
    opacity: 0.86;
}

.strength_info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.strength_level,
.crack_time,
.pronounceability,
.pronunciation_guide,
.key_info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.strength_level {
    font-size: 16px;
    font-weight: 800;
}

.crack_time,
.key_info {
    color: var(--rs-white);
    font-weight: 700;
}

.pronounceability {
    color: var(--rs-white);
}

.pronunciation_guide {
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-style: italic;
}

.password_output {
    margin-bottom: 30px;
}

.password_output input,
.bulk_textarea {
    width: 100%;
    background: rgba(0, 255, 255, 0.1);
    color: var(--rs-white);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
}

.password_output input {
    padding: 12px 16px;
    margin-bottom: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.output_actions,
.export_options,
.promotion_buttons,
.bulk_controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bulk_generation .export_options {
    display: none;
}

.bulk_generation.has_bulk_results .export_options {
    display: flex;
}

.action_button,
.bulk_generate_button {
    padding: 10px 22px;
    border: 2.5px solid var(--rs-white);
    border-radius: var(--rs-control-radius);
    background: transparent;
    color: var(--rs-white);
    cursor: pointer;
    font-family: 'Mukta', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color var(--rs-smooth), color var(--rs-smooth), opacity var(--rs-smooth);
}

.action_button:hover,
.bulk_generate_button:hover {
    background: var(--rs-white);
    color: var(--rs-black);
}

.action_button:disabled,
.bulk_generate_button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.bulk_generation {
    padding-top: 25px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.bulk_generation h4 {
    font-size: 18px;
}

.bulk_controls {
    align-items: center;
    margin-bottom: 15px;
}

.bulk_controls input[type="number"] {
    width: 86px;
    padding: 8px 12px;
}

.export_button {
    padding: 8px 15px;
    border: 2px solid var(--rs-glass-border);
    border-radius: var(--rs-control-radius);
    background: var(--rs-glass-strong);
    color: var(--rs-white);
    cursor: pointer;
    font-family: 'Mukta', sans-serif;
    font-size: 12px;
    font-weight: 700;
    transition: background-color var(--rs-fast), border-color var(--rs-fast);
}

.export_button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--rs-white);
}

.bulk_textarea {
    min-height: 200px;
    margin: 15px 0;
    padding: 12px;
    resize: vertical;
}

.security_advice_section {
    margin: 8% auto 60px;
}

.security_advice_section h2 {
    text-align: center;
}

.security_flow {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.security_step {
    min-height: 360px;
    padding: 28px 24px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.security_step + .security_step {
    border-left: 2px solid rgba(255, 255, 255, 0.14);
}

.security_step::before {
    content: "";
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.16);
}

.security_step:first-child::before {
    left: 68px;
}

.security_step:last-child::before {
    right: 68px;
}

.step_number {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 900;
}

.step_icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--rs-white);
    color: var(--rs-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    position: relative;
    z-index: 1;
}

.step_content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step_content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.security_step ul,
.vauz_promotion ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.security_step li,
.vauz_promotion li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.security_step li {
    color: rgba(255, 255, 255, 0.9);
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    font-weight: 600;
}

.security_step li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    background: var(--rs-white);
    border-radius: 50%;
}

.vauz_promotion {
    margin-top: 8%;
    padding: 0;
    backdrop-filter: blur(48px);
    -webkit-backdrop-filter: blur(48px);
    border: 2px solid var(--rs-glass-border);
    border-radius: var(--rs-panel-radius);
    background: var(--rs-glass);
    color: var(--rs-white);
    text-align: left;
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    overflow: hidden;
}

.vauz_promotion h3 {
    grid-column: 1;
    margin: 0;
    padding: 26px 26px 0;
    color: var(--rs-white);
    font-size: 28px;
}

.vauz_promotion p {
    grid-column: 1;
    max-width: none;
    margin: 0;
    padding: 0 26px 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.6;
}

.vauz_promotion ul {
    grid-column: 2;
    grid-row: 1 / 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.14);
    margin: 0;
    text-align: left;
}

.vauz_promotion li {
    min-height: 116px;
    margin: 0;
    padding: 26px 22px 22px 78px;
    color: rgba(255, 255, 255, 0.84);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
    font-size: 13px;
    font-weight: 600;
}

.vauz_promotion li:nth-child(2n) {
    border-left: 2px solid rgba(255, 255, 255, 0.12);
}

.vauz_promotion li:nth-child(n + 3) {
    border-top: 2px solid rgba(255, 255, 255, 0.12);
}

.vauz_promotion li i {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: var(--rs-white);
    color: var(--rs-black);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 28px;
    left: 24px;
    font-size: 16px;
}

.vauz_promotion li strong {
    color: var(--rs-white);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 6px;
}

.vauz_promotion li span {
    line-height: 1.45;
}

.promotion_buttons {
    grid-column: 1;
    align-self: end;
    justify-content: flex-start;
    padding: 0 26px 26px;
}

.vauz_promotion .full_button {
    background: var(--rs-white);
    border-color: var(--rs-white);
    color: var(--rs-black);
}

.vauz_promotion .full_button:hover {
    background: transparent;
    color: var(--rs-white);
}

.vauz_promotion .empty_button {
    padding: 8px 22px;
    border: 2px solid var(--rs-white);
    border-radius: var(--rs-control-radius);
    color: var(--rs-white);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color var(--rs-smooth), color var(--rs-smooth);
}

.vauz_promotion .empty_button:hover {
    background: var(--rs-white);
    color: var(--rs-black);
}

.bottom_line {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding: 12px 48px;
    align-items: end;
    width: calc(90dvw - 48px * 2);
    font-size: 12px;
}

.number_inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.number_field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.number_field input {
    width: 100%;
    padding: 10px 12px;
}

.number_hint {
    margin: 14px 0 6px;
}

.number_error {
    min-height: 20px;
    margin: 0;
    color: var(--rs-danger);
    font-size: 13px;
    font-weight: 700;
}

.number_animation {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    min-height: 72px;
}

.number_animation.active {
    display: flex;
}

.number_animation span {
    width: 16px;
    height: 44px;
    border-radius: 999px;
    background: var(--rs-white);
    animation: numberPulse 0.9s ease-in-out infinite;
}

.number_animation span:nth-child(2) {
    animation-delay: 0.12s;
}

.number_animation span:nth-child(3) {
    animation-delay: 0.24s;
}

.password_display {
    position: relative;
    display: flex;
    align-items: center;
}

.password_display input {
    flex: 1;
    padding-right: 40px;
}

.action_button.loading,
.bulk_generate_button.loading {
    position: relative;
    color: transparent;
}

.action_button.loading > *,
.bulk_generate_button.loading > * {
    visibility: hidden;
}

.action_button.loading::after,
.bulk_generate_button.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    inset: 0;
    margin: auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--rs-white);
    border-radius: 50%;
    box-sizing: border-box;
    animation: spin 1s linear infinite;
}

.action_button.loading:hover::after,
.bulk_generate_button.loading:hover::after {
    border-color: rgba(0, 0, 0, 0.24);
    border-top-color: var(--rs-black);
}

.action_button.success {
    background-color: var(--rs-white) !important;
    color: var(--rs-black) !important;
    animation: successPulse 0.5s ease;
}

.rs_security_notes {
    width: 90%;
    margin: 12px auto 28px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

.rs_security_notes::-webkit-scrollbar {
    display: none;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.65);
}

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

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes numberPulse {
    0%,
    100% {
        transform: scaleY(0.55);
        opacity: 0.45;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@media (max-width: 1200px) {
    .choice_chips {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .security_flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .security_step:nth-child(3) {
        border-left: 0;
        border-top: 2px solid rgba(255, 255, 255, 0.14);
    }

    .security_step:nth-child(4) {
        border-top: 2px solid rgba(255, 255, 255, 0.14);
    }
}

@media (max-width: 1024px) {
    .rs_hero,
    .generator_container {
        grid-template-columns: 1fr;
    }

    .rs_hero {
        min-height: auto;
        padding-top: 250px;
    }

    .strength_info {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .output_panel {
        border-left: 0;
        border-top: 2px solid rgba(255, 255, 255, 0.14);
    }
}

@media (max-width: 768px) {
    .rs_hero,
    .choice_chips_section,
    .generator_section,
    .security_advice_section {
        width: 92%;
    }

    .rs_hero {
        padding-top: 230px;
        gap: 24px;
    }

    .choice_chips,
    .rs_summary,
    .security_flow,
    .vauz_promotion ul,
    .number_inputs {
        grid-template-columns: 1fr;
    }

    .vauz_promotion {
        grid-template-columns: 1fr;
    }

    .vauz_promotion h3,
    .vauz_promotion p,
    .promotion_buttons,
    .vauz_promotion ul {
        grid-column: 1;
    }

    .vauz_promotion p {
        padding: 16px 26px;
    }

    .vauz_promotion ul {
        grid-row: auto;
        border-left: 0;
        border-top: 2px solid rgba(255, 255, 255, 0.14);
    }

    .vauz_promotion li {
        min-height: auto;
    }

    .vauz_promotion li:nth-child(2n) {
        border-left: 0;
    }

    .vauz_promotion li:nth-child(n + 2) {
        border-top: 2px solid rgba(255, 255, 255, 0.12);
    }

    .rs_summary_item_wide {
        grid-column: auto;
    }

    .security_step,
    .security_step + .security_step,
    .security_step:nth-child(3),
    .security_step:nth-child(4) {
        min-height: auto;
        border-left: 0;
        border-top: 2px solid rgba(255, 255, 255, 0.14);
    }

    .security_step:first-child {
        border-top: 0;
    }

    .security_step::before {
        display: none;
    }

    .settings_panel,
    .output_panel {
        padding: 20px;
    }

    .output_actions,
    .promotion_buttons {
        margin-top: 20px;
    }

    .action_button {
        width: 100%;
    }

    .picker_grid {
        grid-template-columns: repeat(auto-fill, minmax(25px, 1fr));
    }

    .char_option {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .vauz_promotion {
        padding: 0;
    }
}

@media screen and (max-width: 705px) {
    .scramble_text_container {
        min-height: auto;
        max-height: none;
    }
}

@media (max-width: 480px) {
    .rs_hero {
        padding-top: 40%;
    }

    .rs_hero h1 {
        font-size: 50px
    }

    .rs_hero p {
        font-size: 14px;
    }

    .generator_section {
        margin: 20px auto 40px;
    }

    .setting_group h3,
    .output_control h3 {
        font-size: 20px;
    }

    .slider_container {
        gap: 0;
    }

    .choice_chips_section h2,
    .generator_section h2,
    .security_advice_section h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .choice_chip {
        min-height: 54px;
        padding: 10px 14px;
    }

    .checkbox_label,
    .radio_label {
        font-size: 14px;
    }

    .bulk_controls,
    .export_options {
        flex-direction: column;
        align-items: stretch;
    }

    .bulk_controls input[type="number"],
    .export_button,
    .bulk_generate_button {
        width: 100%;
    }

    .vauz_promotion p {
        font-size: 14px;
        padding: 16px 34px;
    }

    .vauz_promotion li strong {
        margin: 0;
    }

    .promotion_buttons {
        padding: 0 20px 20px;
    }
}
