/*
 * VehicleWatch Melbourne
 * Sighting claim-pass success screen
 */

.sighting-success-header {
    padding: 22px;
    margin-bottom: 20px;

    border:
        1px solid #bbf7d0;

    border-left:
        6px solid #16a34a;

    border-radius: 10px;

    background:
        #f0fdf4;
}

.sighting-success-header h1 {
    margin:
        0 0 8px;

    color:
        #14532d;
}

.sighting-success-header p {
    margin: 0;

    color:
        #166534;

    line-height:
        1.55;
}


.claim-pass-section {
    margin-top: 20px;
    padding: 24px;

    border:
        2px solid #f59e0b;

    border-radius: 12px;

    background:
        #fffbeb;
}

.claim-pass-heading {
    display: flex;

    gap: 12px;

    align-items:
        flex-start;
}

.claim-pass-number {
    display: flex;

    width: 34px;
    height: 34px;

    flex:
        0 0 34px;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        999px;

    background:
        #d97706;

    color:
        white;

    font-size:
        16px;

    font-weight:
        900;
}

.claim-pass-heading h2 {
    margin:
        0 0 5px;

    padding: 0;

    border: 0;

    color:
        #78350f;

    font-size:
        22px;
}

.claim-pass-heading p {
    margin: 0;

    color:
        #92400e;

    line-height:
        1.5;
}


.claim-pass-label {
    margin-top: 18px;

    color:
        #374151;

    font-size:
        13px;

    font-weight:
        900;
}

.claim-pass-token-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 8px;

    align-items:
        stretch;

    margin-top: 6px;
}

.claim-pass-token-row .token {
    margin: 0;
    min-width: 0;
}

.claim-pass-copy-button {
    min-width: 120px;

    margin: 0;

    padding:
        10px 14px;

    background:
        #475569;

    color:
        white;

    white-space:
        nowrap;
}

.claim-pass-copy-button:hover {
    background:
        #334155;
}


.claim-pass-main-button {
    display: block;

    width: 100%;

    min-height: 58px;

    margin:
        22px 0 10px;

    padding:
        14px 18px;

    border: 0;

    border-radius:
        9px;

    background:
        #d97706;

    color:
        white;

    font-size:
        17px;

    font-weight:
        900;

    cursor:
        pointer;
}

.claim-pass-main-button:hover {
    background:
        #b45309;
}


.claim-pass-secondary {
    display: grid;

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

    gap: 8px;

    margin-top: 8px;
}

.claim-pass-secondary button {
    min-height: 46px;

    margin: 0;

    padding:
        10px 12px;

    border:
        1px solid #d1d5db;

    border-radius:
        7px;

    background:
        white;

    color:
        #374151;

    font-size:
        13px;

    font-weight:
        800;

    cursor:
        pointer;
}

.claim-pass-secondary button:hover {
    background:
        #f8fafc;
}


.claim-pass-backup {
    margin-top: 14px;

    padding:
        11px 13px;

    border-radius:
        7px;

    background:
        rgba(
            255,
            255,
            255,
            0.72
        );

    color:
        #78350f;

    font-size:
        13px;

    line-height:
        1.5;
}

.claim-pass-private {
    margin-top: 11px;

    color:
        #991b1b;

    font-size:
        12px;

    font-weight:
        800;

    line-height:
        1.5;
}

.claim-pass-purpose {
    margin-top: 11px;

    color:
        #374151;

    font-size:
        13px;

    line-height:
        1.5;
}


.claim-pass-confirm {
    display: flex;

    gap: 10px;

    align-items:
        flex-start;

    margin-top: 16px;

    padding: 13px;

    border:
        1px solid #fcd34d;

    border-radius:
        8px;

    background:
        white;

    cursor:
        pointer;
}

.claim-pass-confirm input {
    width: auto;

    margin-top: 3px;

    transform:
        scale(1.25);
}

.claim-pass-confirm-text {
    color:
        #78350f;

    font-size:
        13px;

    font-weight:
        800;

    line-height:
        1.45;
}


.claim-pass-status {
    display: none;

    margin-top: 12px;

    padding:
        10px 12px;

    border-radius:
        7px;

    background:
        #eff6ff;

    color:
        #1d4ed8;

    font-size:
        12px;

    font-weight:
        800;

    line-height:
        1.45;
}

.claim-pass-status.visible {
    display: block;
}


.claim-pass-section.saved {
    border-color:
        #86efac;

    background:
        #f0fdf4;
}

.claim-pass-section.saved
.claim-pass-number {
    background:
        #16a34a;
}

.claim-pass-section.saved
.claim-pass-heading h2,

.claim-pass-section.saved
.claim-pass-heading p,

.claim-pass-section.saved
.claim-pass-confirm-text {
    color:
        #166534;
}


@media (max-width: 600px) {

    .claim-pass-section {
        padding:
            18px 15px;
    }

    .claim-pass-main-button {
        min-height:
            62px;

        font-size:
            18px;
    }

    .claim-pass-secondary {
        grid-template-columns:
            1fr;
    }

    .claim-pass-secondary button {
        min-height:
            50px;

        font-size:
            14px;
    }

    .claim-pass-token-row {
        grid-template-columns:
            1fr;
    }

    .claim-pass-copy-button {
        width: 100%;

        min-height:
            48px;
    }
}
