/* GK License Manager — checkout page */

.gklm-checkout {
    --gklm-primary: #4f46e5;
    --gklm-primary-dark: #3730a3;
    --gklm-accent: #06b6d4;
    --gklm-ink: #1e1b2e;
    --gklm-muted: #6b7280;
    --gklm-border: #e5e7eb;

    max-width: 560px;
    margin: 0 auto;
    padding: 48px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--gklm-ink);
    box-sizing: border-box;
}

.gklm-checkout * {
    box-sizing: border-box;
}

.gklm-checkout-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 24px;
    text-align: center;
}

.gklm-checkout-plan-picker {
    margin-bottom: 18px;
}

.gklm-checkout-plan-picker label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gklm-muted);
    margin-bottom: 6px;
}

.gklm-checkout-plan-picker select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1.5px solid var(--gklm-border);
    font-size: 0.95rem;
    background: #fff;
}

.gklm-checkout-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #f5f4ff, #f0fdfa);
    border: 1px solid #e0e7ff;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.gklm-checkout-summary-label {
    font-weight: 700;
}

.gklm-checkout-summary-price {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--gklm-primary-dark);
}

.gklm-notice {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    white-space: pre-line;
}

.gklm-notice-success {
    background: #e6f7ed;
    color: #1f9d55;
}

.gklm-notice-error {
    background: #fdeaea;
    color: #c0392b;
}

.gklm-muted {
    color: var(--gklm-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.gklm-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.gklm-checkout-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.gklm-checkout-form input {
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--gklm-border);
    font-size: 0.95rem;
    font-weight: 400;
}

.gklm-checkout-form input:focus {
    outline: none;
    border-color: var(--gklm-primary);
}

.gklm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
}

.gklm-btn-primary {
    background: linear-gradient(90deg, var(--gklm-primary), var(--gklm-accent));
    color: #fff;
}

.gklm-btn-primary:hover {
    filter: brightness(1.06);
    color: #fff;
}

.gklm-btn-primary:disabled {
    opacity: 0.6;
    cursor: default;
}

.gklm-btn-secondary {
    background: #fff;
    border-color: var(--gklm-primary);
    color: var(--gklm-primary);
    margin-top: 10px;
}

.gklm-pay-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.gklm-pay-card {
    border: 1px solid var(--gklm-border);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.gklm-pay-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.gklm-qr-box {
    display: flex;
    justify-content: center;
    margin: 14px 0;
    min-height: 180px;
    align-items: center;
}

.gklm-upi-id {
    font-weight: 700;
    margin: 8px 0 2px;
}

.gklm-bank-table {
    width: 100%;
    font-size: 0.85rem;
    margin-top: 10px;
}

.gklm-bank-table td {
    padding: 4px 0;
    text-align: left;
}

.gklm-bank-table td:first-child {
    color: var(--gklm-muted);
    width: 45%;
}

.gklm-steps {
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.7;
    padding-left: 20px;
    margin: 18px 0;
}

.gklm-checkout-guarantee {
    margin-top: 28px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gklm-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.gklm-checkout-guarantee .dashicons {
    color: var(--gklm-primary);
}

@media (max-width: 480px) {
    .gklm-checkout {
        padding: 32px 16px;
    }
}
