/*==========================================================
=
=           VAULTHIVE - WITHDRAW.CSS
=           BLOC 1
=           Variables + Layout + Hero
=
==========================================================*/

/*==========================================================
VARIABLES
==========================================================*/

:root{

    --vh-primary:#2563eb;
    --vh-primary-dark:#1d4ed8;
    --vh-secondary:#7c3aed;
    --vh-cyan:#06b6d4;

    --vh-success:#10b981;
    --vh-warning:#f59e0b;
    --vh-danger:#ef4444;

    --vh-bg:#f4f7fc;
    --vh-card:#ffffff;

    --vh-dark:#0f172a;
    --vh-dark-2:#1e293b;

    --vh-text:#334155;
    --vh-muted:#94a3b8;

    --vh-border:#e2e8f0;

    --vh-radius:20px;
    --vh-radius-lg:28px;

    --vh-shadow-sm:
        0 4px 12px rgba(15,23,42,.05);

    --vh-shadow:
        0 15px 40px rgba(15,23,42,.08);

    --vh-shadow-lg:
        0 25px 60px rgba(15,23,42,.12);

    --vh-transition:.35s ease;

}


/*==========================================================
BODY
==========================================================*/

body{

    background:var(--vh-bg);

    font-family:'Inter',
    'Segoe UI',
    sans-serif;

    color:var(--vh-text);

}


/*==========================================================
MAIN CONTENT
==========================================================*/

.main-content{

    min-height:100vh;

    padding:35px;

    background:
    radial-gradient(circle at top right,
    rgba(37,99,235,.06),
    transparent 40%),

    radial-gradient(circle at bottom left,
    rgba(124,58,237,.05),
    transparent 45%),

    var(--vh-bg);

}


/*==========================================================
HERO
==========================================================*/

.withdraw-hero{

    position:relative;

    overflow:hidden;

    margin-bottom:35px;

    border-radius:28px;

    padding:45px 50px;

    color:#fff;

    background:
    linear-gradient(135deg,
    #1d4ed8 0%,
    #2563eb 35%,
    #4f46e5 70%,
    #7c3aed 100%);

    box-shadow:
    0 30px 60px rgba(37,99,235,.30);

}


/*==========================================================
LIGHT EFFECT
==========================================================*/

.withdraw-hero::before{

    content:"";

    position:absolute;

    width:380px;
    height:380px;

    border-radius:50%;

    top:-160px;
    right:-120px;

    background:
    rgba(255,255,255,.10);

}


.withdraw-hero::after{

    content:"";

    position:absolute;

    width:250px;
    height:250px;

    left:-80px;
    bottom:-100px;

    border-radius:50%;

    background:
    rgba(255,255,255,.06);

}


/*==========================================================
HERO CONTENT
==========================================================*/

.withdraw-hero-content{

    position:relative;

    z-index:2;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

}


/*==========================================================
BADGE
==========================================================*/

.withdraw-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    margin-bottom:22px;

    border-radius:50px;

    font-size:.88rem;

    font-weight:600;

    color:#fff;

    background:
    rgba(255,255,255,.14);

    border:
    1px solid rgba(255,255,255,.18);

    backdrop-filter:blur(14px);

}


.withdraw-badge i{

    color:#ffd43b;

}


/*==========================================================
TITLE
==========================================================*/

.withdraw-hero h1{

    font-size:2.4rem;

    font-weight:800;

    margin-bottom:18px;

    letter-spacing:-.6px;

}


.withdraw-hero p{

    max-width:700px;

    line-height:1.9;

    color:
    rgba(255,255,255,.92);

    font-size:1.05rem;

}


/*==========================================================
ICON
==========================================================*/

.withdraw-hero-icon{

    width:135px;
    height:135px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:
    rgba(255,255,255,.12);

    border:
    1px solid rgba(255,255,255,.18);

    backdrop-filter:blur(15px);

    box-shadow:
    0 0 45px rgba(255,255,255,.20);

    animation:
    floatingHero 4s ease-in-out infinite;

}


.withdraw-hero-icon i{

    font-size:58px;

    color:#fff;

}


/*==========================================================
ANIMATION
==========================================================*/

@keyframes floatingHero{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0);

    }

}


/*==========================================================
FADE
==========================================================*/

.withdraw-hero{

    animation:
    heroFade .8s ease;

}


@keyframes heroFade{

    from{

        opacity:0;

        transform:
        translateY(25px);

    }

    to{

        opacity:1;

        transform:
        translateY(0);

    }

}


/*==========================================================
RESPONSIVE
==========================================================*/

