* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    background: #f4f6f8;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    color: #20252b;
}

.container {
    max-width: 520px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 12px 40px rgba(0,0,0,.10);
}

h1 {
    font-size: 30px;
    line-height: 1.15;
    margin: 20px 0;
}

h2 {
    font-size: 22px;
    line-height: 1.35;
}

.description {
    font-size: 17px;
    line-height: 1.6;
}

.status {
    display: inline-block;
    border-radius: 30px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 700;
}

.status.valid {
    background: #e7f7ed;
    color: #168141;
}

.status.active {
    background: #fff4d5;
    color: #946900;
}

.info-box {
    background: #f6f7f8;
    border-radius: 14px;
    padding: 16px;
    margin-top: 15px;
}

.info-box span {
    display: block;
    font-size: 13px;
    color: #6d737a;
    margin-bottom: 5px;
}

.info-box strong {
    display: block;
    font-size: 17px;
}

.button {
    display: inline-block;
    width: 100%;
    padding: 17px 20px;
    margin-top: 20px;
    border: 0;
    border-radius: 13px;
    text-align: center;
    text-decoration: none;
    background: #20252b;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.button:hover {
    opacity: .9;
}

.button.redeem {
    margin-top: 30px;
    font-size: 19px;
}

.button.secondary {
    background: #e8eaec;
    color: #30343a;
}

.success {
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    font-size: 65px;
    line-height: 100px;
    font-weight: 700;
}

.error {
    text-align: center;
}

.error-icon {
    font-size: 70px;
    color: #bd1e2c;
}

.coupon-title {
    font-size: 22px;
    font-weight: 700;
}

.nfc-symbol {
    margin: 40px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #20252b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    font-weight: 700;
}

.countdown {
    margin-top: 30px;
    padding: 18px;
    border-radius: 12px;
    background: #fff4d5;
    text-align: center;
    font-size: 18px;
}

.countdown strong {
    font-size: 24px;
}

.test-box {
    margin-top: 30px;
    padding: 20px;
    border: 2px dashed #bbb;
    border-radius: 14px;
    background: #fafafa;
}

.test-box p {
    font-size: 14px;
    color: #666;
}

.test-coupon {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.test-coupon:last-child {
    border-bottom: 0;
}

.small {
    margin-top: 5px;
    font-size: 13px;
    color: #777;
}

code {
    background: #eee;
    padding: 2px 5px;
    border-radius: 4px;
}

hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid #eee;
}
