/* ==========================================================
   WHATCASH - GLOBAL STYLE
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{

    --primary:#25D366;
    --primary-dark:#128C7E;
    --secondary:#075E54;

    --success:#28a745;
    --danger:#dc3545;
    --warning:#ffc107;
    --info:#17a2b8;

    --white:#ffffff;
    --light:#f4f7fb;
    --gray:#6c757d;
    --dark:#212529;

    --border:#e9ecef;

    --radius:12px;

    --shadow:0 10px 25px rgba(0,0,0,.08);

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f5f7fa;

    color:#333;

}

/* ======================== */

a{

    text-decoration:none;

}

img{

    max-width:100%;

}

.container{

    width:95%;

    max-width:1300px;

    margin:auto;

}

/* ======================== */

.card{

    background:#fff;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    border:none;

}

/* ======================== */

.btn{

    border:none;

    border-radius:10px;

    padding:12px 20px;

    cursor:pointer;

    transition:.3s;

    font-weight:600;

}

.btn-primary{

    background:var(--primary);

    color:#fff;

}

.btn-primary:hover{

    background:var(--primary-dark);

}

.btn-danger{

    background:var(--danger);

    color:#fff;

}

.btn-success{

    background:var(--success);

    color:#fff;

}

/* ======================== */

.form-control{

    width:100%;

    height:48px;

    border:1px solid #ddd;

    border-radius:10px;

    padding:0 15px;

    outline:none;

    transition:.3s;

}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(37,211,102,.15);

}

/* ======================== */

.table{

    width:100%;

    border-collapse:collapse;

}

.table th{

    background:var(--primary);

    color:#fff;

    padding:12px;

}

.table td{

    padding:12px;

    border-bottom:1px solid #eee;

}

/* ======================== */

.badge{

    padding:6px 12px;

    border-radius:30px;

    color:#fff;

    font-size:12px;

}

.bg-success{

    background:var(--success);

}

.bg-danger{

    background:var(--danger);

}

.bg-warning{

    background:var(--warning);

    color:#000;

}

/* ======================== */

.page-title{

    font-size:28px;

    font-weight:700;

    margin-bottom:20px;

}

/* ======================== */

.shadow{

    box-shadow:var(--shadow);

}

.radius{

    border-radius:var(--radius);

}

/* ======================== */

.text-center{

    text-align:center;

}

.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}
.mt-4{margin-top:40px;}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:40px;}

/* ======================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:50px;

}

/* ======================== */

header{

    background:#fff;

    box-shadow:0 2px 10px rgba(0,0,0,.05);

}

footer{

    background:#fff;

    padding:20px;

    text-align:center;

    color:#666;

    margin-top:40px;

}

/* ======================== */

@media(max-width:768px){

.container{

width:96%;

}

}
/* ===========================================
   RESPONSIVE MOBILE
=========================================== */

@media (max-width: 768px) {

    .navbar-brand strong{
        font-size:20px !important;
    }

    .navbar-brand img{
        width:42px;
        height:42px;
    }

    .navbar-nav{
        padding-top:15px;
        text-align:center;
    }

    .navbar-nav .nav-item{
        margin-bottom:10px;
    }

    .navbar-nav .btn{
        width:100%;
    }

    h1.display-4{
        font-size:2rem !important;
        text-align:center;
    }

    .lead{
        font-size:1rem;
        text-align:center;
    }

    .badge{
        display:block;
        width:max-content;
        margin:0 auto 15px;
    }

    .hero-buttons{
        display:flex;
        flex-direction:column;
        gap:12px;
        margin-top:30px;
    }

    .hero-buttons .btn{
        width:100%;
        margin:0 !important;
    }

    .hero-image{
        max-width:200px !important;
        margin-top:20px;
    }

    .card{
        border-radius:18px;
    }

    .card h4{
        font-size:20px;
    }

    footer{
        font-size:14px;
    }

}/*=================================================
LOGIN RESPONSIVE
=================================================*/

.login-logo{

    width:35px !important;
    height:35px !important;
    object-fit:cover;

}
/*====================================================
RESPONSIVE DASHBOARD DIFFUSEUR
====================================================*/

@media (max-width:768px){

.hero{

padding:18px;

border-radius:18px;

}



.hero h2{

font-size:22px;

margin-bottom:4px;

}

.hero .opacity-75{

font-size:14px;

}

.hero small{

font-size:13px;

}

.balance{

font-size:28px;

font-weight:700;

text-align:right;

line-height:1.1;

}

.hero .btn{

grid-column:1 / 3;

width:100%;

margin-top:15px;

}

.stat-card{

padding:18px !important;

}

.value{

font-size:22px;

}

.icon-box{

width:48px;

height:48px;

font-size:20px;

}

.quick-btn{

padding:13px;

font-size:15px;

}

.row.mt-4 .col-md-4{

margin-bottom:10px;

}

}
    .container{

        padding-left:10px;
        padding-right:10px;

    }

    .card{

        border-radius:20px !important;

    }

    .card-body{

        padding:25px !important;

    }


    h2{

        font-size:28px;

    }

    .form-control{

        min-height:50px;

        font-size:16px;

    }

    .btn{

        min-height:48px;

        font-size:16px;

    }

    #togglePassword{

        min-width:95px;

    }

    .login-options{

        display:flex;

        flex-direction:column;

        gap:15px;

    }

    .login-options a{

        text-align:center;

    }


