.wpcf-box {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
}

.wpcf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

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

.wpcf-status-active {
    color: #16803c;
    font-size: 14px;
}

.wpcf-status-ended {
    color: #999;
    font-size: 14px;
}

.wpcf-progress {
    margin-bottom: 20px;
}

.wpcf-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.wpcf-used,
.wpcf-remaining {
    font-weight: 700;
}

.wpcf-progress-bar {
    height: 10px;
    overflow: hidden;
    background: #eee;
    border-radius: 10px;
}

.wpcf-progress-inner {
    height: 100%;
    width: 0;
    background: #222;
    border-radius: 10px;
    transition: width .3s ease;
}

.wpcf-rules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.wpcf-rule {
    padding: 12px;
    background: #f7f7f7;
    border-radius: 6px;
    text-align: center;
}

.wpcf-rule-label {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}

.wpcf-rule strong {
    font-size: 16px;
}

.wpcf-reserve-button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    transition: opacity .2s ease;
}

.wpcf-reserve-button:hover {
    opacity: .85;
}

.wpcf-reserve-button:disabled,
.wpcf-reserve-button.wpcf-disabled {
    cursor: not-allowed;
    opacity: .55;
}

.wpcf-hint {
    margin-top: 10px;
    text-align: center;
    color: #777;
    font-size: 13px;
}

.wpcf-login-message {
    padding: 15px;
    background: #f7f7f7;
    text-align: center;
    border-radius: 6px;
}

.wpcf-login-button {
    display: inline-block;
    margin-left: 8px;
    padding: 7px 15px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.wpcf-login-button:hover {
    color: #fff;
}

.wpcf-qualified {
    margin: 15px 0;
    padding: 13px;
    border-radius: 6px;
    background: #eef9f1;
    color: #16803c;
    text-align: center;
    font-weight: 700;
}

.wpcf-ended-message,
.wpcf-full-message {
    padding: 14px;
    background: #f5f5f5;
    color: #666;
    text-align: center;
    border-radius: 6px;
}

.wpcf-message {
    margin-top: 12px;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}

.wpcf-message.wpcf-success {
    background: #eef9f1;
    color: #16803c;
}

.wpcf-message.wpcf-error {
    background: #fff0f0;
    color: #c62828;
}

.wpcf-loading {
    opacity: .6;
}

@media (max-width: 600px) {

    .wpcf-box {
        padding: 15px;
    }

    .wpcf-title {
        font-size: 19px;
    }

    .wpcf-rules {
        grid-template-columns: 1fr;
    }

}