/* =========================
   Scripts Container
========================= */

.scripts-container {
    max-width: 1000px;

    margin: auto;

    padding: 120px 20px;

    display: flex;

    flex-direction: column;

    gap: 15px;
}

/* =========================
   Script Card
========================= */

.script-card {
    background: rgba(255,255,255,0.05);

    border:
    1px solid rgba(255,255,255,0.08);

    border-radius: 15px;

    padding: 18px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    backdrop-filter: blur(10px);

    transition: 0.3s;
    
    direction: ltr;
}

.script-card:hover {
    background: rgba(255,255,255,0.07);

    transform: translateY(-2px);
}

/* =========================
   Script Info
========================= */

.script-info {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

/* =========================
   Script Title
========================= */

.script-title {
    font-size: 18px;

    font-weight: bold;

    color: white;
}

/* =========================
   Script Time
========================= */

.script-time {
    font-size: 13px;

    color: #94a3b8;

    margin-top: 5px;
}

/* =========================
   Delete Button
========================= */

.delete-btn {
    background: #ef4444;

    border: none;

    color: white;

    padding: 8px 14px;

    border-radius: 10px;

    cursor: pointer;

    transition: 0.3s;
}

.delete-btn:hover {
    background: #dc2626;
}

/* =========================
   Empty Text
========================= */

.empty-text {
    text-align: center;

    color: #94a3b8;

    font-size: 18px;

    margin-top: 50px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

    .script-card {
        padding: 15px;
    }

    .script-title {
        font-size: 16px;
    }

    .delete-btn {
        padding: 7px 12px;
    }
}

/* Actions */

.script-actions {

    display: flex;

    gap: 10px;
}

/* Raw Copy */

.raw-copy-btn {

    background: #2563eb;

    border: none;

    color: white;

    padding: 8px 14px;

    border-radius: 10px;

    cursor: pointer;

    transition: 0.3s;
}

.raw-copy-btn:hover {

    background: #1d4ed8;
}

.script-card.expired {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.delete-all-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #ef4444;
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

.scripts-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
}

.stat {
    font-size: 14px;
    font-weight: bold;
}

.stat.total {
    color: white;
}

.stat.active {
    color: #38bdf8;
}

.stat.expired {
    color: #ef4444;
}