/*==================================
LOGIN MODERNE
==================================*/

.login-page{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(135deg,#f9fcfa,#ccebe7);

    padding:20px;

}

.login-page .card{

    width:100%;

    max-width:450px;

    border:none;

    border-radius:25px;

    box-shadow:0 20px 60px rgba(0,0,0,.15);

}

.login-logo{

    width:55px;

    height:55px;

    border-radius:50%;

    object-fit:cover;

}

.login-page h2{

    font-size:30px;

    font-weight:700;

}

.login-page p{

    color:#6c757d;

}

.form-control{

    height:55px;

    border-radius:12px;

}

.form-control:focus{

    border-color:#25D366;

    box-shadow:0 0 0 .2rem rgba(37,211,102,.20);

}

.input-group .btn{

    border-radius:0 12px 12px 0;

}

#togglePassword{

    width:55px;

    min-width:55px;

    padding:0;

}

#togglePassword i{

    font-size:20px;

}

.btn-success{

    height:55px;

    border-radius:12px;

    font-weight:600;

}

.login-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.login-options a{

    font-size:14px;

}

@media(max-width:768px){

    .login-page{

        padding:15px;

    }

    .login-page .card{

        border-radius:20px;

    }

    .login-logo{

        width:45px;

        height:45px;

    }

    .login-page h2{

        font-size:25px;

    }

    .login-options{

        flex-direction:column;

        gap:12px;

        align-items:flex-start;

    }

    .login-options a{

        align-self:center;

    }

} /*====================================================
RESPONSIVE DASHBOARD DIFFUSEUR
====================================================*/

@media (max-width:768px){

.hero{

padding:20px;

border-radius:18px;

text-align:center;

}

.hero .d-flex{

flex-direction:column;

align-items:center !important;

}

.hero h2{

font-size:24px;

margin-bottom:5px;

}

.balance{

font-size:30px;

line-height:1.2;

}

.hero small{

font-size:14px;

}

.hero .btn{

margin-top:20px;

width:100%;

}

.stat-card{

padding:20px !important;

}

.value{

font-size:22px;

}

.icon-box{

width:50px;

height:50px;

font-size:20px;

}

.quick-btn{

padding:13px;

font-size:15px;

}

.row.mt-4 .col-md-4{

margin-bottom:10px;

}

}
.hero-top{

display:flex;

align-items:center;

margin-bottom:18px;

}

.hero-top h2{

margin:0;

font-size:28px;

font-weight:700;

}

.hero-top span{

font-weight:500;

}

.hero-bottom{

display:flex;

justify-content:space-between;

align-items:center;

gap:20px;

}

.balance-box small{

display:block;

font-size:14px;

opacity:.9;

}

.balance{

font-size:28px;

font-weight:700;

}

@media(max-width:768px){

.hero{

padding:18px;

}

.hero-top h2{

font-size:18px;

}

.hero-bottom{

display:flex;

justify-content:space-between;

align-items:center;

gap:10px;

}

.balance{

font-size:20px;

}

.balance-box small{

font-size:12px;

}

.hero-bottom .btn{

width:auto;

padding:10px 14px;

font-size:13px;

white-space:nowrap;

}

} /*=========================================
RETRAIT RESPONSIVE MOBILE
=========================================*/

@media (max-width:768px){

.header-card{

padding:18px;

border-radius:18px;

}

.header-card .d-flex{

display:grid;

grid-template-columns:1fr auto;

align-items:center;

gap:10px;

}

.header-card h2{

font-size:20px;

margin-bottom:5px;

}

.header-card p{

font-size:13px;

margin:0;

}

.balance{

font-size:22px;

font-weight:700;

text-align:right;

white-space:nowrap;

}

.card-box{

border-radius:18px;

}

.card-body{

padding:20px !important;

}

.form-control-lg{

font-size:15px;

height:48px;

}

.method-card{

padding:12px;

border-radius:15px;

}

.method-card img{

width:50px;

height:50px;

}

.method-card h6{

font-size:13px;

margin-bottom:0;

}

.alert{

font-size:14px;

}

.alert h4,

.alert h5{

font-size:18px;

}

.btn-lg{

height:50px;

font-size:15px;

}

}