/* ACS WooCommerce Content - Frontend Styles */

/* Paywall */
.acs-wc-paywall {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px 30px;
    margin: 30px 0;
    text-align: center;
}

.acs-wc-paywall-inner {
    max-width: 600px;
    margin: 0 auto;
}

.acs-wc-lock-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.acs-wc-paywall h3 {
    font-size: 24px;
    margin: 0 0 20px 0;
    color: #333;
}

.acs-wc-price {
    font-size: 36px;
    font-weight: bold;
    color: #2271b1;
    margin: 20px 0;
}

.acs-wc-price-currency {
    font-size: 18px;
    font-weight: normal;
}

.acs-wc-purchase-section {
    margin: 30px 0;
}

.acs-wc-purchase-button {
    display: inline-block;
    background: #2271b1;
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
}

.acs-wc-purchase-button:hover {
    background: #135e96;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.acs-wc-divider {
    margin: 30px 0;
    position: relative;
    text-align: center;
}

.acs-wc-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.acs-wc-divider span {
    position: relative;
    background: #f9f9f9;
    padding: 0 20px;
    color: #666;
    font-size: 14px;
}

.acs-wc-verify-section {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    margin: 20px 0;
}

.acs-wc-verify-section h4 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #333;
}

.acs-wc-verify-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.acs-wc-verify-form {
    margin-top: 20px;
}

.acs-wc-form-group {
    margin-bottom: 15px;
    text-align: left;
}

.acs-wc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.acs-wc-email-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.acs-wc-email-input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.acs-wc-verify-button {
    width: 100%;
    background: #2271b1;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.acs-wc-verify-button:hover {
    background: #135e96;
}

.acs-wc-verify-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.acs-wc-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
}

.acs-wc-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.acs-wc-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.acs-wc-benefits {
    margin-top: 30px;
    text-align: left;
}

.acs-wc-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.acs-wc-benefits li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
}

/* Tipping */
.acs-wc-tipping {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 40px 30px;
    margin: 30px 0;
    color: #fff;
}

.acs-wc-tipping-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.acs-wc-tipping-title {
    font-size: 24px;
    margin: 0 0 20px 0;
    color: #fff;
}

.acs-wc-tip-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 5px;
}

.acs-wc-tip-stat {
    text-align: center;
}

.acs-wc-tip-stat-label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.acs-wc-tip-stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.acs-wc-tipping-description {
    opacity: 0.9;
    margin-bottom: 30px;
}

.acs-wc-tip-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.acs-wc-tip-amount-button {
    background: rgba(255,255,255,0.9);
    color: #667eea;
    border: 2px solid transparent;
    padding: 20px 15px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.acs-wc-tip-amount-button:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.acs-wc-tip-message {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
}

/* Notification */
.acs-wc-notification {
    position: fixed;
    top: 32px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.acs-wc-notification-content {
    background: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}

.acs-wc-notification.acs-wc-success .acs-wc-notification-content {
    border-left: 4px solid #46b450;
}

.acs-wc-notification-icon {
    font-size: 24px;
}

.acs-wc-notification-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

/* Content Unlocked */
.acs-wc-content-unlocked {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .acs-wc-paywall,
    .acs-wc-tipping {
        padding: 30px 20px;
    }
    
    .acs-wc-price {
        font-size: 28px;
    }
    
    .acs-wc-purchase-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .acs-wc-tip-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .acs-wc-tip-stats {
        gap: 20px;
    }
    
    .acs-wc-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
