/**
 * Locker CSS
 */
.yt-subscribe-button {
    background-color: #c4302b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    min-width: 200px;
    position: relative;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
    margin: 10px auto;
}

.yt-subscribe-button:hover {
    background-color: #e62117;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.yt-subscribe-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.yt-subscribe-button.subscribed {
    background-color: #2ba84a;
    cursor: default;
}

.yt-subscribe-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.yt-subscribe-button.loading {
    color: transparent;
    pointer-events: none;
}

.yt-subscribe-button.loading:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: button-loading 0.8s linear infinite;
}

.yt-subscribe-locker {
    text-align: center;
    padding: 30px;
    margin: 20px auto;
    border: 2px solid #e62117;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.yt-subscribe-locker p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
    line-height: 1.4;
}

.yt-subscribe-locker-error {
    color: #c4302b;
    padding: 10px;
    border: 1px solid #c4302b;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
}

@keyframes button-loading {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
