.slider-wrapper {
    display: flex;
    width: 200%;
    height: 100vh;
    transition: transform 0.75s cubic-bezier(0.77, 0, 0.18, 1);
}

.slider-wrapper.show-signup {
    transform: translateX(-50%);
}

.slide {
    width: 50%;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
}

#loginView .container {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}

.svg-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#loginView .left-section {
    width: 45%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

#loginView .left-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 80%);
    pointer-events: none;
}

#loginView .left-content {
    max-width: 380px;
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

#loginView .left-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

#loginView .left-content p {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.5;
    margin-bottom: 30px;
}

.btn-signup-left {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 10px 35px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-signup-left:hover {
    background-color: #ffffff;
    color: #000000;
}

#loginView .right-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.05);
}

#loginView .login-box {
    width: 100%;
    max-width: 420px;
    text-align: center;
    padding: 42px 34px;
    background: rgba(255,255,255,0.96);
    border-radius: 32px;
    box-shadow: 0 35px 90px rgba(0,0,0,0.18);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.18);
}

#loginView .login-box h2 {
    font-size: 2.5rem;
    color: #111111;
    margin-bottom: 30px;
    font-weight: 700;
}

#loginView .input-group {
    position: relative;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(0,0,0,0.08);
    transition: border-color 0.25s ease;
}

#loginView .input-group input {
    width: 100%;
    padding: 14px 40px 14px 10px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.05rem;
    color: #111111;
}

#loginView .input-group input:focus {
    border-bottom-color: #7f52ff;
}

#loginView .input-group i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    font-size: 1.1rem;
}

#loginView .btn-login {
    width: 60%;
    background: linear-gradient(135deg, #000000, #202020);
    color: #ffffff;
    border: none;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 28px;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

#loginView .btn-login:hover {
    background: linear-gradient(135deg, #1a1a1a, #4f4f4f);
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

#loginView .signup-text {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 15px;
}

#loginView .signup-text a {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

#loginView .signup-text a:hover {
    text-decoration: underline;
}

#loginView .error-message {
    color: #ff3333;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: none;
}
#loginView .error-message.show {
    display: block;
}

#loginView .right-section-black {
    width: 45%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.btn-login-right {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.18);
    padding: 10px 35px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.btn-login-right:hover {
    background-color: rgba(255,255,255,0.95);
    color: #000000;
    transform: translateY(-1px);
}

.signup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4,12,34,0.75);
    backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.signup-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.signup-card {
    background: rgba(9,17,32,0.97);
    border-radius: 22px;
    padding: 42px 36px;
    width: min(440px, 90vw);
    text-align: center;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 40px 90px rgba(0,0,0,0.35);
}

.signup-overlay.show .signup-card {
    transform: translateY(0) scale(1);
}

.signup-card h2 {
    color: #fff;
}

.signup-card p {
    color: rgba(255,255,255,0.75);
}

.signup-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.signup-card h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 10px;
}

.signup-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-telegram {
    display: inline-block;
    background: #0088cc;
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.3s;
    margin-bottom: 14px;
    width: 100%;
}

.btn-telegram:hover {
    background: #0077bb;
}

