* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}

.redeem-container {
    max-width: 360px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    text-align: center;
    margin: 80px auto;
}

.redeem-container h1 {
    font-size: 1.125rem;
    margin: 0 0 8px;
    color: #333;
    font-weight: 700;
}

.redeem-note {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 24px;
}

.barcode-wrap {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 16px;
}

#barcode {
    max-width: 100%;
    height: auto;
}

.code-text {
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    color: #333;
    margin-top: 8px;
}

.error-container {
    max-width: 360px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    text-align: center;
    margin: 80px auto;
}

.error-container p {
    color: #e53935;
    font-size: 0.95rem;
    line-height: 1.6;
}

.apply-container {
    max-width: 400px;
    width: 90%;
    text-align: center;
    padding: 60px 24px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.apply-container h1 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 120px;
}

.btn-line {
    display: inline-block;
    padding: 20px 55px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background: #2563eb;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    line-height: 1.6;
    text-align: center;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, .35);
}

.btn-line:active {
    transform: translateY(0);
}


p.error {
    color: red;
    margin-bottom: 10px;
}