/* =========================================================
   SUN SHINE CLUB
   MEMBER VERIFICATION
========================================================= */

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

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
   BODY
========================================================= */

body {

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 30px 20px;

    color: #1e293b;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(100,181,246,.45),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(25,118,210,.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0b3d91 0%,
            #1565c0 45%,
            #42a5f5 100%
        );

    position: relative;

    overflow-x: hidden;
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

body::before {

    content: "";

    position: fixed;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.08);

    top: -120px;
    right: -100px;

    pointer-events: none;
}


body::after {

    content: "";

    position: fixed;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.06);

    bottom: -100px;
    left: -80px;

    pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.verify-container {

    width: 100%;

    max-width: 560px;

    position: relative;

    z-index: 2;
}


/* =========================================================
   MAIN CARD
========================================================= */

.verify-card {

    width: 100%;

    background:
        rgba(255,255,255,.98);

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

    border-radius: 28px;

    padding: 42px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.22);

    animation:
        cardEnter .55s ease;

    overflow: hidden;

    position: relative;
}


/* top accent */

.verify-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            #0d47a1,
            #1976d2,
            #64b5f6
        );
}


/* =========================================================
   BRAND
========================================================= */

.brand {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    margin-bottom: 22px;
}


.logo-ring {

    width: 92px;
    height: 92px;

    border-radius: 50%;

    padding: 5px;

    background:
        linear-gradient(
            135deg,
            #0d47a1,
            #42a5f5
        );

    box-shadow:
        0 10px 25px rgba(13,71,161,.20);

    display: flex;

    justify-content: center;

    align-items: center;

    margin-bottom: 12px;
}


.club-logo {

    width: 100%;
    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    background: #ffffff;

    display: block;
}