@media(max-width:992px){

    .withdraw-hero{

        padding:35px;

    }

    .withdraw-hero-content{

        flex-direction:column;

        align-items:flex-start;

    }

    .withdraw-hero-icon{

        width:100px;
        height:100px;

    }

    .withdraw-hero-icon i{

        font-size:42px;

    }

}


@media(max-width:768px){

    .main-content{

        padding:20px;

    }

    .withdraw-hero{

        border-radius:20px;

        padding:28px;

    }

    .withdraw-hero h1{

        font-size:1.9rem;

    }

    .withdraw-hero p{

        font-size:.96rem;

    }

}
/*==========================================================
=
=           VAULTHIVE - WITHDRAW.CSS
=           BLOC 2
=           Cards + Formulaire + Inputs + Summary
=
==========================================================*/


/*==========================================================
CARTES PREMIUM
==========================================================*/

.card-premium{

    background:var(--vh-card);

    border:1px solid rgba(226,232,240,.9);

    border-radius:26px;

    padding:30px;

    box-shadow:var(--vh-shadow);

    transition:var(--vh-transition);

    position:relative;

    overflow:hidden;

}

.card-premium::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:linear-gradient(
        90deg,
        var(--vh-primary),
        var(--vh-secondary),
        var(--vh-cyan)
    );

}

.card-premium:hover{

    transform:translateY(-8px);

    box-shadow:var(--vh-shadow-lg);

}


/*==========================================================
STATISTIQUES
==========================================================*/

.withdraw-stat-card{

    display:flex;

    align-items:center;

    gap:22px;

    background:#fff;

    border-radius:24px;

    padding:25px;

    border:1px solid var(--vh-border);

    box-shadow:var(--vh-shadow);

    transition:.35s;

    position:relative;

    overflow:hidden;

}

.withdraw-stat-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--vh-shadow-lg);

}

.withdraw-stat-card::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(37,99,235,.04),
        rgba(124,58,237,.03)
    );

    opacity:0;

    transition:.35s;

}

.withdraw-stat-card:hover::after{

    opacity:1;

}

.stat-icon{

    width:72px;

    height:72px;

    border-radius:22px;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    font-size:26px;

    flex-shrink:0;

}

.stat-icon.bg-primary{

    background:linear-gradient(135deg,#2563eb,#4f46e5);

}

.stat-icon.bg-success{

    background:linear-gradient(135deg,#10b981,#059669);

}

.stat-icon.bg-warning{

    background:linear-gradient(135deg,#f59e0b,#f97316);

}

.stat-content span{

    display:block;

    color:var(--vh-muted);

    margin-bottom:6px;

    font-size:.9rem;

}

.stat-content h2{

    margin:0;

    font-size:1.75rem;

    font-weight:800;

    color:var(--vh-dark);

}

.stat-content small{

    color:var(--vh-muted);

}


/*==========================================================
HEADER
==========================================================*/

.withdraw-card-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

}

.withdraw-card-header h3{

    margin-bottom:8px;

    font-weight:800;

    color:var(--vh-dark);

}

.withdraw-card-header p{

    margin:0;

    color:var(--vh-muted);

}


/*==========================================================
LABELS
==========================================================*/

.form-label{

    font-weight:700;

    color:var(--vh-dark);

    margin-bottom:10px;

}


/*==========================================================
INPUT GROUP
==========================================================*/

.input-group{

    border-radius:16px;

    overflow:hidden;

}

.form-control{

    height:58px;

    border:1px solid var(--vh-border);

    border-radius:16px !important;

    box-shadow:none !important;

    transition:.3s;

    font-size:15px;

}

.form-control:focus{

    border-color:var(--vh-primary);

    box-shadow:
    0 0 0 .25rem rgba(37,99,235,.12)!important;

}

.input-group-text{

    background:#f8fafc;

    border:1px solid var(--vh-border);

    color:var(--vh-dark);

    font-weight:700;

}


/*==========================================================
BOUTON COPY
==========================================================*/

#copyWallet{

    border-radius:0 16px 16px 0;

    padding:0 22px;

    transition:.3s;

}

#copyWallet:hover{

    background:var(--vh-primary);

    color:#fff;

}


/*==========================================================
FORM TEXT
==========================================================*/

.form-text{

    margin-top:10px;

    color:var(--vh-muted);

}


/*==========================================================
SUMMARY
==========================================================*/

.withdraw-summary{

    background:linear-gradient(
        135deg,
        #f8fbff,
        #eef4ff
    );

    border:1px solid #dbeafe;

    border-radius:22px;

    padding:25px;

    height:100%;

}

.withdraw-summary h5{

    font-weight:800;

    color:var(--vh-dark);

    margin-bottom:25px;

}

.summary-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 0;

    border-bottom:1px dashed #d6dce8;

}

.summary-item:last-child{

    border-bottom:none;

}

