/* Ratify Square SaaS Account Styles */

.ratify-my-websites {
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Status Header */
.ratify-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.ratify-subscription-badge {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ratify-subscription-badge span {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.ratify-subscription-badge .tier {
    background: #6366f1;
    color: white;
}

.ratify-subscription-badge .trial-badge {
    background: #FF9800;
    color: white;
}

.ratify-subscription-badge .billing {
    background: #E8F5E8;
    color: #2E7D32;
}

/* Subscription Section */
.ratify-subscription-section {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.ratify-subscription-section.is-trial {
    border-color: #f59e0b;
    background: #fffbeb;
}

.ratify-subscription-section.is-expired {
    border-color: #f87171;
    background: #fef2f2;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.subscription-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.subscription-number {
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    background: #e0e7ff;
    padding: 2px 8px;
    border-radius: 6px;
}

.manage-renew-btn {
    font-size: 12px;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: underline;
    margin-left: 8px;
}

/* Website Cards */
.website-card {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.website-card.subscription-inactive {
    opacity: 0.7;
    border-color: #cbd5e1;
}

.website-card.trial-abuse-blocked {
    border-color: #f87171;
    background: #fff5f5;
}

.website-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fafafa;
    border-bottom: 1px solid #e2e8f0;
}

.website-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.website-health-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    display: inline-block;
}

.website-health-dot.health-healthy { background: #10b981; }
.website-health-dot.health-stale { background: #f59e0b; }
.website-health-dot.health-inactive { background: #ef4444; }

.ratify-action-btn {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
}

.ratify-action-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.ratify-action-btn.remove-btn {
    color: #dc2626;
    border-color: #fca5a5;
}

.ratify-action-btn.remove-btn:hover {
    background: #fef2f2;
}

/* Quick Actions */
.ratify-quick-actions {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    margin-top: 24px;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.nectar-button {
    height: 42px;
    padding: 0 20px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

/* Toast Container */
#ratify-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ratify-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.ratify-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.ratify-toast.error { border-left: 4px solid #ef4444; }
.ratify-toast.success { border-left: 4px solid #10b981; }

.ratify-toast-close {
    cursor: pointer;
    opacity: 0.6;
    margin-left: auto;
}
