/* Patreon WooCommerce Guard Styles */

.pwg-patreon-notice {
    background: linear-gradient(135deg, #ff424d 0%, #ff5c5c 100%);
    color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 66, 77, 0.2);
}

.pwg-patreon-notice p {
    margin: 5px 0;
    color: white;
}

.pwg-patreon-notice strong {
    font-size: 16px;
}

.pwg-login-button {
    display: inline-block;
    background: white;
    color: #ff424d;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.pwg-login-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pwg-session-info {
    background: #e7f7ff;
    border-left: 4px solid #0073aa;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.pwg-session-info p {
    margin: 5px 0;
}

/* Download Section */
.pwg-download-section {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
}

.pwg-download-title {
    font-size: 20px;
    margin: 0 0 20px 0;
    color: #333;
}

.pwg-download-button {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white !important;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin: 10px 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.pwg-download-button:hover {
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.pwg-patreon-login-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff424d 0%, #ff5c5c 100%);
    color: white !important;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 66, 77, 0.3);
}

.pwg-patreon-login-button:hover {
    background: linear-gradient(135deg, #ff5c5c 0%, #ff424d 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 66, 77, 0.4);
}

/* Add to Cart yashirish (agar kerak bo'lsa) */
.pwg-protected .cart {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .pwg-download-button,
    .pwg-patreon-login-button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* Button Styles */
.pwg-style-default {
    background: #0073aa;
    color: white !important;
    padding: 12px 24px;
    border-radius: 4px;
}

.pwg-style-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.pwg-style-minimal {
    background: white;
    color: #333 !important;
    border: 2px solid #333;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 500;
}

.pwg-style-success {
    background: #28a745;
    color: white !important;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

/* Disabled state */
.pwg-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Timer */
.pwg-timer-text {
    display: inline-block;
}

.pwg-timer-count {
    font-weight: bold;
    color: #ff9800;
}

/* Slider Verification - Osonroq va Silliqroq */
.pwg-slider-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.pwg-slider-track {
    width: 100%;
    height: 60px;
    background: #e0e0e0;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.pwg-slider-thumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: grab;
    user-select: none;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.3s, transform 0.1s;
}

.pwg-slider-thumb:hover {
    transform: scale(1.05);
}

.pwg-slider-thumb:active {
    cursor: grabbing;
    transform: scale(0.95);
}

.pwg-slider-thumb.success {
    background: #28a745;
    box-shadow: 0 2px 12px rgba(40, 167, 69, 0.4);
}

.pwg-slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-weight: bold;
    pointer-events: none;
    z-index: 1;
    font-size: 14px;
    transition: color 0.3s;
}

.pwg-slider-success {
    background: #d4edda;
    border: 1px solid #28a745;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    color: #155724;
    text-align: center;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile optimization */
@media (max-width: 768px) {
    .pwg-slider-track {
        height: 70px;
        border-radius: 35px;
    }
    
    .pwg-slider-thumb {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}

/* Custom Button CSS */
.pwg-custom-button {
    display: inline-block;
    margin: 10px 5px;
}
