/* MaxRepTracker Stripe Styles */

/* Global MRT Tap Highlight Reset */
[class^="mrt-"],
[class*=" mrt-"] {
    -webkit-tap-highlight-color: transparent;
}

.mrt-stripe-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.mrt-stripe-plan-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mrt-stripe-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mrt-stripe-plan-card.current {
    border: 2px solid #4f33ff;
    position: relative;
}

.mrt-stripe-plan-card.current::before {
    content: "Current Plan";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4f33ff;
    color: #fff;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.mrt-price {
    margin: 20px 0;
}

.mrt-price .currency {
    font-size: 18px;
    vertical-align: top;
    color: #666;
}

.mrt-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: #4f33ff;
}

.mrt-price .interval {
    color: #666;
}

.mrt-stripe-btn {
    display: inline-block;
    width: 100%;
    padding: 30px 24px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 10px;
}

.mrt-stripe-btn:hover {
    background: #333;
}

.mrt-stripe-btn.disabled {
    background: #d1d5da;
    cursor: not-allowed;
}

.mrt-stripe-btn.portal-btn {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #d1d5da;
}

.mrt-stripe-btn.portal-btn:hover {
    background: #f6f8fa;
}

.mrt-stripe-sub-status {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 15px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.mrt-stripe-sub-status p {
    margin: 0;
}

.mrt-status-indicator {
    display: inline-block;
}

.mrt-status-indicator.status-active {
    color: #28a745;
}

.mrt-status-indicator.status-trialing {
    color: #007bff;
}

.mrt-status-indicator.status-canceled {
    color: #dc3545;
}
