/* BODY */
body {
    font-family: 'Poppins', sans-serif;
    background: #f0f2f5; /* grey background */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TELEGRAM BUTTON ABOVE FORM */
.telegram-btn {
    display: block;
    margin: 20px auto;
    padding: 14px 28px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #4e73df, #6f42c1);
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

.telegram-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* WITHDRAW CARD */
.withdraw-card {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 20px;
    width: 400px;
    max-width: 95%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    color: #111;
    margin-bottom: 50px;
}

.withdraw-card h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
}

/* INPUT FIELDS */
.withdraw-card input,
.withdraw-card select {
    width: 100%;
    padding: 14px 12px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
}

/* WITHDRAW BUTTON */
.withdraw-btn {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 25px;
    border: none;
    background: linear-gradient(135deg, #4e73df, #6f42c1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.withdraw-btn:hover {
    opacity: 0.9;
}



/* LOADING */
#loading {
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

/* POPUP STYLE */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
    z-index: 999;
}

.popup-box {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 15px;
    max-width: 350px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.popup-box.success {
    border-top: 6px solid #22c55e;
}

.popup-box.fail {
    border-top: 6px solid #ef4444;
}

.popup-box h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.popup-box button,
.popup-box .telegram-btn {
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 10px;
}

.popup-box button {
    background: #4e73df;
    color: #fff;
}

/* BACK BUTTON */
.back-btn {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #6f42c1;
    color: #fff;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.back-btn:hover {
    background: #5e35b1;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .withdraw-card {
        padding: 20px 18px;
    }

    .withdraw-card h2 {
        font-size: 22px;
    }

    .withdraw-card input,
    .withdraw-card select {
        padding: 12px 10px;
        font-size: 15px;
    }

    .withdraw-btn {
        font-size: 16px;
        padding: 12px;
    }

    .telegram-btn {
        font-size: 18px;
        padding: 12px 20px;
    }

    .back-btn {
        font-size: 14px;
        padding: 12px 25px;
    }

    .popup-box {
        padding: 20px;
    }

    .popup-box h3 {
        font-size: 18px;
    }

    .popup-box .telegram-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}

.telegram-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0088cc;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s ease;
}

.telegram-float i {
    font-size: 18px;
}

.telegram-float:hover {
    background: #006699;
    transform: scale(1.05);
}