/* ==========================================
   FAMESMS DASHBOARD
========================================== */

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

body{

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

    background:#050816;

    color:#fff;

    padding:20px 20px 100px;

}


/* Container */

.container{

    max-width:1200px;

    margin:auto;

}


/* Header */

.header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:35px;

}

.header h2{

    font-size:30px;

    margin-bottom:8px;

}

.header p{

    color:#b8c0d4;

    font-size:16px;

}


.header-right{

    display:flex;

    align-items:center;

    gap:15px;

}


.wallet{

    background:#111827;

    padding:14px 20px;

    border-radius:12px;

    font-weight:600;

    border:1px solid rgba(255,255,255,.08);

}


.logout-btn{

    border:none;

    background:#ef4444;

    color:#fff;

    padding:14px 20px;

    border-radius:12px;

    cursor:pointer;

    font-weight:600;

}

.logout-btn:hover{

    opacity:.9;

}


/* Cards */

.cards{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-bottom:40px;

}


.card{

    background:#111827;

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:30px;

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.card:hover{

    transform:translateY(-5px);

    border-color:#00d4ff;

}


.card h3{

    font-size:22px;

}


/* Recent */

.recent{

    background:#111827;

    border-radius:20px;

    padding:25px;

    border:1px solid rgba(255,255,255,.08);

}


.recent-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

    flex-wrap:wrap;

    gap:15px;

}


#refreshBtn{

    background:#00d4ff;

    color:#000;

    border:none;

    padding:10px 16px;

    border-radius:10px;

    cursor:pointer;

    font-weight:600;

}


.table-wrapper{

    overflow-x:auto;

}


table{

    width:100%;

    border-collapse:collapse;

}


th{

    background:#1f2937;

    padding:15px;

    text-align:left;

}


td{

    padding:15px;

    border-top:1px solid rgba(255,255,255,.08);

}


/* Bottom Navigation */

.bottom-nav{

    position:fixed;

    bottom:0;

    left:0;

    width:100%;

    background:#0b1120;

    display:flex;

    justify-content:space-around;

    padding:18px 0;

    border-top:1px solid rgba(255,255,255,.08);

}


.bottom-nav a{

    color:#fff;

    text-decoration:none;

    font-weight:600;

}


/* Responsive */

@media(max-width:768px){

.cards{

    grid-template-columns:repeat(2,1fr);

    gap:15px;

}

.header{

    flex-direction:column;

    align-items:flex-start;

}

.header-right{

    width:100%;

    justify-content:space-between;

}
   
.card{

    padding:18px;

    text-align:center;

}

.card h3{

    font-size:18px;

    line-height:1.4;

}
   
.header h2{

    font-size:24px;

}

}

.search-box{
    width:100%;
    padding:15px 18px;
    margin:20px 0 30px;
    border:none;
    outline:none;
    border-radius:14px;
    background:#151c2c;
    color:#fff;
    font-size:16px;
    border:1px solid rgba(255,255,255,.08);
}

.search-box::placeholder{
    color:#9ca3af;
}

.buy-btn{
    width:100%;
    margin-top:18px;
    padding:14px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#4f46e5,#00d4ff);
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

.buy-btn:hover{
    opacity:.95;
}

.card{
    padding:25px;
    min-height:170px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.card h3{
    font-size:24px;
    margin-bottom:20px;
    text-align:center;
}

.logout-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px 22px;
    border-radius:12px;
    text-decoration:none;
}

/* ===========================
   Countries Page
=========================== */

.country-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.country-card{
    background:#111827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:25px;
    text-align:center;
    transition:.3s;
}

.country-card:hover{
    transform:translateY(-5px);
    border-color:#00d4ff;
}

.country-card h3{
    font-size:22px;
    margin-bottom:18px;
}

.country-card button{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#4f46e5,#00d4ff);
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

@media(max-width:768px){

.country-grid{
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.country-card{
    padding:18px;
}

.country-card h3{
    font-size:18px;
}

}
