/* Watch-It Embri Plugin Styles */

#watchit-quote-wrap,
#watchit-portal-wrap {
    max-width: 560px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#watchit-quote-wrap h2,
#watchit-portal-wrap h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #1a1a1a;
}

.watchit-sub {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 1.5rem;
}

/* Form */
#watchit-quote-form fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

#watchit-quote-form legend {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6b7280;
    padding: 0 6px;
}

.watchit-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 1rem;
}

.watchit-row label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6b7280;
}

.watchit-row input,
.watchit-row select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
    color: #1a1a1a;
    background: #f9fafb;
    width: 100%;
    box-sizing: border-box;
}

.watchit-row input:focus,
.watchit-row select:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
}

/* Buttons */
.watchit-btn-primary {
    display: block;
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin-top: 1rem;
    box-sizing: border-box;
}

.watchit-btn-primary:hover {
    background: #374151;
    color: #fff;
    text-decoration: none;
}

.watchit-btn-secondary {
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
}

.watchit-btn-secondary:hover {
    background: #f3f4f6;
}

.watchit-btn-danger {
    background: none;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: #dc2626;
    cursor: pointer;
}

.watchit-btn-danger:hover {
    background: #fef2f2;
}

.watchit-btn-link {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

.watchit-btn-link:hover {
    color: #1a1a1a;
}

/* Error */
.watchit-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #dc2626;
    margin: 1rem 0;
}

/* Loading */
#watchit-loading-panel {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.watchit-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid #e5e7eb;
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: watchit-spin 0.7s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Results */
.watchit-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.watchit-price-area {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.watchit-toggle-row {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
}

.watchit-freq-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: none;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}

.watchit-freq-btn.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.watchit-price-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.watchit-currency {
    font-size: 22px;
    color: #6b7280;
}

.watchit-price-num {
    font-size: 52px;
    font-weight: 600;
    line-height: 1;
    color: #1a1a1a;
}

.watchit-price-period {
    font-size: 14px;
    color: #6b7280;
    align-self: flex-end;
    padding-bottom: 8px;
}

/* Coverage list */
.watchit-cover-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.watchit-cover-list li {
    padding: 10px 14px;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.watchit-cover-list li:last-child {
    border-bottom: none;
}

.watchit-fca {
    color: #9ca3af;
    font-size: 11px;
    text-align: center;
    line-height: 1.6;
    margin-top: 1rem;
}

.watchit-small {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-top: 8px;
}

/* Portal */
.watchit-portal-header {
    margin-bottom: 1.5rem;
}

.watchit-policy-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.watchit-policy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.watchit-policy-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #1a1a1a;
}

.watchit-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: capitalize;
}

.watchit-badge-active {
    background: #d1fae5;
    color: #065f46;
}

.watchit-badge-inactive {
    background: #f3f4f6;
    color: #6b7280;
}

.watchit-policy-details {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.watchit-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #6b7280;
}

.watchit-detail-row strong {
    color: #1a1a1a;
    font-weight: 600;
}

.watchit-policy-actions {
    padding: 1rem 1.25rem;
    display: flex;
    gap: 10px;
}

.watchit-portal-login {
    padding: 2rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #6b7280;
}
