/* GT PayPal for LearnDash — Frontend Styles */

.gt-ppl-checkout-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    max-width: 320px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.gt-ppl-price-display {
    text-align: center;
}

.gt-ppl-amount {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.gt-ppl-type {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gt-ppl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

.gt-ppl-btn-one_time {
    background: #003087;
    color: #fff;
}

.gt-ppl-btn-one_time:hover {
    background: #00256b;
    transform: translateY(-1px);
}

.gt-ppl-btn-subscription {
    background: #009cde;
    color: #fff;
}

.gt-ppl-btn-subscription:hover {
    background: #0085bb;
    transform: translateY(-1px);
}

.gt-ppl-btn-login {
    background: #f0f0f0;
    color: #333;
}

.gt-ppl-btn-login:hover {
    background: #e0e0e0;
}

.gt-ppl-btn.gt-ppl-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.gt-ppl-paypal-icon {
    font-size: 1.1em;
}

.gt-ppl-spinner {
    color: #666;
    font-size: 0.9rem;
}

.gt-ppl-error-msg {
    color: #c0392b;
    font-size: 0.875rem;
    text-align: center;
    background: #fdf2f2;
    padding: 8px 12px;
    border-radius: 6px;
    width: 100%;
}

.gt-ppl-secure-note {
    font-size: 0.78rem;
    color: #888;
}

.gt-ppl-sandbox-badge {
    background: #f39c12;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.08em;
}

.gt-ppl-enrolled {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #f0faf4;
    border: 1px solid #a8d5b5;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #2d6a4f;
}

.gt-ppl-course-link {
    color: #1a7a45;
    font-weight: 600;
    text-decoration: none;
}

.gt-ppl-course-link:hover {
    text-decoration: underline;
}
