:root {
    --ram-red: #750b1d;
    --ram-yellow: #f9e076;
}

body {
    background: #f8e9b9;
    font-family: 'Segoe UI', 'Tahoma', Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.main-container { 
    position: relative; 
    z-index: 2; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
}

.header { 
    display: flex; 
    position: absolute;
    top: 30px;
    left: 50px;
    align-items: center; 
    justify-content: center; 
}

.logo-circle { 
    width: 110px; 
    height: 110px; 
    border-radius: 50%; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.25); 
}

.ram-title { 
    color: var(--ram-red); 
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 5rem; 
    letter-spacing: 5px;
    font-weight: 900; 
    line-height: 1; 
    margin: 0; 
}

.subtitle { 
    color: var(--ram-red); 
    font-weight: 900; 
    letter-spacing: 2px; 
    margin: 0; 
    margin-left: 7px;
    font-size: 1rem; }

.log-tit{
    position: relative;
    margin-top: -210px;
    margin-bottom: 40px;
}

.login-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 440px;
    top: 60px;
    background: #fff9e6;
    border: 5px solid var(--ram-red);
    border-radius: 25px;
    padding: 2.8rem 2.2rem;
    box-shadow: 0 20px 40px rgba(117, 7, 25, 0.3);
    height: 400px;
    width: 600px;
    z-index: 5;
}

.form-control1 {
    position: absolute;
    top: 110px;
    left: 96px;
    width: 400px;
    border: 3px solid var(--ram-red);
    border-radius: 50px;
    padding: 15px 22px;
    font-size: 1.1rem;
    background: #fff9e6;
    transition: 0.5s ease-in-out;
}

.form-control2{
    position: absolute;
    top: 60px;
    left: -198px;
    width: 400px;
    border: 3px solid var(--ram-red);
    border-radius: 50px;
    padding: 15px 22px;
    font-size: 1.1rem;
    background: #fff9e6;
    transition: 0.5s ease-in-out;
}

.form-control1:focus,
.form-control1:not(:placeholder-shown) {
    border: 3px solid var(--ram-red);
    box-shadow: none;
    width: 500px;
    transform: translateX(-10%);
}

.form-control2:focus,
.form-control2:not(:placeholder-shown) {
    border: 3px solid var(--ram-red);
    box-shadow: none;
    width: 500px;
    transform: translateX(-10%);
}

.form-control1:focus ~ .form-label1,
.form-control1:not(:placeholder-shown) ~ .form-label1{
    font-weight: 800;
    background: #fff9e6;
    color: var(--ram-red);
    padding: 0 10px;
    transform: translateY(-120%);
    border-radius: 25px;
    left: 90px;
}


.form-control2:focus ~ .form-label2,
.form-control2:not(:placeholder-shown) ~ .form-label2 {
    font-weight: 800;
    background: #fff9e6;
    color: var(--ram-red);
    padding: 0 10px;
    transform: translateY(-120%);
    border-radius: 25px;
    left: -205px;
}
.form-label1{
    position: absolute;
    color: #444;
    top: 128px;
    left: 125px;
    cursor: text;
    transition: all 0.3s ease-in-out;
}

.form-label2{
    position: absolute;
    color: #444;
    top: 77px;
    left: -165px;
    cursor: text;
    transition: all 0.3s ease-in-out;

}

#togglePassword { 
    background: none; 
    border: none; 
    color: #666; 
    font-size: 1.2rem; 
}

.eye-pass{
    position: absolute;
    top: 76px;
    right: -185px;
    background: none; 
    border: none; 
    color: #666; 
    font-size: 1.2rem; 
    transition: 0.5s ease-in-out;
}

.form-control2:focus ~ .eye-pass,
.form-control2:not(:placeholder-shown) ~ .eye-pass {
    transform: translateX(120%);
}

.btn-login {
    position: absolute;
    top: 300px;
    left: 100px;
    background: var(--ram-cream);
    border: solid 2px var(--ram-red);
    color: #750b1d7c;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    width: 395px;
}

.btn-login:hover { 
    background: transparent; 
    color: #f8e9b9;
    transform: translateY(-10px) translateX(-40px) scale(1.03); 
    width: 480px;
    border: solid 2px var(--ram-red);
}

.logd{
    position: absolute;
    top: 0px;
    left: 0;
    background: var(--ram-red);
    width: 0;
    height: 62px;
    border-radius: 50px;
    opacity: 0;
    transition: 0.5s ease-in-out;
    z-index: -1;
}
.btn-login:hover .logd{
    opacity: 1;
    z-index: -1;
    width: 477px;

}
.btn-login:disabled {
    color: var(--ram-red);
    opacity: 1;
}

