/* GLOBAL */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #0f172a, #020617);
    color: #fff;
}

/* CONTAINER (LOGIN / FORMS) */
.container {
    width: 100%;
    max-width: 400px;
    margin: 80px auto;
    padding: 35px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);

    box-shadow: 
        0 0 40px rgba(0, 200, 255, 0.15),
        inset 0 0 10px rgba(255,255,255,0.05);
}

/* HEADINGS */
h2 {
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* INPUTS */
input {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border: none;
    border-radius: 10px;
    outline: none;

    background: rgba(255,255,255,0.08);
    color: white;

    transition: 0.3s;
}

input:focus {
    box-shadow: 0 0 10px #00c6ff;
    background: rgba(255,255,255,0.12);
}

/* BUTTONS */
button {
    width: 100%;
    padding: 14px;
    margin-top: 10px;

    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px #00c6ff;
}

/* PAYMENT BOX */
.payment-box {
    background: rgba(0, 200, 255, 0.08);
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
    border: 1px solid rgba(0,200,255,0.2);
    text-align: center;
}

/* GRID (DASHBOARD) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 40px;
}

/* SESSION CARD */
.card {
    padding: 20px;
    border-radius: 18px;
    transition: 0.35s ease;
    cursor: pointer;
    position: relative;

    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.08);
}

/* UNLOCKED CARD */
.unlocked {
    background: linear-gradient(135deg, rgba(0,198,255,0.25), rgba(0,114,255,0.25));
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.4);
}

/* LOCKED CARD */
.locked {
    opacity: 0.6;
}

/* CARD HOVER */
.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 200, 255, 0.3);
}

/* TITLE */
.title {
    font-size: 15px;
    margin: 10px 0;
}

/* LOCK ICON */
.lock-icon {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 18px;
}

/* STATUS */
.status {
    margin-top: 10px;
    font-weight: bold;
}

/* MODAL BACKDROP */
#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);

    align-items: center;
    justify-content: center;
    z-index: 999;
}

/* MODAL BOX */
.modal-content {
    width: 340px;
    padding: 30px;
    border-radius: 20px;
    text-align: center;

    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);

    box-shadow: 
        0 0 40px rgba(0, 200, 255, 0.4),
        inset 0 0 10px rgba(255,255,255,0.05);

    animation: fadeIn 0.4s ease;
}

/* MODAL ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* SPINNER */
.spinner {
    width: 45px;
    height: 45px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #00c6ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* STATUS TEXT */
#statusText {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: #00c6ff;
}

/* SCROLLBAR (PREMIUM TOUCH) */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #00c6ff;
    border-radius: 10px;
}

/* MODAL HEADER */
.modal-header h2 {
    margin: 0;
    font-size: 22px;
}

.subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 5px;
}

/* TILL NUMBER */
.till {
    font-size: 28px;
    letter-spacing: 2px;
    color: #00c6ff;
    margin: 10px 0;
}

/* FORM */
.form input {
    margin-top: 12px;
}

/* PRIMARY BUTTON */
.primary-btn {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.primary-btn:hover {
    box-shadow: 0 0 20px #00c6ff;
}

/* SECONDARY BUTTON */
.secondary-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #ccc;
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.05);
}

/* MODAL ENHANCEMENT */
.modal-content {
    animation: popUp 0.35s ease;
}

/* ANIMATION */
@keyframes popUp {
    from {
        transform: translateY(20px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* PROGRESS BOX */
.progress-box {
    margin: 15px 0;
    text-align: left;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 5px 0;
}

.progress-fill {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    transition: width 0.5s ease;
}

/* VALUE BOX */
.value-box {
    text-align: left;
    margin: 15px 0;
    padding: 15px;
    border-radius: 12px;
    background: rgba(0,200,255,0.05);
    border: 1px solid rgba(0,200,255,0.15);
}

.value-box h3 {
    margin-bottom: 10px;
}

.value-box ul {
    padding-left: 15px;
    margin: 0;
}

.value-box li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* URGENCY */
.urgency {
    margin-top: 10px;
    font-size: 13px;
    color: #facc15;
    text-align: center;
}

/* IMPROVE BUTTON FEEL */
.primary-btn {
    font-size: 16px;
    font-weight: bold;
}

.primary-btn:hover {
    transform: scale(1.03);
}

/* SUCCESS OVERLAY */
#successOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);

    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* BOX */
.success-box {
    text-align: center;
    background: rgba(30, 41, 59, 0.95);
    padding: 40px;
    border-radius: 20px;

    box-shadow: 0 0 40px rgba(0, 200, 255, 0.5);

    animation: fadeScale 0.5s ease;
}

/* CHECKMARK CIRCLE */
.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #00c853;
    margin: 0 auto 20px;
    position: relative;
    animation: pop 0.4s ease;
}

/* CHECKMARK */
.checkmark {
    position: absolute;
    top: 25px;
    left: 20px;
    width: 25px;
    height: 12px;
    border-left: 4px solid white;
    border-bottom: 4px solid white;
    transform: rotate(-45deg);
    animation: draw 0.4s ease forwards;
}

/* ANIMATIONS */
@keyframes pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes draw {
    0% { width: 0; height: 0; }
    100% { width: 25px; height: 12px; }
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.chart-box {
    height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

/* SIMPLE LINE CHART */
.line-chart {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 40%, #00c6ff 45%, transparent 50%),
                linear-gradient(200deg, transparent 60%, #00c6ff 65%, transparent 70%);
}

/* TREND VISUAL */
.trend-up {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right, transparent 40%, #00ffcc 45%, transparent 50%);
}

/* CURIOSITY SECTION */
.curiosity {
    border: 1px solid rgba(255, 200, 0, 0.3);
    background: rgba(255, 200, 0, 0.05);
}