.brand-name {

    color: #1565c0;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =========================================================
   VERIFICATION ICON
========================================================= */

.verification-icon {

    width: 58px;
    height: 58px;

    margin: 8px auto 16px;

    border-radius: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #1565c0;

    background:
        #e3f2fd;

    font-size: 25px;
}


/* =========================================================
   HEADINGS
========================================================= */

.verify-card h1 {

    text-align: center;

    color: #0d47a1;

    font-size: 30px;

    line-height: 1.25;

    margin-bottom: 12px;

    font-weight: 750;
}


.intro-text {

    max-width: 440px;

    margin: auto;

    text-align: center;

    color: #64748b;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   INFORMATION CARDS
========================================================= */

.verification-info {

    display: grid;

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

    gap: 12px;

    margin-top: 25px;
}


.info-item {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px;

    border-radius: 13px;

    background: #f8fbff;

    border: 1px solid #e2e8f0;
}


.info-item > i {

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: #e3f2fd;

    color: #1565c0;

    font-size: 14px;
}


.info-item div {

    display: flex;

    flex-direction: column;

    min-width: 0;
}


.info-item strong {

    color: #334155;

    font-size: 12px;

    line-height: 1.3;
}


.info-item span {

    color: #94a3b8;

    font-size: 10px;

    margin-top: 2px;

    line-height: 1.35;
}


/* =========================================================
   SEARCH FORM
========================================================= */

.search-form {

    margin-top: 27px;

    display: flex;

    flex-direction: column;

    gap: 10px;
}


.search-form label {

    color: #334155;

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   INPUT
========================================================= */

.input-wrapper {

    position: relative;

    width: 100%;
}


.input-wrapper > i {

    position: absolute;

    left: 17px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #64748b;

    font-size: 15px;

    pointer-events: none;
}


.search-form input {

    width: 100%;

    height: 54px;

    padding:
        0 17px 0 45px;

    border:
        2px solid #e2e8f0;

    border-radius: 13px;

    outline: none;

    background: #ffffff;

    color: #1e293b;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: .5px;

    text-transform: uppercase;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.search-form input::placeholder {

    color: #94a3b8;

    font-weight: 400;

    text-transform: none;

    letter-spacing: 0;
}


.search-form input:focus {

    border-color: #1976d2;

    background: #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(25,118,210,.12);
}


/* =========================================================
   VERIFY BUTTON
========================================================= */

.search-form button {

    width: 100%;

    height: 54px;

    margin-top: 5px;

    border: none;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #0d47a1,
            #1976d2
        );

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    box-shadow:
        0 10px 25px
        rgba(13,71,161,.20);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.search-form button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 30px
        rgba(13,71,161,.28);
}


.search-form button:active {

    transform:
        translateY(0);
}


.search-form button i {

    font-size: 16px;
}


/* =========================================================
   QR SCAN NOTE
========================================================= */

.scan-note {

    margin-top: 22px;

    padding: 15px;

    display: flex;

    align-items: center;

    gap: 13px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #f8fbff,
            #eef7ff
        );

    border:
        1px solid #dbeafe;
}


.scan-icon {

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 11px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    color: #1565c0;

    font-size: 20px;

    box-shadow:
        0 4px 12px
        rgba(21,101,192,.10);
}


.scan-note div:last-child {

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.scan-note strong {

    color: #334155;

    font-size: 13px;
}


.scan-note span {

    color: #64748b;

    font-size: 11px;

    line-height: 1.45;
}


/* =========================================================
   FOOTER
========================================================= */

.verification-footer {

    margin-top: 25px;

    padding-top: 18px;

    border-top:
        1px solid #eef2f7;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    color: #94a3b8;

    font-size: 11px;
}


.verification-footer i {

    color: #1976d2;

    font-size: 11px;
}


/* =========================================================
   LOADING
========================================================= */

.result-section {

    width: 100%;
}


.loading {

    text-align: center;

    padding: 45px 20px;
}


.loading-spinner {

    width: 72px;
    height: 72px;

    margin: 0 auto 20px;

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #e3f2fd;

    color: #1976d2;

    font-size: 30px;
}


.loading h2 {

    color: #1565c0;

    font-size: 23px;

    margin-bottom: 7px;
}


.loading p {

    color: #64748b;

    font-size: 14px;
}


/* =========================================================
   VERIFIED RESULT
========================================================= */

.verified {

    text-align: center;
}


.verified .club-logo {

    width: 82px;
    height: 82px;

    margin: 0 auto 12px;

    border: 4px solid #1976d2;
}


.verified h1 {

    font-size: 24px;

    margin-bottom: 6px;
}


.verified h2 {

    font-size: 24px;

    margin-bottom: 10px;
}


/* =========================================================
   PROFILE PHOTO
========================================================= */

.profile-photo {

    width: 150px;
    height: 150px;

    border-radius: 20%;

    object-fit: cover;

    display: block;

    margin: 20px auto;

    border:
        5px solid #1976d2;

    box-shadow:
        0 10px 25px
        rgba(13,71,161,.18);
}


/* =========================================================
   MEMBER TABLE
========================================================= */

.member-table {

    width: 100%;

    margin-top: 20px;

    border-collapse: separate;

    border-spacing: 0;

    overflow: hidden;

    border:
        1px solid #e2e8f0;

    border-radius: 14px;

    font-size: 14px;
}


.member-table tr:nth-child(even) {

    background: #f8fbff;
}


.member-table th {

    width: 38%;

    padding: 12px;

    background: #e3f2fd;

    color: #1565c0;

    text-align: left;

    font-weight: 700;
}


.member-table td {

    padding: 12px;

    text-align: left;

    color: #334155;

    border-bottom:
        1px solid #eef2f7;

    font-weight: 500;

    word-break: break-word;
}


.member-table tr:last-child td {

    border-bottom: none;
}


/* =========================================================
   STATUS
========================================================= */

.status {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    margin-top: 18px;

    padding: 8px 20px;

    border-radius: 50px;

    font-size: 13px;

    font-weight: 700;

    color: #ffffff;
}


.status.active {

    background: #2e7d32;
}


.status.expired {

    background: #d32f2f;
}


/* =========================================================
   SEARCH AGAIN
========================================================= */

.search-again-btn {

    margin-top: 24px;

    padding: 12px 23px;

    border: none;

    border-radius: 11px;

    background: #1565c0;

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;
}


.search-again-btn:hover {

    background: #0d47a1;

    transform:
        translateY(-2px);
}


/* =========================================================
   INVALID
========================================================= */

.invalid {

    text-align: center;

    padding: 15px 0;
}


.invalid h1 {

    color: #1565c0;

    font-size: 25px;

    margin-bottom: 5px;
}


.invalid h2 {

    margin-top: 10px;

    color: #e53935;

    font-size: 24px;
}


.invalid p {

    margin-top: 10px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes cardEnter {

    from {

        opacity: 0;

        transform:
            translateY(25px)
            scale(.98);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    body {

        padding:
            18px 12px;
    }


    .verify-card {

        padding:
            30px 18px;

        border-radius: 22px;
    }


    .logo-ring {

        width: 78px;
        height: 78px;
    }


    .verification-icon {

        width: 52px;
        height: 52px;

        font-size: 22px;
    }


    .verify-card h1 {

        font-size: 25px;
    }


    .intro-text {

        font-size: 14px;
    }


    .verification-info {

        grid-template-columns: 1fr;
    }


    .info-item {

        padding: 12px;
    }


    .search-form input {

        height: 52px;

        font-size: 15px;
    }


    .search-form button {

        height: 52px;
    }


    .scan-note {

        align-items: flex-start;
    }


    .scan-icon {

        width: 38px;
        height: 38px;

        font-size: 17px;
    }


    .scan-note strong {

        font-size: 12px;
    }


    .scan-note span {

        font-size: 10px;
    }


    .verification-footer {

        font-size: 10px;

        text-align: center;
    }


    .profile-photo {

        width: 125px;
        height: 125px;
    }


    .member-table {

        font-size: 12px;
    }


    .member-table th,
    .member-table td {

        padding: 10px 8px;
    }


    .verified h2 {

        font-size: 21px;
    }


    .search-again-btn {

        width: 100%;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .verify-card {

        padding:
            25px 14px;
    }


    .verify-card h1 {

        font-size: 22px;
    }


    .brand-name {

        font-size: 11px;

        letter-spacing: 1.5px;
    }


    .member-table th {

        width: 40%;
    }

}