.summary-item span{

    color:var(--vh-muted);

}

.summary-item strong{

    color:var(--vh-dark);

    font-weight:700;

}


/*==========================================================
ALERTE
==========================================================*/

.alert{

    border:none;

    border-radius:20px;

    padding:25px;

    margin-top:20px;

}

.alert-primary{

    background:linear-gradient(
        135deg,
        rgba(37,99,235,.08),
        rgba(124,58,237,.05)
    );

    color:var(--vh-dark);

}


/*==========================================================
CHECKBOX
==========================================================*/

.form-check{

    padding:18px;

    background:#fafcff;

    border:1px solid var(--vh-border);

    border-radius:16px;

}

.form-check-input{

    width:20px;

    height:20px;

    cursor:pointer;

}

.form-check-input:checked{

    background-color:var(--vh-primary);

    border-color:var(--vh-primary);

}

.form-check-label{

    margin-left:10px;

    color:var(--vh-text);

    line-height:1.7;

}


/*==========================================================
BOUTON PRINCIPAL
==========================================================*/

#submitWithdrawal{

    height:62px;

    border:none;

    border-radius:18px;

    font-size:17px;

    font-weight:700;

    background:linear-gradient(
        135deg,
        var(--vh-primary),
        var(--vh-secondary)
    );

    transition:.35s;

    box-shadow:
    0 15px 35px rgba(37,99,235,.25);

}

#submitWithdrawal:hover{

    transform:translateY(-4px);

    box-shadow:
    0 22px 45px rgba(37,99,235,.35);

}

#submitWithdrawal:active{

    transform:scale(.98);

}


/*==========================================================
INPUT ANIMATION
==========================================================*/

.form-control,
.btn,
.form-check,
.withdraw-summary,
.alert{

    transition:.35s;

}


/*==========================================================
RESPONSIVE
==========================================================*/

@media(max-width:992px){

    .withdraw-card-header{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .withdraw-summary{

        margin-top:20px;

    }

}

@media(max-width:768px){

    .card-premium{

        padding:22px;

    }

    .withdraw-stat-card{

        padding:20px;

    }

    .stat-icon{

        width:60px;

        height:60px;

        font-size:22px;

    }

    .stat-content h2{

        font-size:1.45rem;

    }

    #submitWithdrawal{

        font-size:16px;

    }

}

/*==========================================================
=
=           VAULTHIVE - WITHDRAW.CSS
=           BLOC 3
=           Sidebar + Historique + Responsive Premium
=
==========================================================*/


/*==========================================================
SIDEBAR CARDS
==========================================================*/

.withdraw-side-card{

    position:relative;

    overflow:hidden;

}

.withdraw-side-card h4{

    font-size:1.15rem;

    font-weight:800;

    color:var(--vh-dark);

    margin-bottom:0;

}

.withdraw-side-card hr{

    border-color:rgba(148,163,184,.18);

    margin:18px 0;

}

.withdraw-side-card::after{

    content:"";

    position:absolute;

    top:-60px;
    right:-60px;

    width:140px;
    height:140px;

    border-radius:50%;

    background:
    radial-gradient(circle,
    rgba(37,99,235,.08),
    transparent 70%);

    pointer-events:none;

}


/*==========================================================
SIDEBAR ROW
==========================================================*/

.withdraw-side-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 0;

    border-bottom:1px dashed rgba(203,213,225,.7);

}

.withdraw-side-row:last-child{

    border-bottom:none;

}

.withdraw-side-row span:first-child{

    color:var(--vh-muted);

    font-weight:500;

}

.withdraw-side-row strong{

    color:var(--vh-dark);

    font-weight:700;

}


/*==========================================================
TIPS
==========================================================*/

.withdraw-tips{

    list-style:none;

    padding:0;

    margin:0;

}

.withdraw-tips li{

    display:flex;

    align-items:flex-start;

    gap:14px;

    padding:14px 0;

    border-bottom:1px dashed rgba(203,213,225,.65);

    color:var(--vh-text);

    line-height:1.6;

}

.withdraw-tips li:last-child{

    border-bottom:none;

}

.withdraw-tips i{

    width:34px;

    height:34px;

    flex-shrink:0;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(
        135deg,
        var(--vh-success),
        #34d399
    );

    color:#fff;

    font-size:.9rem;

}


/*==========================================================
HISTORIQUE
==========================================================*/

.withdraw-history{

    margin-top:35px;

}

.history-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-bottom:30px;

}

.history-header h3{

    margin-bottom:8px;

    font-size:1.45rem;

    font-weight:800;

    color:var(--vh-dark);

}

.history-header p{

    margin:0;

    color:var(--vh-muted);

}

