/**
 * AI Coaching Plugin - Payment Interface Styles
 * Status: NEW - Phase 4 Payment Integration
 * 
 * Styles for token limit upgrade interface and payment processing
 */





/* Token Limit Upgrade Styles */
.isen-token-limit {
    text-align: center;
    /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto-Bold, sans-serif;*/
}

.isen-token-limit-header h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

.isen-token-limit-header p {
    margin-bottom: 20px;
}

.isen-upgrade-options {
    margin: 25px 0;
    text-align: left;
}

.isen-upgrade-options h4 {
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.isen-upgrade-options > p {
    text-align: center;
    margin-bottom: 20px;
}




.isen-plan-header h5 {
    margin: 0 0 10px 0;
}

.isen-plan-price {
    margin: 10px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.isen-currency {
    font-weight: 500;
}

.isen-amount {
}

.isen-period {
    font-weight: 500;
}

.isen-plan-features {
    margin: 15px 0;
}

.isen-tokens-info {
    margin: 10px 0 15px 0;
}

.isen-feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.isen-feature-list li {
    padding: 3px 0;
    display: flex;
    align-items: center;
}

.isen-feature-list li::before {
}

.isen-upgrade-button {
    color: white;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.isen-upgrade-button:hover {
    /*transform: translateY(-1px);*/
}

.isen-upgrade-button:active {
    /*transform: translateY(0);*/
}

.isen-upgrade-button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/*
.isen-upgrade-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.isen-upgrade-button:hover::before {
    left: 100%;
}
*/

.isen-no-upgrades {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.isen-no-upgrades p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.isen-token-limit-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.isen-current-plan {
    margin-bottom: 10px;
}

.isen-refresh-page {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.isen-refresh-page:hover {
}



.isen-upgrade-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #3498db;
}

.isen-upgrade-summary p {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.isen-upgrade-summary strong {
    font-weight: 600;
}


.isen-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 100px;
}

.isen-btn-primary {
    color: white;
}

.isen-btn-primary:hover {
    transform: translateY(-1px);
}

.isen-btn-secondary {
    background: #95a5a6;
    color: white;
}

.isen-btn-secondary:hover {
    background: #7f8c8d;
}

.isen-processing-animation {
    text-align: center;
    padding: 40px 20px;
}

.isen-processing-animation p {
    margin-top: 20px;
    font-style: italic;
}

.isen-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.isen-error-message {
    text-align: center;
    padding: 20px;
}

.isen-error-message h5 {
    color: #e74c3c;
    margin-bottom: 15px;
}

.isen-error-message p {
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .isen-token-limit {
        margin: 10px;
        padding: 20px;
    }
    
    
    .isen-btn {
        width: 100%;
    }
    
    .isen-upgrade-summary p {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .isen-token-limit {
        padding: 15px;
    }
    
    .isen-plan-price {
        flex-direction: column;
        gap: 5px;
    }
    
    
    
    .isen-processing-animation {
        padding: 30px 15px;
    }
}




    