/*
=========================================================
 Clevedon Rugby Club Digital Membership PWA
 File: style.css
 Version: v2.0.0
=========================================================
*/

:root{

    --blue:#003B73;
    --gold:#D4AF37;
    --white:#ffffff;
    --grey:#ececec;
    --text:#222;

}

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

body{

    background:#e5e5e5;

    font-family:-apple-system,
                BlinkMacSystemFont,
                "Segoe UI",
                sans-serif;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:100vh;

    padding:20px;

}

/* Membership Card */

.membership-card{

    width:380px;

    max-width:100%;

    background:linear-gradient(
        180deg,
        var(--blue),
        #01284d
    );

    color:white;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.35);

}

/* Header */

.club-header{

    text-align:center;

    padding:30px 25px 15px;

}

.club-header img{

    width:90px;

    margin-bottom:15px;

}

.club-header h1{

    font-size:1.6rem;

    letter-spacing:1px;

}

/* Gold Divider */

.gold-bar{

    height:6px;

    background:var(--gold);

}

/* Member */

.member-details{

    padding:25px;

}

.detail{

    margin-bottom:18px;

}

.detail label{

    display:block;

    color:#d0d0d0;

    font-size:.8rem;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:4px;

}

.detail span{

    font-size:1.15rem;

    font-weight:600;

}

/* QR */

#qr-section{

    background:white;

    text-align:center;

    padding:25px;

}

#member-qr{

    display:inline-block;

    cursor:pointer;

}

/* Footer */

.footer{

    background:#f4f4f4;

    color:#444;

    text-align:center;

    padding:14px;

    font-size:.85rem;

}

/* QR Overlay */

#qr-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:1000;

}

#fullscreen-qr{

    width:90vw;

    max-width:650px;

    background:white;

    padding:20px;

    border-radius:20px;

}

.hidden{

    display:none!important;

}

/* Mobile */

@media(max-width:450px){

    .membership-card{

        width:100%;

    }

}