.color-red {
    color: var(--ram-red);
    border-right-color: transparent;
}
.btn-login2{
    position: absolute;
    top: 100px;
    left: 50px;
    background: var(--ram-cream);
    color: var(--ram-red);
    border: solid 2px var(--ram-red);
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    height: 70px;
    width: 100px;
}

.btn-login2:hover { 
    background: transparent; 
    color: #fff9e6;
    transform: translateY(-3px) scale(1.03); 
    border: solid 2px var(--ram-red);
}

.logd2{
    position: relative;
    margin-top: -48px;
    margin-left: -40px;
    margin-right: -100px;
    background: var(--ram-red);
    width: 0;
    height: 68px;
    border-radius: 50px;
    opacity: 0;
    transition: 0.5s ease-in-out;
    z-index: -1;
}

.btn-login2:hover .logd2{
    top: 0px;
    left: 0px;
    opacity: 1;
    z-index: -1;
    width: 300px;

}

.bg-logo-cont{
    position: absolute;
    top: -250px;
    right: -600px;
    background: var(--ram-red);
    border-radius: 100%;
    width: 1300px;
    height: 1300px;
}

.ramen-illustration {
    position: absolute;
    transform: rotate(-40deg);
    opacity: 0.5;
    top: 180px;
    left: -90px;
    width: 1000px;
}