.history-header .badge{

    padding:10px 18px;

    border-radius:50px;

    font-size:.85rem;

}


/*==========================================================
TABLE
==========================================================*/

.withdraw-table{

    margin:0;

}

.withdraw-table thead{

    background:linear-gradient(
        135deg,
        #eff6ff,
        #f5f3ff
    );

}

.withdraw-table thead th{

    border:none;

    padding:18px 20px;

    color:var(--vh-dark);

    font-size:.93rem;

    font-weight:700;

    white-space:nowrap;

}

.withdraw-table tbody td{

    padding:18px 20px;

    vertical-align:middle;

    border-color:#edf2f7;

}

.withdraw-table tbody tr{

    transition:.3s;

}

.withdraw-table tbody tr:hover{

    background:#f8fbff;

}


/*==========================================================
REFERENCE
==========================================================*/

.withdraw-reference{

    display:inline-flex;

    align-items:center;

    padding:8px 14px;

    border-radius:50px;

    background:#eef4ff;

    color:var(--vh-primary);

    font-size:.85rem;

    font-weight:700;

    letter-spacing:.4px;

}


/*==========================================================
BADGES
==========================================================*/

.withdraw-table .badge{

    border-radius:50px;

    padding:8px 14px;

    font-weight:600;

    display:inline-flex;

    align-items:center;

    gap:6px;

}

.badge.bg-success{

    background:#dcfce7 !important;

    color:#15803d !important;

}

.badge.bg-warning{

    background:#fef3c7 !important;

    color:#b45309 !important;

}

.badge.bg-danger{

    background:#fee2e2 !important;

    color:#b91c1c !important;

}

.badge.bg-info{

    background:#dbeafe !important;

    color:#1d4ed8 !important;

}

.badge.bg-dark{

    background:#1e293b !important;

    color:#fff !important;

}


/*==========================================================
EMPTY STATE
==========================================================*/

.withdraw-empty{

    padding:70px 20px;

    text-align:center;

}

.withdraw-empty i{

    width:95px;

    height:95px;

    border-radius:50%;

    display:inline-flex;

    justify-content:center;

    align-items:center;

    margin-bottom:20px;

    font-size:42px;

    color:var(--vh-primary);

    background:linear-gradient(
        135deg,
        #eef4ff,
        #ede9fe
    );

}

.withdraw-empty h4{

    font-size:1.4rem;

    font-weight:800;

    color:var(--vh-dark);

    margin-bottom:12px;

}

.withdraw-empty p{

    color:var(--vh-muted);

    max-width:450px;

    margin:auto;

    line-height:1.8;

}


/*==========================================================
SCROLLBAR TABLE
==========================================================*/

.table-responsive::-webkit-scrollbar{

    height:10px;

}

.table-responsive::-webkit-scrollbar-track{

    background:#edf2f7;

    border-radius:20px;

}

.table-responsive::-webkit-scrollbar-thumb{

    background:linear-gradient(
        90deg,
        var(--vh-primary),
        var(--vh-secondary)
    );

    border-radius:20px;

}


/*==========================================================
CARD ANIMATION
==========================================================*/

.withdraw-card,
.withdraw-side-card,
.withdraw-history,
.withdraw-stat-card{

    animation:fadeUp .6s ease both;

}

.withdraw-side-card:nth-child(2){

    animation-delay:.15s;

}

.withdraw-history{

    animation-delay:.25s;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*==========================================================
RESPONSIVE
==========================================================*/

@media(max-width:1200px){

    .withdraw-side-card{

        margin-top:0;

    }

}

@media(max-width:992px){

    .history-header{

        flex-direction:column;

        align-items:flex-start;

    }

    .withdraw-table thead{

        display:none;

    }

    .withdraw-table,
    .withdraw-table tbody,
    .withdraw-table tr,
    .withdraw-table td{

        display:block;

        width:100%;

    }

    .withdraw-table tr{

        background:#fff;

        border:1px solid var(--vh-border);

        border-radius:20px;

        margin-bottom:18px;

        overflow:hidden;

        box-shadow:var(--vh-shadow-sm);

    }

    .withdraw-table td{

        display:flex;

        justify-content:space-between;

        align-items:center;

        gap:15px;

        border-bottom:1px solid #eef2f7;

    }

    .withdraw-table td:last-child{

        border-bottom:none;

    }

}

@media(max-width:768px){

    .withdraw-side-card{

        padding:22px;

    }

    .withdraw-history{

        margin-top:25px;

    }

    .withdraw-empty{

        padding:45px 15px;

    }

    .withdraw-empty i{

        width:80px;

        height:80px;

        font-size:34px;

    }

    .history-header h3{

        font-size:1.2rem;

    }

}