.btn-close-card {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: #999;
    padding: 10px 32px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.btn-close-card:hover {
    border-color: #000;
    color: #000;
}

:root{
    --bg:#050814;
    --card:#0d1323;
    --border:rgba(255,255,255,.06);

    --cyan:#00d9ff;
    --purple:#7f52ff;
    --red:#ff3d5e;
    --green:#00ff88;
    --neon-cyan:#00d9ff;
    --neon-green:#00ff88;
    --neon-pink:#ff00bf;
    --header-bg: #0d1323;

    --radius:24px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

html {
    scroll-behavior: smooth;
}

body{
    background:var(--bg);
    min-height:100vh;
    overflow-x:hidden;
    position:relative;
    color:#fff;
    font-family:'Segoe UI',sans-serif;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

body::before{
    content:'';
    position:fixed;
    inset:0;

    background:
    radial-gradient(circle at 15% 20%,rgba(127,82,255,.18),transparent 30%),
    radial-gradient(circle at 85% 35%,rgba(0,217,255,.12),transparent 30%);

    animation:glowMove 12s linear infinite alternate;
    pointer-events:none;
}

@keyframes glowMove{
    from{ transform:translateX(-40px); }
    to{ transform:translateX(40px); }
}

.hidden { display:none !important; }

/* TOP HEADER */
.top-header{
    margin:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    padding:20px 40px;
    border-radius:20px;
    background: var(--header-bg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(15px);
    transition: 0.4s;
}

.top-header:hover{
    box-shadow: 0 10px 50px rgba(0,217,255,0.4);
}

.logo img{
    height:50px;
}

.header-info{
    display:flex;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.header-info div, .header-info button{
    display:flex;
    align-items:center;
    gap:5px;
    font-weight:600;
}

.header-info .balance span{
    color: var(--neon-green);
}

.header-info .device{
    color: var(--neon-cyan);
    cursor: pointer;
    border-bottom: 1px dashed rgba(0,217,255,0.2);
    transition: border-color 0.3s;
}
.header-info .device:hover{
    border-bottom-color: var(--neon-cyan);
}
.header-info .device-input{
    background:transparent;
    border:none;
    border-bottom:1px solid rgba(255,255,255,0.3);
    color:inherit;
    font:inherit;
    font-weight:600;
    outline:none;
    padding:0;
    min-width:80px;
}

.header-info .otps{
    color: var(--neon-pink);
}

.history-btn, .logout-btn{
    padding:8px 20px;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
    border:none;
    transition:0.3s;
}

/* Hover Effects */
.history-btn{
    background: rgba(0,0,0,0.15);
    color:white;
}
.history-btn:hover{
    background: rgba(0,217,255,0.2);
    box-shadow: 0 0 20px var(--neon-cyan);
    transform: translateY(-2px);
}

.logout-btn{
    background: transparent;
    border:1px solid #ff3d5e;
    color:#ff3d5e;
}
.logout-btn:hover{
    background:#ff3d5e;
    color:white;
    box-shadow: 0 0 20px rgba(255,61,94,0.6);
    transform: translateY(-2px);
}

/* DASHBOARD LAYOUT */
.dashboard{
    display:grid;
    grid-template-columns:350px 1fr;
    gap:25px;
    padding:0 40px 20px;
    height:calc(100vh - 115px);
    box-sizing:border-box;
}

/* SIDEBAR */
.sidebar{
    background:var(--card);
    border-radius:var(--radius);
    padding:20px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid var(--border);
}

.sidebar h2{
    margin-bottom:15px;
    font-size:16px;
    display:flex;
    align-items:center;
    gap:6px;
}

.sidebar input{
    width:100%;
    padding:12px;
    border-radius:12px;
    border:none;
    margin-bottom:15px;
    background:#091120;
    color:#fff;
    outline:none;
}
.sidebar input::placeholder { color:#555; }
.sidebar input:focus { outline:1px solid rgba(0,217,255,.3); }

#countriesContainer {
    flex:1;
    overflow-y:auto;
    padding-right:4px;
}

.country-card{
    position:relative;
    overflow:hidden;

    background:#091120;
    border-radius:20px;
    padding:16px;
    margin-bottom:14px;
    text-align:center;

    border:1px solid var(--border);

    transition:.35s ease;
}

.country-card:hover{
    transform:translateY(-6px);

    border-color:rgba(0,217,255,.25);

    box-shadow:
    0 15px 45px rgba(0,217,255,.12);
}

.country-card::before{
    content:'';

    position:absolute;
    inset:0;

    background:
    linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.04),
    transparent
    );

    transform:translateX(-100%);
}

.country-card:hover::before{
    transition:.8s;
    transform:translateX(100%);
}

.country-card img{
    width:60px;
    border-radius:4px;
    margin-bottom:8px;
}

.country-card .country-name{
    display:block;
    font-size:14px;
    font-weight:600;
    margin-bottom:4px;
}

.country-card .available{
    display:block;
    font-size:12px;
    margin-bottom:8px;
    color:#888;
}

.country-card .available.in-stock { color:var(--green); }

.get-number{
    width:100%;
    border:none;
    padding:12px;
    border-radius:12px;
    margin-top:6px;
    color:#fff;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:.4s;

    background:#7f52ff;
    background-image:linear-gradient(135deg,var(--cyan),var(--purple));
    background-size:200% auto;
    position:relative;
    z-index:1;
}

.get-number::before{
    content:'';
    position:absolute;
    inset:-3px;
    border-radius:14px;
    background:linear-gradient(135deg,var(--cyan),var(--purple),var(--cyan));
    background-size:300% auto;
    z-index:-1;
    opacity:0;
    transition:.4s;
    filter:blur(8px);
}

.get-number:hover:not(:disabled){
    background-position:right center;
    transform:translateY(-2px);
    box-shadow:0 0 30px rgba(0,217,255,.45), 0 0 60px rgba(127,82,255,.3);
}

.get-number:hover:not(:disabled)::before{
    opacity:1;
    animation:neonRotate 2s linear infinite;
}

@keyframes neonRotate{
    0%{ background-position:0% 50%; }
    50%{ background-position:100% 50%; }
    100%{ background-position:0% 50%; }
}

.get-number:disabled { opacity:.4; cursor:not-allowed; }

/* MAIN CONTENT */
.main-content{
    overflow-y:auto;
}

.top-actions{
    display:flex;
    justify-content:flex-end;
    gap:15px;
    margin-bottom:18px;
}

.copy-all{
    background:#091120;
    border:none;
    padding:10px 20px;
    border-radius:12px;
    cursor:pointer;
    color:#fff;
    font-size:13px;
    font-weight:500;
    display:flex;
    align-items:center;
    gap:6px;
    border:1px solid var(--border);
    transition:.3s;
}
.copy-all:hover { background:#121b30; }

.release-all{
    background:transparent;
    border:1px solid var(--red);
    color:var(--red);
    padding:10px 20px;
    border-radius:12px;
    cursor:pointer;
    font-size:13px;
    font-weight:500;
    display:flex;
    align-items:center;
    gap:6px;
    transition:.3s;
}
.release-all:hover { background:rgba(255,61,94,.1); }

/* ACTIVATION CARDS */
.activation-cards{
    display:grid;
    grid-template-columns:repeat(3,minmax(300px,1fr));
    gap:24px;
    justify-content:center;
}
@media (max-width: 1120px) {
    .activation-cards {
        grid-template-columns:repeat(2,minmax(280px,1fr));
    }
}
@media (max-width: 720px) {
    .activation-cards {
        grid-template-columns:1fr;
    }
}
.card{
    width:100%;
    max-width:440px;
    position:relative;
    overflow:hidden;
    background: linear-gradient(180deg, #091120 0%, #0f1526 100%);
    padding:20px;
    border-radius:var(--radius);
    display:flex;
    flex-direction:column;
    gap:14px;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.card{
    position:relative;
    overflow:hidden;
    background: linear-gradient(180deg, #091120 0%, #0f1526 100%);
    padding:20px;
    border-radius:var(--radius);
    display:flex;
    flex-direction:column;
    gap:14px;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.card:hover{
    transform: translateY(-5px);
    border-color: rgba(0,217,255,.22);
    box-shadow: 0 28px 80px rgba(0,217,255,.12);
}

.card:hover{
    transform:translateY(-5px);

    border-color:rgba(0,217,255,.2);

    box-shadow:
    0 15px 50px rgba(0,217,255,.08);
}

.card::after{
    content:'';
    position:absolute;
    width:250px;
    height:250px;
    right:-120px;
    top:-120px;

    background:
    radial-gradient(
    circle,
    rgba(0,217,255,.08),
    transparent 70%
    );

    pointer-events:none;
}

.card-header{
    display:flex;
    align-items:center;
    gap:10px;
}

.card-header i.fab.fa-telegram{
    font-size:22px;
    color:var(--cyan);
    animation:telePulse 2s infinite;
}

@keyframes telePulse{
    0%{ box-shadow:0 0 0 0 rgba(0,217,255,.5); border-radius:50%; }
    70%{ box-shadow:0 0 0 15px rgba(0,217,255,0); border-radius:50%; }
    100%{ box-shadow:0 0 0 0 rgba(0,217,255,0); border-radius:50%; }
}

.card-header span{
    font-weight:600;
    font-size:15px;
}

.card-header small{
    color:var(--cyan);
    font-size:11px;
    margin-left:auto;
}
.card-header small.received { color:var(--green); }
.card-header small.expired { color:var(--red); }

.card-number{
    font-weight:700;
    font-size:22px;
    display:flex;
    align-items:center;
    gap:8px;
    font-family:'Consolas','SF Mono',monospace;
}

.card-number .num-flag{
    width:26px;
    height:19px;
    border-radius:3px;
    object-fit:cover;
    flex-shrink:0;
}

/* SMS Code */
.sms-code {
    background:var(--card);
    border:1px solid rgba(0,217,255,.08);
    border-radius:12px;
    padding:10px;
    text-align:center;
}
.sms-code .label{
    font-size:11px;
    color:#888;
    margin-bottom:2px;
}
.sms-code .value{
    font-size:20px;
    font-weight:700;
    color:var(--green);
    letter-spacing:6px;
    font-family:'Consolas','SF Mono',monospace;
}

/* Copy button */
.copy-number-btn{
    background:transparent;
    border:1px solid var(--border);
    color:#888;
    width:30px;
    height:30px;
    border-radius:8px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    transition:.15s;
}
.copy-number-btn:hover{ background:rgba(255,255,255,.05); color:#fff; }

.card-buttons{
    display:flex;
    gap:10px;
}

.card-buttons button{
    flex:1;
    padding:10px 0;
    border-radius:12px;
    border:none;
    cursor:pointer;
    font-size:13px;
    font-weight:500;
    transition:.3s;
}

.card-buttons button:first-child{
    background:#1a1f30;
    color:#fff;
}
.card-buttons button:first-child:hover { background:#232a3e; }

.card-buttons .blacklist{
    border:1px solid var(--red);
    background:transparent;
    color:var(--red);
}
.card-buttons .blacklist:hover{
    background:rgba(255,61,94,.08);
    box-shadow:0 0 20px rgba(255,61,94,.2);
}

.card-buttons .release{
    background:#d90429;
    color:#fff;
}
.card-buttons .release:hover{
    transform:translateY(-2px);
    box-shadow:0 0 25px rgba(255,61,94,.5);
}

.card-loading {
    opacity: 1;
}

.card-loading .card-number {
    color: #a6f0ff;
    min-height: 44px;
}

.card-loading .fetching-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8ae1ff;
    font-size: 14px;
}

.card-loading .fetching-text {
    color: #8ae1ff;
    font-size: 13px;
}

.card-loading .card-buttons button {
    opacity: 0.55;
    cursor: not-allowed;
}

.card-loading .card-buttons button:hover {
    transform: none;
    box-shadow: none;
}

.failed-card {
    border-color: rgba(255, 77, 77, 0.35);
}

.timer-row{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
}

.timer{
    font-size:13px;
    color:#888;
    text-align:right;
}

.timer span{
    font-weight:600;
    font-family:'Consolas','SF Mono',monospace;
    color:#ccc;
}
.timer span.expired { color:var(--red); }
.timer span.received { color:var(--green); }

/* LOGIN */

.auth-page {
    min-height:100vh;
    display:flex;
    background:#111;
    position:relative;
}

.auth-page .error-msg {
    position:absolute;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    z-index:10;
    background:rgba(255,61,94,.12);
    border:1px solid rgba(255,61,94,.3);
    color:var(--red);
    padding:10px 24px;
    border-radius:12px;
    font-size:13px;
    display:none;
    white-space:nowrap;
}
.auth-page .error-msg.show { display:block; }

.auth-page .container{
    display:flex;
    width:100%;
    height:100vh;
}

.auth-page .left-side{
    width:55%;
    background:#000;
    border-top-right-radius:50%;
    border-bottom-right-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.auth-page .welcome-box{
    max-width:420px;
    padding:20px;
}

.auth-page .welcome-box h1{
    color:#fff;
    font-size:60px;
    margin-bottom:20px;
    font-weight:800;
}

.auth-page .welcome-box p{
    color:#bdbdbd;
    line-height:1.7;
    margin-bottom:25px;
}

.auth-page .signup-btn{
    background:transparent;
    color:#fff;
    border:1px solid #666;
    padding:14px 45px;
    border-radius:30px;
    cursor:pointer;
    transition:.3s;
}

.auth-page .signup-btn:hover{
    background:#fff;
    color:#000;
}

.auth-page .right-side{
    width:45%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#1b1d22;
}

.auth-page .login-box{
    width:380px;
}

.auth-page .login-box h2{
    color:#fff;
    font-size:48px;
    text-align:center;
    margin-bottom:40px;
}

.auth-page .input-group{
    position:relative;
    margin-bottom:25px;
}

.auth-page .input-group input{
    width:100%;
    padding:15px 40px 15px 0;
    background:transparent;
    border:none;
    border-bottom:2px solid #555;
    color:#fff;
    font-size:16px;
    outline:none;
    transition:border-color .3s;
}

.auth-page .input-group input:focus{
    border-color:#fff;
}

.auth-page .input-group i{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    color:#888;
    font-size:16px;
}

.auth-page .input-group #apiKeyToggle{
    cursor:pointer;
    transition:color .3s;
}
.auth-page .input-group #apiKeyToggle:hover{
    color:#fff;
}

.auth-page .login-btn{
    width:100%;
    background:#000;
    color:#fff;
    border:none;
    padding:15px;
    border-radius:30px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
    margin-top:10px;
}

.auth-page .login-btn:hover{
    background:#fff;
    color:#000;
}

.auth-page .signup-link{
    margin-top:20px;
    text-align:center;
    color:#999;
    font-size:14px;
}

.auth-page .signup-link a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

@media(max-width:900px){
    .auth-page .container{
        flex-direction:column;
    }
    .auth-page .left-side{
        width:100%;
        height:35vh;
        border-radius:0 0 80px 80px;
        padding:20px;
    }
    .auth-page .right-side{
        width:100%;
        height:65vh;
    }
    .auth-page .welcome-box h1{
        font-size:40px;
    }
    .auth-page .login-box{
        width:90%;
    }
}

/* LOADING / SKELETON */

.loading { text-align:center; padding:30px; color:#888; }

.spinner {
    width:22px; height:22px;
    border:3px solid rgba(255,255,255,.05);
    border-top-color:var(--cyan);
    border-radius:50%;
    animation:spin .6s linear infinite;
    margin:0 auto 10px;
}

@keyframes spin { to { transform:rotate(360deg); } }

.skeleton-card {
    background:#091120;
    border-radius:var(--radius);
    border:1px solid var(--border);
    padding:18px;
    min-height:200px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:12px;
}

.skeleton-card .pulse-box {
    width:40px;
    height:40px;
    border-radius:10px;
    background:rgba(0,217,255,.15);
    animation:shimmer 1.2s ease-in-out infinite;
}

.skeleton-card .pulse-line {
    height:12px;
    border-radius:6px;
    background:rgba(255,255,255,.04);
    animation:shimmer 1.2s ease-in-out infinite;
}
.skeleton-card .pulse-line.wide { width:130px; }
.skeleton-card .pulse-line.med { width:90px; }
.skeleton-card .pulse-line.narrow { width:60px; }

@keyframes shimmer {
    0%,100% { opacity:.3; }
    50% { opacity:.7; }
}

/* EMPTY STATE */

.empty-state {
    grid-column:1 / -1;
    text-align:center;
    padding:60px 20px;
    color:#888;
}

/* TOAST */

.toast {
    position:fixed;
    bottom:24px;
    right:24px;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:12px;
    padding:12px 20px;
    font-size:13px;
    z-index:200;
    box-shadow:0 10px 40px rgba(0,0,0,.4);
    display:none;
}
.toast.show { display:block; }
.toast.success { border-left:3px solid var(--green); }
.toast.error { border-left:3px solid var(--red); }

/* SCROLLBAR */

::-webkit-scrollbar{ width:8px; }
::-webkit-scrollbar-track{ background:#07101f; border-radius:20px; }
::-webkit-scrollbar-thumb{
    background:linear-gradient(var(--purple),var(--cyan));
    border-radius:20px;
}

/* ─── OTP HISTORY ──────────────────────────────────────── */

.history-wrapper{
    margin:20px;
    padding:25px;
    border-radius:24px;
    background:linear-gradient(135deg,rgba(127,82,255,.04),rgba(0,217,255,.03));
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.06);
    box-shadow:0 10px 40px rgba(0,0,0,.4);
}

.history-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.history-title{
    font-size:32px;
    font-weight:700;
}

.history-title i{
    color:#ffb347;
}

.total-otp{
    font-size:22px;
    font-weight:700;
}

.total-otp span{
    color:var(--green);
}

.filters{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.filter-box{
    background:#0b1325;
    border:1px solid rgba(255,255,255,.06);
    padding:12px 15px;
    border-radius:12px;
    display:flex;
    align-items:center;
    gap:8px;
    color:#888;
    font-size:13px;
}

.filter-box input,
.filter-box select{
    background:none;
    border:none;
    outline:none;
    color:white;
    font-size:13px;
}

.filter-box select option{
    background:#0b1325;
    color:#fff;
}

.history-table{
    width:100%;
    border-collapse:collapse;
}

.history-table tr{
    border-bottom:1px solid rgba(255,255,255,.05);
}

.history-table td{
    padding:18px 12px;
    font-size:14px;
}

.history-table tbody tr{
    transition:.3s;
    cursor:pointer;
}

.history-table tbody tr:hover{
    background:rgba(0,217,255,.05);
}

.otp-badge{
    display:inline-block;
    background:rgba(0,255,136,.08);
    color:var(--green);
    padding:6px 12px;
    border-radius:8px;
    font-weight:700;
    border:1px solid rgba(0,255,136,.15);
    font-family:'Consolas','SF Mono',monospace;
    font-size:15px;
    letter-spacing:2px;
    transition:.3s;
}

.otp-badge:hover{
    box-shadow:0 0 15px rgba(0,255,136,.25);
    transform:translateY(-1px);
}

.history-empty{
    text-align:center;
    padding:60px 20px;
    color:#888;
    font-size:15px;
}

@media(max-width:768px){

    .history-top{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .filters{
        width:100%;
        flex-direction:column;
    }

    .table-wrapper{
        overflow-x:auto;
    }

    .history-table{
        min-width:850px;
    }
}

/* RESPONSIVE */

@media(max-width:1200px){
    .activation-cards{
        grid-template-columns:1fr;
    }
    .dashboard{
        grid-template-columns:300px 1fr;
    }
}

@media(max-width:900px){
    .top-header{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
        padding:16px 20px;
    }
    .header-info{
        flex-wrap:wrap;
        gap:10px;
    }
    .dashboard{
        display:flex;
        flex-direction:column;
    }
    .sidebar{
        width:100%;
        height:auto;
    }
    .main-content{
        width:100%;
    }
    .activation-cards{
        grid-template-columns:1fr;
    }
}

@media(max-width:600px){
    .card-buttons{
        flex-direction:column;
    }
    .card-number{
        font-size:20px;
    }
    .country-card img{
        width:50px;
    }
    .get-number{
        font-size:14px;
    }
}