.bg{
    position: absolute;
    opacity: 0.2;
    top: 0;
    left: -15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.bg-image{
    width: 2000px;
    height: 1000px;
}

.dsg{
    position: absolute;
    bottom: -180px;
    left: 40px;
    background: var(--ram-red);
    transform: rotate(-50deg);
    width: 70px;
    height: 700px;
}

.dsg-image{
    position: absolute;
    bottom: 20px;
    left: -248px;
    transform: rotate(90deg);
    width: 500px;
}

/* ================= INTRO SCREEN ================= */
.intro-screen {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
background: var(--ram-red);
overflow: hidden;
cursor: pointer;
transition: opacity 0.7s ease, visibility 0.7s ease;
}

.intro-screen.hide {
opacity: 0;
visibility: hidden;
pointer-events: none;
}

.intro-bg {
position: absolute;
inset: -10%;
background-image: url('assets/bg1.png');
background-size: 900px;
background-repeat: repeat;
opacity: 0.18;
animation: introBgPan 30s linear infinite;
}

@keyframes introBgPan {
from { transform: translate(0, 0); }
to { transform: translate(-900px, -450px); }
}

.intro-content {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
animation: introFadeUp 0.8s ease both;
}

.intro-logo-wrap {
position: relative;
width: 170px;
height: 170px;
margin-bottom: 1.2rem;
}

.intro-logo {
width: 170px;
height: 170px;
border-radius: 50%;
box-shadow: 0 15px 40px rgba(0,0,0,0.4);
animation: introLogoPop 1s cubic-bezier(.34,1.56,.64,1) both, introLogoFloat 3s ease-in-out 1s infinite;
}

@keyframes introLogoPop {
0% { transform: scale(0) rotate(-25deg); opacity: 0; }
100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes introLogoFloat {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}

.steam {
position: absolute;
top: -10px;
width: 14px;
height: 30px;
background: rgba(255,255,255,0.55);
border-radius: 50% 50% 20% 20%;
filter: blur(2px);
opacity: 0;
animation: steamRise 2.6s ease-in infinite;
}

.steam1 { left: 55px; animation-delay: 1.4s; }
.steam2 { left: 80px; animation-delay: 1.9s; }
.steam3 { left: 105px; animation-delay: 2.2s; }

@keyframes steamRise {
0% { opacity: 0; transform: translateY(0) scale(1); }
25% { opacity: 0.6; }
100% { opacity: 0; transform: translateY(-70px) scale(1.6); }
}

.intro-title {
color: var(--ram-yellow);
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 4.2rem;
font-weight: 900;
letter-spacing: 6px;
margin: 0;
text-shadow: 0 4px 15px rgba(0,0,0,0.35);
}

.intro-title span {
display: inline-block;
opacity: 0;
animation: introLetterIn 0.6s ease forwards;
animation-delay: calc(0.9s + var(--i) * 0.08s);
}

@keyframes introLetterIn {
0% { opacity: 0; transform: translateY(25px) scale(0.6); }
100% { opacity: 1; transform: translateY(0) scale(1); }
}

.intro-subtitle {
color: #fff9e6;
font-weight: 700;
letter-spacing: 3px;
margin: 0.4rem 0 2.2rem;
opacity: 0;
animation: introFadeIn 0.8s ease 1.7s forwards;
}

.intro-loader {
width: 220px;
height: 6px;
background: rgba(255,255,255,0.25);
border-radius: 10px;
overflow: hidden;
opacity: 0;
animation: introFadeIn 0.5s ease 1.9s forwards;
}

.intro-loader-bar {
width: 0%;
height: 100%;
background: var(--ram-yellow);
border-radius: 10px;
animation: introLoad 2s ease 2s forwards;
}

@keyframes introLoad {
from { width: 0%; }
to { width: 100%; }
}

.intro-tap {
color: rgba(255,249,230,0.75);
font-size: 0.85rem;
letter-spacing: 1px;
margin-top: 1.3rem;
opacity: 0;
animation: introFadeIn 0.6s ease 3.6s forwards, introPulse 1.6s ease-in-out 4.2s infinite;
}

@keyframes introFadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

@keyframes introFadeUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

@keyframes introPulse {
0%, 100% { opacity: 0.75; }
50% { opacity: 0.3; }
}

/* /* Main container reveal */
.main-container {
opacity: 0;
}

.main-container.reveal {
animation: mainReveal 0.8s ease forwards;
}

@keyframes mainReveal {
from { opacity: 0; }
to { opacity: 1; }
}
/* ================= RESPONSIVE OVERRIDES =================
   Nothing above touched. These queries only override at
   smaller widths so laptops/tablets/phones get workable layout. */

/* Big laptops / small desktops */
@media (max-width: 1440px) {
    .bg-logo-cont {
        top: -200px;
        right: -500px;
        width: 1200px;
        height: 1200px;
    }
    .ramen-illustration {
        width: 950px;
        top: 100px;
        left: -30px;
    }
    .bg-image {
        width: 1600px;
        height: 800px;
    }
    .login-card {
        left: 55%;
        transform: translateX(-50%);
        top: 200px;
    }
}

/* Standard laptop screens (1280-1366 range) */
@media (max-width: 1366px) {
    .header {
        top: 20px;
        left: 30px;
    }
    .ram-title { 
        font-size: 4.5rem; 
    }
    .login-card {
        left: 50%;
        transform: translateX(-50%);
        top: 180px;
        width: 500px;
        height: 350px;
        padding: 2.2rem 1.6rem;
    }
    .form-control1 {
        top: 80px;
        width: 340px;
        margin-left: -15px;
    }
    .form-control2{
        width: 340px;
        top: 50px;
        margin-left: 35px;
    }
    .form-label1{        
        top: 98px;
    }
    .form-label2{        
        top: 68px;
        margin-left: 40px;
    }
    .eye-pass{
        top: 67px;
        margin-right: 20px;
    }
    .form-control1:focus, .form-control1:not(:placeholder-shown),
    .form-control2:focus, .form-control2:not(:placeholder-shown) {
        width: 420px;
    }
    .btn-login { 
        top: 250px;
        width: 340px; 
        margin-left: -15px;
    }
    .btn-login:hover{
        margin-left: -15px;
        width: 405px;
    }
    .logd { 
        
    }
    .btn-login:hover .logd { 
        
        width: 405px; 
    }
}

/* Smaller laptops / large tablets landscape */
@media (max-width: 1200px) {
    .bg-logo-cont { right: -650px; }
    .ramen-illustration { opacity: 0.35; }
}

/* Tablets */
@media (max-width: 992px) {
    .header {
        position: static;
        justify-content: center;
        margin: 30px auto 10px;
        flex-direction: column;
        text-align: center;
    }
    .header .ms-3 { margin: 10px 0 0 0 !important; text-align: center; }
    .main-container {
        flex-direction: column;
        padding: 20px 0;
    }
    .login-card {
        position: static;
        transform: none;
        margin: 20px auto;
        width: 90%;
        max-width: 480px;
        height: auto;
        padding: 2rem 1.2rem 2.5rem;
    }
    .form-control1, .form-control2 {
        position: static;
        width: 100% !important;
        margin: 0 0 30px 0 !important;
        transform: none !important;
    }
    .form-label1, .form-label2 {
        top: -12px;
        left: 20px;
    }
    .form-control1:focus ~ .form-label1,
    .form-control1:not(:placeholder-shown) ~ .form-label1,
    .form-control2:focus ~ .form-label2,
    .form-control2:not(:placeholder-shown) ~ .form-label2 {
        left: 20px;
        transform: translateY(-140%);
    }
    .eye-pass {
        top: 12px;
        right: 15px;
    }
    .form-control2:focus ~ .eye-pass,
    .form-control2:not(:placeholder-shown) ~ .eye-pass {
        transform: none;
    }
    .btn-login {
        position: static;
        width: 100%;
    }
    .btn-login:hover .logd { 
        width: 100%; 
    }
    .bg-logo-cont, .ramen-illustration, .dsg, .dsg-image, .bg, .bg-image {
        display: none;
    }
}

/* Phones */
@media (max-width: 576px) {
    .ram-title { font-size: 2.6rem; letter-spacing: 2px; }
    .subtitle { font-size: 0.9rem; }
    .logo-circle { width: 90px; height: 90px; }
    .login-card {
        width: 94%;
        padding: 1.6rem 1rem 2rem;
        border-width: 3px;
    }
    .log-tit { font-size: 1.4rem; }
    .intro-title { font-size: 2.6rem; letter-spacing: 3px; }
    .intro-logo, .intro-logo-wrap { width: 120px; height: 120px; }
}
/* ================= OTP MODAL (built by login.js) ================= */
.otp-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.otp-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.otp-modal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 440px;
    width: 90%;
    background: #fff9e6;
    border: 5px solid var(--ram-red);
    border-radius: 25px;
    padding: 2.4rem 2rem;
    box-shadow: 0 20px 40px rgba(117, 7, 25, 0.4);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s ease;
}

.otp-modal-overlay.open .otp-modal-card {
    transform: translateY(0) scale(1);
}

.otp-modal-card h2 {
    color: var(--ram-red);
    margin: 0 0 6px;
    font-weight: 900;
    text-align: center;
}

.otp-modal-card p {
    color: #444;
    margin: 0 0 18px;
    text-align: center;
}

.otp-modal-inputs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.otp-modal-digit {
    width: 44px;
    height: 54px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    border: 3px solid var(--ram-red);
    border-radius: 12px;
    background: #fff9e6;
    color: #333;
}

.otp-modal-digit:focus {
    outline: none;
    border-color: #000;
}

.otp-modal-verify {
    position: static;
    width: 100%;
    margin-bottom: 14px;
}

.otp-modal-actions {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.otp-modal-link {
    background: none;
    border: none;
    color: var(--ram-red);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.otp-modal-link:disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: none;
}

.otp-modal-error {
    color: var(--ram-red);
    font-weight: 700;
    min-height: 20px;
    margin-bottom: 6px;
    text-align: center;
}

/* ================= LOGIN ERROR TOAST (built by login.js) =================
   A small, self-contained notification card: icon + title + message +
   dismiss button, colored by severity. Sits top-center, slides down on
   show, and auto-dismisses (or the user can close it early). */
.login-toast {
    position: fixed;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    top: 28px;
    left: 50%;
    z-index: 10000;
    width: min(380px, calc(100vw - 32px));
    background: #fffdf7;
    color: #3a2a1a;
    border-radius: 14px;
    border: 1px solid rgba(117, 11, 29, 0.12);
    border-left: 5px solid var(--ram-red);
    padding: 16px 16px 16px 18px;
    box-shadow: 0 12px 32px rgba(60, 10, 20, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);
    transform: translate(-50%, -20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.3s ease;
}

.login-toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.login-toast-icon {
    flex: 0 0 auto;
    margin-top: 2px;
    font-size: 1.15rem;
    color: var(--ram-red);
}

.login-toast-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.login-toast-title {
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.2px;
    color: #2a1a10;
}

.login-toast-message {
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.4;
    color: #5a4a3a;
}

.login-toast-close {
    flex: 0 0 auto;
    background: none;
    border: none;
    color: #9a8a7a;
    font-size: 0.85rem;
    padding: 2px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.login-toast-close:hover {
    color: var(--ram-red);
}

/* Severity variants — icon color is set inline via LOGIN_TOAST_ICON,
   these control the accent border + title tint. */
.login-toast-error {
       border-top: 4px solid #b3261e;
}
.login-toast-error .login-toast-icon { 
    color: #b3261e; 
}

.login-toast-warning {
    border-left-color: #b8790b;
}
.login-toast-warning .login-toast-icon { 
    color: #b8790b; 
}

.login-toast-info {
    border-left-color: #2e5f8a;
}
.login-toast-info .login-toast-icon { 
    color: #2e5f8a; 
}

@media (max-width: 576px) {
    .login-toast {
        top: 16px;
        width: calc(100vw - 24px);
    }
}

/* ================= LOCKED ACCOUNT / APPEAL MODAL (built by login.js) =================
   Reuses the OTP modal's card shell (.otp-modal-card / .otp-modal-overlay)
   for a consistent feel, with its own icon, textarea, and a success
   state that swaps in after the appeal is sent. */
.appeal-modal-card {
    max-width: 460px;
    max-height: 550px;
    overflow: auto;
    /* flex-start (not center): with centering, content taller than max-height
       overflows equally off the top and bottom, and the top part (the title)
       becomes unreachable by scrolling. */
    justify-content: flex-start;
}

.appeal-modal-icon {
    position: static;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(117, 11, 29, 0.08);
    color: var(--ram-red);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.appeal-modal-label {
    align-self: flex-start;
    font-size: 0.82rem;
    font-weight: 700;
    color: #444;
    margin: 4px 0 8px;
    
}

.appeal-modal-optional {
    font-weight: 400;
    color: #8a7a6a;
    font-size: 0.76rem;
}

.appeal-modal-textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    border: 3px solid var(--ram-red);
    border-radius: 16px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff9e6;
    color: #333;
    transition: border-color 0.2s ease;
}

.appeal-modal-textarea:focus {
    outline: none;
    border-color: #000;
}

.appeal-modal-count {
    align-self: flex-end;
    font-size: 0.72rem;
    color: #9a8a7a;
    margin: 6px 2px 16px;
}

.appeal-modal-submit {
    position: static;
    width: 100%;
    margin-bottom: 6px;
}

.appeal-modal-error {
    color: var(--ram-red);
    font-weight: 700;
    font-size: 0.85rem;
    min-height: 20px;
    margin-bottom: 4px;
    text-align: center;
}

.appeal-modal-actions {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 6px;
}

#appealModalForm {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#appealModalForm.appeal-modal-hidden {
    display: none;
}

.appeal-modal-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 6px 4px 4px;
}

.appeal-modal-success.show {
    display: flex;
}

.appeal-modal-success i {
    font-size: 2rem;
    color: #2e7d4f;
}

.appeal-modal-success p {
    margin: 0;
    color: #444;
}

/* ---- Account Locked modal: "Appeal & verify by email" button ---- */
.appeal-modal-unlock-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 12px;
    padding: 13px 18px;
    border-radius: 50px;
    border: 2px solid var(--ram-red);
    background: var(--ram-red);
    color: #fff9e6;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
.appeal-modal-unlock-btn:hover {
    background: transparent;
    color: var(--ram-red);
    transform: translateY(-2px);
}
.appeal-modal-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 10px;
    color: #8a7a5c;
    font-size: 0.78rem;
    font-weight: 600;
}
.appeal-modal-divider::before,
.appeal-modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(117, 11, 29, 0.25);
}

