.clave-unica-auth-btn {
    background-color: #FF0051;
    color: #fff;
    border: 1px solid #FF0051;
    border-radius: 25px;
    transition: all .4s ease-in-out;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    display: none;
}

.clave-unica-auth-btn:hover:not(:disabled) {
    background-color: #fff;
    color: #FF0051;
    border: 1px solid #FF0051;
}

.clave-unica-auth-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.clave-unica-auth-btn.loading {
    background-color: #FF0051;
    color: #fff;
    border: 1px solid #FF0051;
}

.clave-unica-auth-btn.authenticated {
    background-color: #FF0051;
    color: #fff;
    border: 1px solid #FF0051;
}

.reload-page-btn {
    background-color: #FF0051;
    color: #fff;
    border: 1px solid #FF0051;
    border-radius: 25px;
    transition: all .4s ease-in-out;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.reload-page-btn:hover {
    background-color: #fff;
    color: #FF0051;
    border: 1px solid #FF0051;
}

.wpcf7-form.sent .wpcf7-submit {
    opacity: 0.5;
    cursor: not-allowed;
}

.clave-unica-protected-form {
    transition: opacity 0.3s ease;
}

/* Add this to ensure the button stays hidden */
.wpcf7-form.sent #clave-unica-btn-container,
.wpcf7-form.sent #clave-unica-btn {
    display: none !important;
}

/* Add styles for countdown and reset button */
.form-success-message {
    margin: 20px 0;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 4px;
}

.countdown-reset {
    margin: 10px 0;
    color: #6c757d;
}

.reset-now-btn {
    background-color: #FF0051;
    color: #fff;
    border: 1px solid #FF0051;
    border-radius: 25px;
    transition: all .4s ease-in-out;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 20px;
}

.reset-now-btn:hover {
    background-color: #fff;
    color: #FF0051;
    border: 1px solid #FF0051;
}

/* Add this to ensure the button stays hidden */
.authenticated-state #clave-unica-btn-container,
.authenticated-state #clave-unica-btn {
    display: none !important;
}

#countdown {
position: relative;
margin: auto;
margin-top: 100px;
height: 40px;
width: 40px;
text-align: center;
}

#countdown-number {
color: white;
display: inline-block;
line-height: 40px;
}

.countdown-svg {
position: absolute;
top: 0;
right: 0;
width: 40px;
height: 40px;
transform: rotateY(-180deg) rotateZ(-90deg);
}

.countdown-svg circle {
stroke-dasharray: 113px;
stroke-dashoffset: 0px;
stroke-linecap: round;
stroke-width: 2px;
stroke: white;
fill: none;
animation: countdown 10s linear infinite forwards;
}

@keyframes countdown {
from {
    stroke-dashoffset: 0px;
}
to {
    stroke-dashoffset: 113px;
}
}

.countdown-container {
    display: none;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.countdown-container.visible {
    display: flex;
    justify-content: start;
}

.countdown-message {
    margin-right: 10px;
}

.countdown-timer {
    position: relative;
    height: 30px;
    width: 30px;
    text-align: center;
}

.countdown-number {
    color: #FF0051;
    display: inline-block;
    line-height: 30px;
    font-weight: bold;
    font-size: 12px;
}

.countdown-svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    transform: rotateY(-180deg) rotateZ(-90deg);
}

.countdown-svg circle {
    stroke-dasharray: 85px;
    stroke-dashoffset: 0px;
    stroke-linecap: round;
    stroke-width: 2px;
    stroke: #FF0051;
    fill: none;
}

@keyframes countdown {
    from {
        stroke-dashoffset: 0px;
    }
    to {
        stroke-dashoffset: 85px;
    }
}

.expiration-message {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

#clave-unica-btn {
    display: none;
}