.pcv-wrapper {
    max-width: 480px;
    margin: 40px auto;
    padding: 45px;
    background: #ffffff;
    border-radius: 16px;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.pcv-header h2 { 
    margin: 0 0 12px 0; 
    color: #222; 
    font-size: 24px; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
}

.pcv-header p { 
    color: #666; 
    font-size: 15px; 
    margin-bottom: 35px; 
    line-height: 1.6;
}

.pcv-input-group {
    margin-bottom: 25px;
}

#pcv-code {
    width: 100%; 
    padding: 16px; 
    font-size: 18px; 
    text-align: center;
    border: 2px solid #eef0f5; 
    border-radius: 10px; 
    background-color: #f8f9fc;
    box-sizing: border-box; 
    color: #333; 
    font-weight: 600;
    transition: all 0.3s ease;
}
#pcv-code:focus { 
    border-color: #333; 
    background-color: #fff; 
    outline: none; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
#pcv-code::placeholder {
    color: #b0b5c0;
    font-weight: 400;
}

#pcv-submit {
    background: #111; 
    color: #fff; 
    border: none; 
    padding: 0px 30px; 
    height: 50px;
    line-height: 50px;
    font-size: 16px; 
    font-weight: 700; 
    text-transform: uppercase;
    border-radius: 10px; 
    cursor: pointer; 
    width: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    box-sizing: border-box;
    letter-spacing: 1px;
}
#pcv-submit:hover { 
    background: #333; 
    transform: translateY(-3px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
#pcv-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
#pcv-submit:disabled {
    background: #ccc;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

#pcv-result { 
    margin-top: 30px; 
    display: none; 
    text-align: left; 
}

.pcv-success-container { 
    animation: slideUpFade 0.5s ease; 
}

.pcv-details {
    background: #f8f9fc; 
    padding: 20px; 
    border-radius: 12px; 
    margin-bottom: 20px; 
    border: 1px solid #eef0f5;
}

.pcv-row {
    display: flex; 
    justify-content: space-between; 
    border-bottom: 1px solid #eef0f5; 
    padding: 10px 0;
}
.pcv-row:last-child { border-bottom: none; }
.pcv-label { font-weight: 600; color: #777; font-size: 14px; }
.pcv-val { font-weight: 700; color: #222; font-size: 14px; }

.pcv-message {
    padding: 16px; 
    border-radius: 10px; 
    font-weight: 700; 
    text-align: center;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
}
.pcv-success { 
    background-color: #e3f9e5; 
    color: #1f7a36; 
    border: 1px solid #c9ebcf; 
    font-size: 16px; 
}
.pcv-error { 
    background-color: #fff0f2; 
    color: #d63348; 
    border: 1px solid #fadbdc; 
    text-align: center; 
    justify-content: center; 
    display: flex; 
}

.pcv-redirect-notice {
    margin-top: 15px;
    font-size: 13px;
    color: #666;
    text-align: center;
    font-style: italic;
    animation: pulse 2s infinite;
}

.dashicons { font-size: 22px; width: 22px; height: 22px; vertical-align: middle; }

@keyframes slideUpFade { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}
@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}