/* ---- Account recovery hold modal (login page) ---- */
.hold-modal-card { text-align: center; }
.hold-modal-spinner {
    width: 64px;
    height: 64px;
    margin: 4px auto 16px;
    border-radius: 50%;
    border: 6px solid rgba(117, 11, 29, 0.15);
    border-top-color: var(--ram-red);
    animation: holdModalSpin 0.9s linear infinite;
}
.hold-modal-spinner[hidden] { display: none; }
.hold-modal-ready-icon {
    display: block;
    font-size: 3.2rem;
    color: #2e7d32;
    margin: 4px auto 16px;
    animation: holdModalPop 0.4s cubic-bezier(.2, 1.4, .4, 1) both;
}
.hold-modal-ready-icon[hidden] { display: none; }
.hold-modal-countdown {
    display: inline-block;
    margin: 6px auto 14px;
    padding: 8px 20px;
    border-radius: 12px;
    background: rgba(117, 11, 29, 0.07);
    border: 1px dashed rgba(117, 11, 29, 0.35);
    color: var(--ram-red);
    font-size: 1.6rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}
.hold-modal-note { font-size: 0.82rem; color: #6b5d3f; margin-top: 4px; }

@keyframes holdModalSpin { to { transform: rotate(360deg); } }
@keyframes holdModalPop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }