*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{

min-height:100vh;

background:url("../assets/IMG_0947.JPG");

background-size:cover;
background-position:center;
background-repeat:no-repeat;
background-attachment:fixed;

padding:20px;

color:white;

}

.container{

max-width:900px;

margin:auto;

}

.page-header{

margin-bottom:25px;

}

.page-header h1{

font-size:28px;

margin-bottom:5px;

}

.page-header p{

color:#d1d1d1;

}

.card{

background:rgba(0,0,0,.45);

backdrop-filter:blur(18px);

-webkit-backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.08);

border-radius:25px;

padding:25px;

margin-bottom:20px;

}

.card h2{

margin-bottom:15px;

color:#D4AF37;

}

.reward-list{

max-height:300px;

overflow-y:auto;

padding-right:5px;

}

.reward-item{

display:flex;

justify-content:space-between;

align-items:center;

gap:15px;

padding:15px;

border-radius:15px;

background:rgba(255,255,255,.05);

margin-bottom:12px;

}

.reward-item h3{

font-size:16px;

margin-bottom:5px;

}

.reward-item p{

font-weight:600;

margin-bottom:5px;

}

.reward-item small{

opacity:.8;

}

.actions{

display:flex;

gap:10px;

align-items:center;

}

/* Approve Redeem Button */

.approve-redeem-btn{

padding:8px 14px;

border:none;

border-radius:8px;

cursor:pointer;

background:#2ecc71;

color:white;

font-weight:600;

font-size:13px;

transition:.3s;

white-space:nowrap;

}

.approve-redeem-btn:hover{

background:#27ae60;

transform:translateY(-2px);

box-shadow:0 8px 20px rgba(46,204,113,.35);

}

.approve-redeem-btn:active{

transform:scale(.98);

}

/* Back Button */

.top-back{

margin-bottom:20px;

}

.back-btn{

display:inline-block;

text-decoration:none;

color:white;

padding:10px 18px;

border-radius:50px;

background:rgba(255,255,255,.08);

transition:.3s;

}

.back-btn:hover{

background:#D4AF37;

color:black;

}

/* Toast */

#toast{

position:fixed;

top:20px;

left:50%;

transform:translateX(-50%) translateY(-100px);

padding:14px 20px;

border-radius:12px;

color:white;

opacity:0;

transition:.3s;

z-index:9999;

}

#toast.show{

opacity:1;

transform:translateX(-50%) translateY(0);

}

#toast.success{

background:#2ecc71;

}

#toast.error{

background:#e74c3c;

}

/* Mobile */

@media(max-width:768px){

.reward-item{

display:flex;

flex-direction:row;

justify-content:space-between;

align-items:center;

gap:10px;

}

.actions{

width:auto;

}

.approve-redeem-btn{

padding:6px 12px;

font-size:12px;

}

.page-header h1{

font-size:24px;

}

.card{

padding:18px;

}

}


.refresh-btn{
    position:absolute;
    top:20px;
    right:20px;

    width:42px;
    height:42px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(
        135deg,
        #FFD700,
        #FFB700
    );

    color:#111;
    font-size:20px;
    font-weight:700;

    cursor:pointer;

    box-shadow:
    0 4px 15px rgba(255,215,0,.35);

    transition:.3s;
}

.refresh-btn:hover{
    transform:rotate(180deg) scale(1.08);
}


@media(max-width:768px){

.refresh-btn{

width:36px;
height:36px;

font-size:16px;

top:12px;
right:12px;

}

}


.export-section{

display:flex;

justify-content:center;

margin:35px 0;

}

#exportRewards{

padding:15px 35px;

border:none;

border-radius:50px;

background:#16a34a;

color:white;

font-size:16px;

font-weight:600;

cursor:pointer;

transition:.3s;

box-shadow:0 10px 25px rgba(22,163,74,.35);

}

#exportRewards:hover{

background:#15803d;

transform:translateY(-3px);

box-shadow:0 15px 30px rgba(22,163,74,.45);

}