/* Create Monitor Page Specific Styles */

.watch-container {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

/* When inside dashboard layout */
.dashboard-content .watch-container {
    min-height: auto;
    padding: 20px 0;
    align-items: flex-start;
}

.watch-content {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

/* Create Monitor Header */
.create-monitor-header {
    margin-bottom: 32px;
}

.create-monitor-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--red-500);
}

.watch-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: #fff;
}

.watch-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.watch-logo span {
    color: var(--red-500);
}

.watch-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: #fff;
}

.watch-subtitle {
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* Input Label */
.input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
}

/* Providers Preview */
.providers-preview {
    margin-top: 32px;
    text-align: center;
}

.providers-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.providers-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.provider-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--gray-800);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-400);
    transition: all 0.2s ease;
}

.provider-chip:hover {
    border-color: var(--gray-700);
    color: var(--gray-300);
}

.provider-chip.openai { border-left: 2px solid #10a37f; }
.provider-chip.grok { border-left: 2px solid #1DA1F2; }
.provider-chip.claude { border-left: 2px solid #d97706; }
.provider-chip.gemini { border-left: 2px solid #4285f4; }
.provider-chip.perplexity { border-left: 2px solid #20b2aa; }
.provider-chip.deepseek { border-left: 2px solid #6366f1; }
.provider-chip.google { border-left: 2px solid #ea4335; }

.watch-input-wrapper {
    position: relative;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.watch-input-wrapper.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.watch-input-container {
    position: relative;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 4px;
    transition: border-color 0.3s ease;
}

.watch-input-container:focus-within {
    border-color: var(--red-500);
}

.watch-textarea {
    width: 100%;
    min-height: 120px;
    max-height: 400px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    padding: 20px;
    resize: vertical;
    outline: none;
}

.watch-textarea::placeholder {
    color: var(--gray-600);
}

.watch-input-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--gray-800);
}

.watch-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-600);
}

.watch-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--red-600) 0%, var(--red-500) 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.watch-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--red-500) 0%, var(--red-400) 100%);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

.watch-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.watch-loading {
    display: none;
    text-align: center;
    margin: 48px 0;
}

.watch-loading.active {
    display: block;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(239, 68, 68, 0.1);
    border-top-color: var(--red-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: var(--gray-400);
    font-size: 16px;
    margin-bottom: 8px;
}

.loading-subtext {
    color: var(--gray-600);
    font-size: 14px;
}

/* Success State */
.watch-success {
    display: none;
    text-align: center;
    margin: 48px 0;
    animation: fadeInUp 0.5s ease;
}

.watch-success.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #22c55e;
    animation: successPulse 2s ease infinite;
}

@keyframes successPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 0 30px 10px rgba(34, 197, 94, 0.1);
    }
}

.success-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.success-subtitle {
    font-size: 16px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.success-subtitle span {
    color: #22c55e;
    font-weight: 600;
}

.success-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.success-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.success-stat-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.success-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.success-actions .btn-primary {
    background: linear-gradient(135deg, var(--red-600) 0%, var(--red-500) 100%);
    color: #fff;
    border: none;
}

.success-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--red-500) 0%, var(--red-400) 100%);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

.success-actions .btn-outline {
    background: transparent;
    border: 1px solid var(--gray-700);
    color: var(--gray-300);
}

.success-actions .btn-outline:hover {
    border-color: var(--gray-500);
    background: rgba(255, 255, 255, 0.05);
}

/* Error State */
.watch-error {
    display: none;
    text-align: center;
    margin: 48px 0;
    animation: fadeInUp 0.5s ease;
}

.watch-error.active {
    display: block;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--red-500);
}

.error-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.error-text {
    font-size: 15px;
    color: var(--gray-400);
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.watch-results {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.watch-results.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    text-align: left;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-800);
}

.results-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.results-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--gray-500);
}

.results-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    color: var(--red-400);
    font-weight: 600;
}

.provider-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.provider-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
}

.provider-badge .provider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--red-400);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.2s ease;
    text-align: left;
}

.brand-item:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(17, 24, 39, 0.8);
    transform: translateX(4px);
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-icon svg {
    color: var(--red-500);
}

.brand-details {
    flex: 1;
}

.brand-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.brand-context {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.4;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--red-400);
    white-space: nowrap;
}

.brand-providers {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.brand-provider-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-400);
}

.brand-provider-chip .provider-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.mention-count {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--red-400);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.results-actions {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gray-700);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    border-color: var(--gray-600);
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gray-700);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover:not(:disabled) {
    border-color: var(--gray-500);
    background: rgba(255, 255, 255, 0.15);
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-success {
    background: rgba(34, 197, 94, 0.2) !important;
    border-color: rgba(34, 197, 94, 0.5) !important;
    color: #22c55e !important;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid var(--gray-700);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.toast-notification svg {
    color: #22c55e;
    flex-shrink: 0;
}

.toast-notification span {
    color: var(--gray-300);
    font-size: 14px;
}

.toast-link {
    color: var(--red-400);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.toast-link:hover {
    text-decoration: underline;
}

/* Spin animation for loading */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: rotate 1s linear infinite;
}

.error-message {
    display: none;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 24px;
    color: var(--red-400);
    text-align: left;
}

.error-message.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.error-title {
    font-weight: 600;
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .watch-container {
        padding: 60px 16px;
    }

    .watch-title {
        font-size: 32px;
    }

    .watch-subtitle {
        font-size: 16px;
    }

    .watch-textarea {
        min-height: 100px;
    }

    .results-actions {
        flex-direction: column;
    }

    .results-actions button {
        width: 100%;
    }

    .brand-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .brand-badge,
    .brand-providers {
        align-self: flex-start;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .results-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .results-meta > span {
        display: none;
    }
}

/* ========================================
   Trial Locked State
======================================== */
.trial-locked-state {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.trial-locked-state.active {
    display: block;
}

.trial-locked-card {
    max-width: 440px;
    margin: 0 auto;
    padding: 48px 40px;
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.98) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 24px;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(245, 158, 11, 0.1),
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 100px -20px rgba(245, 158, 11, 0.12);
}

.trial-locked-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    color: #f59e0b;
}

.trial-locked-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 8px;
    margin-bottom: 20px;
}

.trial-locked-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
}

.trial-locked-desc {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.6;
    margin: 0 0 28px;
}

.trial-locked-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    text-align: left;
}

.trial-locked-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    font-size: 14px;
    color: var(--gray-300);
}

.trial-locked-feature svg {
    flex-shrink: 0;
    color: #22c55e;
}

.trial-locked-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 28px;
    background: linear-gradient(135deg, var(--red-600) 0%, var(--red-500) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.trial-locked-btn:hover {
    background: linear-gradient(135deg, var(--red-500) 0%, var(--red-400) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(239, 68, 68, 0.4);
}

.trial-locked-btn svg {
    flex-shrink: 0;
}

.trial-locked-price {
    text-align: center;
    margin: 20px 0 16px;
}

.trial-locked-note {
    font-size: 13px;
    color: var(--gray-500);
    margin: 18px 0 0;
}

/* Trial Locked Mobile */
@media (max-width: 480px) {
    .trial-locked-card {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .trial-locked-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 20px;
    }

    .trial-locked-icon svg {
        width: 36px;
        height: 36px;
    }

    .trial-locked-title {
        font-size: 22px;
    }

    .trial-locked-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .trial-locked-features {
        margin-bottom: 28px;
    }

    .trial-locked-feature {
        padding: 10px 14px;
        font-size: 13px;
    }

    .trial-locked-btn {
        padding: 16px 24px;
        font-size: 15px;
    }
}

/* ============================================================================
   NO CREDITS STATE (for paid users who used all credits)
   ============================================================================ */

.no-credits-state {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 40px 20px;
}

.no-credits-state.active {
    display: flex;
}

.no-credits-card {
    max-width: 440px;
    width: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.no-credits-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
}

.no-credits-icon svg {
    width: 40px;
    height: 40px;
}

.no-credits-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.no-credits-desc {
    font-size: 15px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.no-credits-reset {
    font-size: 16px;
    color: var(--gray-300);
    margin-bottom: 24px;
}

.no-credits-reset strong {
    color: #fbbf24;
}

.no-credits-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--gray-400);
}

.no-credits-info svg {
    flex-shrink: 0;
    color: #818cf8;
}

.no-credits-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.no-credits-btn:hover {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.1);
}

/* ============================================================================
   MAX MONITORS STATE (when 5 active monitors exist)
   ============================================================================ */

.max-monitors-state {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 40px 20px;
}

.max-monitors-state.active {
    display: flex;
}

.max-monitors-card {
    max-width: 440px;
    width: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.max-monitors-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
}

.max-monitors-icon svg {
    width: 40px;
    height: 40px;
}

.max-monitors-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.max-monitors-desc {
    font-size: 15px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.max-monitors-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--gray-400);
}

.max-monitors-info svg {
    flex-shrink: 0;
    color: #fbbf24;
}

.max-monitors-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
}

/* ============================================================================
   PENDING SETUP STATE (when monitors are being created)
   ============================================================================ */

.pending-setup-state {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 40px 20px;
}

.pending-setup-state.active {
    display: flex;
}

.pending-setup-card {
    max-width: 440px;
    width: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.pending-setup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pending-setup-icon svg {
    width: 40px;
    height: 40px;
}

.pending-setup-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.pending-setup-desc {
    font-size: 15px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.pending-setup-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--gray-400);
}

.pending-setup-info svg {
    flex-shrink: 0;
    color: #3b82f6;
}

.pending-setup-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
}

/* ============================================================================
   CREDIT STATUS BADGE (shown in input state header)
   ============================================================================ */

.credit-status-badge {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: #fbbf24;
    margin-top: 16px;
}

.credit-status-badge svg {
    flex-shrink: 0;
}

.credit-status-badge.warning {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Center the header content */
.create-monitor-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}
