/**
 * WC Installment Payments - Public Styles
 * استایل فرانت‌اند
 */

/* Base Styles */
.wcip-installment-info,
.wcip-my-installments,
.wcip-checkout-option {
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
}

/* Product Page - Installment Info - Modern Design */
.wcip-installment-info {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #10b981 100%);
    border: none;
    border-radius: 16px;
    padding: 0;
    margin: 20px 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.35);
    position: relative;
}

.wcip-installment-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.wcip-installment-info .wcip-title {
    margin: 0;
    padding: 18px 24px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,0,0,0.1);
    position: relative;
}

.wcip-installment-info .wcip-title::before {
    content: '\2713';
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.wcip-installment-info .wcip-title::after {
    content: '\2728';
    position: absolute;
    left: 24px;
    font-size: 20px;
}

.wcip-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 24px;
    justify-content: center;
}

.wcip-option {
    background: rgba(255,255,255,0.95);
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 130px;
    flex: 1;
    max-width: 160px;
    position: relative;
    overflow: hidden;
}

.wcip-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.wcip-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #0ea5e9;
}

.wcip-option:hover::before {
    transform: scaleX(1);
}

.wcip-option .wcip-count {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.wcip-option .wcip-amount {
    display: block;
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 8px 0 4px;
    direction: ltr;
}

.wcip-option .wcip-interest {
    font-size: 11px;
    color: #888;
    display: block;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 10px;
    margin-top: 6px;
}

.wcip-option .wcip-interest:empty {
    display: none;
}

.wcip-down-payment {
    margin: 0;
    padding: 14px 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wcip-down-payment::before {
    content: '\1F4B0';
}

/* Free Interest Badge */
.wcip-option[data-interest="0"]::after {
    content: 'بدون سود!';
    position: absolute;
    top: 8px;
    left: -22px;
    background: #e74c3c;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 25px;
    transform: rotate(-45deg);
}

/* Checkout Option - Modern Design */
.wcip-checkout-option {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px solid #e8eeff;
    border-radius: 16px;
    padding: 0;
    margin: 20px 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wcip-checkout-option:has(.wcip-installment-checkbox:checked) {
    border-color: #0ea5e9;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.wcip-checkbox-label {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    color: #fff;
    transition: all 0.3s ease;
}

.wcip-checkbox-label:hover {
    opacity: 0.95;
}

.wcip-installment-checkbox {
    width: 22px;
    height: 22px;
    accent-color: #fff;
    cursor: pointer;
}

.wcip-installment-details {
    padding: 20px;
    background: #fff;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wcip-field {
    margin-bottom: 18px;
}

.wcip-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 14px;
}

.wcip-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8eeff;
    border-radius: 12px;
    font-size: 15px;
    background: #fafbff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.wcip-select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.wcip-calculation {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border: 1px solid #e8eeff;
    border-radius: 12px;
    padding: 18px;
}

.wcip-calc-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 14px;
}

.wcip-calc-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 16px;
    color: #0ea5e9;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 2px solid #0ea5e9;
}

/* Payment Gateway Info */
.wcip-gateway-info {
    background: #e8f5e9;
    border-radius: 6px;
    padding: 15px;
    margin-top: 10px;
}

.wcip-gateway-info p {
    margin: 8px 0;
}

/* My Installments Page - Ultra Professional Design */
.wcip-my-installments.wcip-modern {
    max-width: 1100px;
    padding: 16px;
}

.wcip-header-bar {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.wcip-header-bar::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9 0%, #10b981 100%);
    border-radius: 2px;
}

.wcip-page-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.5px;
}

.wcip-title-icon {
    font-size: 32px;
    background: linear-gradient(145deg, #0ea5e9 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wcip-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .wcip-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.wcip-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.wcip-card-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.wcip-card-icon {
    font-size: 24px;
}

/* Credit Score Card - Premium */
.wcip-credit-score-card {
    background: linear-gradient(145deg, #0ea5e9 0%, #10b981 50%, #059669 100%);
    border-radius: 24px;
    padding: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.35);
}

.wcip-credit-score-card::before {
    content: '';
    position: absolute;
    top: -80%;
    right: -40%;
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.wcip-credit-score-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.wcip-credit-score-card .wcip-card-header {
    border-bottom-color: rgba(255,255,255,0.2);
}

.wcip-credit-score-card .wcip-card-header h3 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.wcip-score-display {
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.wcip-score-circle {
    width: 110px;
    height: 110px;
    border: 5px solid var(--score-color, rgba(255,255,255,0.9));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 0 30px rgba(255,255,255,0.1);
    position: relative;
}

.wcip-score-circle::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.2);
    animation: rotate-dashed 20s linear infinite;
}

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

.wcip-score-number {
    font-size: 38px;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.wcip-score-label {
    font-size: 12px;
    opacity: 0.95;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.wcip-score-stats {
    display: flex;
    gap: 16px;
    flex: 1;
}

.wcip-stat-item {
    text-align: center;
    padding: 16px 20px;
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    flex: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.wcip-stat-item:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

.wcip-stat-good {
    border-color: rgba(46, 204, 113, 0.3);
}

.wcip-stat-warn {
    border-color: rgba(241, 196, 15, 0.3);
}

.wcip-stat-icon {
    display: block;
    font-size: 20px;
    margin-bottom: 6px;
}

.wcip-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.wcip-stat-label {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

/* Messages Card - Premium */
.wcip-messages-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.wcip-messages-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.wcip-messages-card .wcip-card-header {
    border-bottom: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    max-height: 280px;
    overflow: hidden;
}

.wcip-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
}

.wcip-badge-new {
    background: #e74c3c;
    color: #fff;
}

.wcip-messages-list {
    max-height: 200px;
    overflow-y: auto;
}

.wcip-empty-messages {
    text-align: center;
    padding: 30px;
    color: #95a5a6;
}

.wcip-empty-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.wcip-message-item {
    padding: 12px;
    border-radius: 12px;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-right: 4px solid var(--priority-color, #3498db);
    transition: all 0.2s ease;
}

.wcip-message-item.wcip-unread {
    background: #fff3e0;
}

.wcip-message-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 6px;
}

.wcip-unread-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.wcip-message-sender {
    font-weight: 600;
    color: #2c3e50;
}

.wcip-message-time {
    margin-right: auto;
}

.wcip-message-subject {
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 4px;
}

.wcip-message-body {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* No Plans - Modern */
.wcip-no-plans {
    padding: 0;
    background: none;
}

.wcip-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.wcip-empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.wcip-empty-icon-large {
    font-size: 72px;
    display: block;
    margin-bottom: 20px;
    opacity: 0.7;
}

.wcip-empty-state h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
}

.wcip-empty-state p {
    color: #64748b;
    margin-bottom: 28px;
    font-size: 15px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.wcip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.wcip-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.wcip-btn:hover::before {
    left: 100%;
}

.wcip-btn-primary {
    background: linear-gradient(145deg, #0ea5e9 0%, #10b981 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.wcip-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.45);
    color: #fff;
}

.wcip-btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.wcip-btn-success {
    background: linear-gradient(145deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}

.wcip-btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.45);
    color: #fff;
}

.wcip-btn-sm {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 10px;
}

/* Section Title */
.wcip-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px;
}

/* Plan Card - Modern */
.wcip-plan-card {
    background: #fff;
    border: none;
    border-radius: 20px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.wcip-plan-header {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    padding: 20px 24px;
    border-bottom: 1px solid #eef0f5;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.wcip-plan-title {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.wcip-plan-icon {
    font-size: 32px;
}

.wcip-plan-title h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.wcip-plan-meta {
    display: flex;
    gap: 16px;
    color: #7f8c8d;
    font-size: 13px;
}

.wcip-meta-icon {
    margin-left: 4px;
}

/* Status Labels */
.wcip-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.wcip-status-pending_documents,
.wcip-status-pending {
    background: #fff3cd;
    color: #856404;
}

.wcip-status-pending_approval {
    background: #cce5ff;
    color: #004085;
}

.wcip-status-approved,
.wcip-status-active {
    background: #d4edda;
    color: #155724;
}

.wcip-status-completed {
    background: #c3e6cb;
    color: #0a3622;
}

.wcip-status-cancelled,
.wcip-status-blocked,
.wcip-status-overdue {
    background: #f8d7da;
    color: #721c24;
}

/* Plan Summary */
.wcip-plan-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px;
    background: #fff;
}

.wcip-summary-item {
    text-align: center;
}

.wcip-summary-item .wcip-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
}

.wcip-summary-item .wcip-value {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

/* Payment Conditions Section */
.wcip-payment-conditions {
    padding: 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f9ff 100%);
    border-top: 1px solid #e9ecef;
}

.wcip-conditions-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.wcip-conditions-title .wcip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #0ea5e9;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.wcip-conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.wcip-condition-item {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wcip-condition-item.wcip-next-payment {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    color: #fff;
}

.wcip-condition-item.wcip-next-payment .wcip-condition-label {
    color: rgba(255,255,255,0.8);
}

.wcip-condition-item.wcip-next-payment .wcip-condition-value {
    color: #fff;
}

.wcip-condition-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
}

.wcip-condition-value {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.wcip-condition-value.wcip-highlight {
    color: #0ea5e9;
}

.wcip-condition-amount {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-top: 8px;
}

.wcip-schedule-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    border-right: 3px solid #0ea5e9;
}

.wcip-schedule-note p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* Upload Section - Modern */
.wcip-upload-section {
    padding: 24px;
    border-top: 1px solid #eef0f5;
    background: linear-gradient(135deg, #fafbff 0%, #fff 100%);
}

.wcip-upload-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.wcip-upload-icon {
    font-size: 40px;
}

.wcip-upload-header h4 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.wcip-upload-header p {
    margin: 0;
    color: #7f8c8d;
    font-size: 14px;
}

.wcip-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.wcip-doc-upload-item {
    background: #fff;
    border: 2px dashed #dee2e6;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.wcip-doc-upload-item:hover {
    border-color: #0ea5e9;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.wcip-doc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.wcip-doc-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.wcip-approved-indicator {
    background: #27ae60;
}

.wcip-rejected-indicator {
    background: #e74c3c;
}

.wcip-pending-indicator {
    background: #f39c12;
}

.wcip-empty-indicator {
    background: #bdc3c7;
    border: 2px dashed #95a5a6;
}

.wcip-doc-header label {
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    margin: 0;
}

.wcip-doc-upload-item.wcip-uploaded {
    background: #f0fff4;
    border-color: #68d391;
    border-style: solid;
}

.wcip-doc-upload-item.wcip-approved {
    background: #e6ffed;
    border-color: #27ae60;
}

.wcip-doc-status {
    margin-bottom: 10px;
}

.wcip-status-text {
    font-size: 13px;
    font-weight: 500;
}

.wcip-text-success {
    color: #27ae60;
}

.wcip-text-error {
    color: #e74c3c;
}

.wcip-rejection-reason {
    display: block;
    margin-top: 6px;
    padding: 8px 12px;
    background: #fff5f5;
    border-radius: 8px;
    color: #c53030;
    font-size: 12px;
}

.wcip-file-input-wrapper {
    position: relative;
}

.wcip-file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.wcip-file-label {
    display: block;
    padding: 14px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef0f8 100%);
    border: 1px solid #e0e5f0;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    color: #0ea5e9;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wcip-file-input-wrapper:hover .wcip-file-label {
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    color: #fff;
    border-color: transparent;
}

.wcip-extra-field {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e0e5f0;
}

.wcip-extra-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

.wcip-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e8eeff;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.wcip-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.wcip-submit-docs {
    margin-top: 10px;
}

/* Installments List - Modern */
.wcip-installments-list {
    padding: 24px;
    border-top: 1px solid #eef0f5;
}

.wcip-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.wcip-list-header h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wcip-progress-text {
    font-size: 13px;
    font-weight: 600;
    color: #27ae60;
}

.wcip-progress-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.wcip-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.wcip-installments-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wcip-installment-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 14px;
    transition: all 0.2s ease;
}

.wcip-installment-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.wcip-installment-card.wcip-installment-paid {
    background: linear-gradient(135deg, #f0fff4 0%, #fff 100%);
    border-color: #c6f6d5;
}

.wcip-installment-card.wcip-installment-overdue {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-color: #fed7d7;
}

.wcip-installment-card.wcip-installment-upcoming {
    background: linear-gradient(135deg, #fffaf0 0%, #fff 100%);
    border-color: #feebc8;
}

.wcip-inst-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.wcip-inst-details {
    flex: 1;
}

.wcip-inst-amount {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.wcip-late-fee {
    color: #e74c3c;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
}

.wcip-inst-due {
    font-size: 13px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wcip-due-icon {
    font-size: 14px;
}

.wcip-inst-status-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.wcip-inst-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.wcip-inst-status-pending {
    background: #e9ecef;
    color: #6c757d;
}

.wcip-inst-status-upcoming {
    background: #fff3cd;
    color: #856404;
}

.wcip-inst-status-paid {
    background: #d4edda;
    color: #155724;
}

.wcip-inst-status-overdue {
    background: #f8d7da;
    color: #721c24;
}

.wcip-paid-date {
    font-size: 12px;
    color: #27ae60;
    font-weight: 500;
}

/* Early Settlement - Modern */
.wcip-early-settlement {
    padding: 18px 24px;
    border-top: 1px solid #eef0f5;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.wcip-early-settlement-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0ea5e9;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wcip-early-settlement-link:hover {
    color: #10b981;
}

/* Loading State */
.wcip-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .wcip-score-display {
        flex-direction: column;
        text-align: center;
    }
    
    .wcip-plan-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wcip-installments-table {
        font-size: 13px;
    }
    
    .wcip-installments-table th,
    .wcip-installments-table td {
        padding: 8px;
    }
}

/* =====================================================
   VERIFICATION PAGE STYLES
   ===================================================== */

.wcip-verification-page {
    max-width: 800px;
    margin: 0 auto;
}

.wcip-verification-page .wcip-page-header {
    text-align: center;
    margin-bottom: 30px;
}

.wcip-verification-page .wcip-page-header h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.wcip-verification-page .wcip-subtitle {
    color: #7f8c8d;
    font-size: 15px;
}

.wcip-verification-status-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 24px;
    margin-bottom: 30px;
}

.wcip-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.wcip-status-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.wcip-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.wcip-status-none,
.wcip-status-pending {
    background: #fef3cd;
    color: #856404;
}

.wcip-status-approved {
    background: #d4edda;
    color: #155724;
}

.wcip-status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.wcip-status-expired {
    background: #e2e3e5;
    color: #6c757d;
}

.wcip-approved-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.wcip-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.wcip-info-label {
    color: #7f8c8d;
}

.wcip-info-value {
    font-weight: 600;
    color: #2c3e50;
}

.wcip-credit-amount {
    color: #27ae60;
    font-size: 18px;
}

.wcip-approved-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.wcip-approved-message p {
    margin-bottom: 15px;
    color: #155724;
    font-weight: 600;
}

.wcip-pending-info,
.wcip-rejected-info,
.wcip-expired-info {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
}

.wcip-pending-info {
    background: #fef9e7;
}

.wcip-pending-date {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 10px;
}

.wcip-rejected-info {
    background: #fdf2f2;
}

.wcip-rejection-reason {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
    border-right: 3px solid #e74c3c;
}

.wcip-expired-info {
    background: #f8f9fa;
}

/* Verification Form */
.wcip-verification-form-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.wcip-verification-form-section h3 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.wcip-form-step {
    display: none;
}

.wcip-form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.wcip-form-step h4 {
    color: #0ea5e9;
    margin-bottom: 20px;
    font-size: 16px;
}

.wcip-form-row {
    margin-bottom: 20px;
}

.wcip-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.wcip-form-row label .required {
    color: #e74c3c;
}

.wcip-form-row input[type="text"],
.wcip-form-row input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8eeff;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.wcip-form-row input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.wcip-field-hint {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Document Upload */
.wcip-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.wcip-document-upload {
    cursor: pointer;
}

.wcip-upload-box {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.2s ease;
    background: #fafbff;
}

.wcip-document-upload:hover .wcip-upload-box {
    border-color: #0ea5e9;
    background: #f0f4ff;
}

.wcip-upload-icon {
    display: block;
    font-size: 32px;
    color: #0ea5e9;
    margin-bottom: 10px;
}

.wcip-upload-label {
    font-size: 13px;
    color: #666;
}

.wcip-file-input {
    display: none;
}

.wcip-upload-preview {
    margin-top: 10px;
}

.wcip-upload-preview img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #0ea5e9;
}

.wcip-upload-hints {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
}

.wcip-upload-hints p {
    margin: 5px 0;
}

/* Agreement */
.wcip-agreement {
    margin-bottom: 20px;
}

.wcip-agreement .wcip-checkbox-label {
    background: none;
    color: #2c3e50;
    padding: 0;
    font-weight: 400;
    font-size: 14px;
}

.wcip-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Summary Box */
.wcip-summary-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border: 1px solid #e8eeff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.wcip-summary-box h5 {
    margin-bottom: 15px;
    color: #0ea5e9;
    font-size: 14px;
}

.wcip-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

/* Form Actions */
.wcip-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: flex-end;
}

/* Buttons */
.wcip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    font-family: inherit;
}

.wcip-btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    color: #fff;
}

.wcip-btn-primary:hover {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.wcip-btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.wcip-btn-secondary:hover {
    background: #eee;
}

.wcip-btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
}

.wcip-btn-success:hover {
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    transform: translateY(-2px);
}

/* Progress Indicator */
.wcip-form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.wcip-progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8eeff;
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
}

.wcip-progress-step.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.wcip-progress-step.completed {
    background: #27ae60;
    color: #fff;
}

.wcip-progress-line {
    width: 40px;
    height: 3px;
    background: #e8eeff;
    border-radius: 2px;
}

/* Uploaded Documents */
.wcip-uploaded-documents {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.wcip-uploaded-documents h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 16px;
}

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

.wcip-document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.wcip-doc-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wcip-doc-type {
    font-weight: 600;
    color: #2c3e50;
}

.wcip-doc-date {
    font-size: 12px;
    color: #7f8c8d;
}

.wcip-doc-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.wcip-doc-rejection {
    width: 100%;
    font-size: 12px;
    color: #721c24;
    background: #f8d7da;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 5px;
}

/* Help Section */
.wcip-verification-help {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 25px;
}

.wcip-verification-help h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 16px;
}

.wcip-help-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wcip-help-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.wcip-help-item strong {
    display: block;
    margin-bottom: 8px;
    color: #0ea5e9;
}

.wcip-help-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Verification Required Notice */
/* =====================================================
   PRODUCT PAGE INSTALLMENT BOX - Modern Design
   ===================================================== */
.wcip-product-installment-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 0;
    margin: 25px 0;
    border: none;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
    overflow: hidden;
}

.wcip-product-installment-box .wcip-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.wcip-product-installment-box .wcip-title-icon {
    font-size: 24px;
}

.wcip-installment-preview {
    padding: 24px;
}

.wcip-preview-intro {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
}

.wcip-installment-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.wcip-installment-table thead th {
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    color: #fff;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border: none;
}

.wcip-installment-table tbody td {
    padding: 14px 16px;
    text-align: center;
    font-size: 14px;
    background: #fff;
    border-bottom: 1px solid #f0f0f5;
    color: #4a5568;
}

.wcip-installment-table tbody tr:last-child td {
    border-bottom: none;
}

.wcip-installment-table tbody tr:nth-child(even) td {
    background: #f8f9ff;
}

.wcip-installment-table tbody tr:hover td {
    background: #eef2ff;
}

.wcip-installment-table td.wcip-highlight {
    color: #0ea5e9;
    font-weight: 700;
    font-size: 15px;
}

.wcip-installment-table td strong {
    color: #2d3748;
}

.wcip-verification-required,
.wcip-credit-limit-exceeded {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border: 2px solid #ffc107;
}

.wcip-verification-required .wcip-title,
.wcip-credit-limit-exceeded .wcip-title {
    color: #856404;
    margin-bottom: 15px;
}

.wcip-product-installment-box .wcip-notice {
    margin: 0;
    padding: 20px 24px;
    border-radius: 0;
    border-top: 1px solid #e9ecef;
    background: linear-gradient(135deg, #fff9e6 0%, #fffdf5 100%);
}

.wcip-notice {
    padding: 15px;
    border-radius: 8px;
}

.wcip-notice-warning {
    background: #fef3cd;
    border-right: 4px solid #ffc107;
}

.wcip-product-installment-box .wcip-notice-warning {
    border-right: none;
    border-top: 3px solid #ffc107;
}

.wcip-notice p {
    margin-bottom: 15px;
    color: #856404;
}

.wcip-product-installment-box .wcip-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    transition: all 0.3s ease;
}

.wcip-product-installment-box .wcip-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
}

/* Verified Badge */
.wcip-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d4edda;
    color: #155724;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.wcip-installment-info.wcip-verified {
    border-color: #27ae60;
}

.wcip-credit-info {
    background: #e8f5e9;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #27ae60;
    font-weight: 600;
    font-size: 14px;
}

/* Status Indicators (CSS-based, no emojis) */
.wcip-approved-indicator,
.wcip-rejected-indicator,
.wcip-pending-indicator,
.wcip-expired-indicator,
.wcip-none-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.wcip-approved-indicator {
    background: #27ae60;
}

.wcip-rejected-indicator {
    background: #e74c3c;
}

.wcip-pending-indicator {
    background: #f39c12;
}

.wcip-expired-indicator,
.wcip-none-indicator {
    background: #95a5a6;
}

/* ============================================
   VERIFICATION WIZARD - MODERN DESIGN
   ============================================ */

.wcip-verification-page.wcip-wizard {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
}

/* Wizard Header */
.wcip-wizard-header {
    text-align: center;
    margin-bottom: 32px;
}

.wcip-wizard-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    border-radius: 50%;
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.wcip-wizard-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px;
}

.wcip-wizard-subtitle {
    font-size: 15px;
    color: #7f8c8d;
    margin: 0;
}

/* Status Card */
.wcip-status-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.wcip-status-card.wcip-status-none { border-right: 4px solid #95a5a6; }
.wcip-status-card.wcip-status-pending { border-right: 4px solid #f39c12; }
.wcip-status-card.wcip-status-incomplete { border-right: 4px solid #e67e22; }
.wcip-status-card.wcip-status-approved { border-right: 4px solid #27ae60; background: linear-gradient(135deg, #e8f8f0 0%, #fff 100%); }
.wcip-status-card.wcip-status-rejected { border-right: 4px solid #e74c3c; }
.wcip-status-card.wcip-status-blocked { border-right: 4px solid #c0392b; background: #fef5f5; }

.wcip-status-icon {
    font-size: 40px;
}

.wcip-status-content {
    flex: 1;
}

.wcip-status-label {
    display: block;
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 4px;
}

.wcip-status-value {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.wcip-approved-details {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 16px 0;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.wcip-detail-item {
    text-align: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.wcip-detail-icon {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.wcip-detail-label {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 4px;
}

.wcip-detail-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.wcip-pending-message,
.wcip-incomplete-message,
.wcip-rejected-message,
.wcip-blocked-message {
    width: 100%;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 8px;
}

.wcip-pending-message p,
.wcip-incomplete-message p,
.wcip-rejected-message p,
.wcip-blocked-message p {
    margin: 0 0 8px;
}

.wcip-pending-date {
    font-size: 13px;
    color: #7f8c8d;
}

.wcip-admin-note,
.wcip-rejection-reason {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    border-right: 3px solid #e67e22;
    margin-top: 8px;
}

/* Wizard Progress */
.wcip-wizard-progress {
    margin-bottom: 32px;
}

.wcip-progress-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
}

.wcip-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 0%;
}

.wcip-steps-indicator {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.wcip-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.wcip-step-number {
    width: 36px;
    height: 36px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.wcip-step-dot.active .wcip-step-number {
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.wcip-step-dot.completed .wcip-step-number {
    background: #27ae60;
    color: #fff;
}

.wcip-step-dot.completed .wcip-step-number::after {
    content: '\2713';
}

.wcip-step-label {
    font-size: 12px;
    color: #7f8c8d;
    text-align: center;
    max-width: 80px;
}

.wcip-step-dot.active .wcip-step-label {
    color: #0ea5e9;
    font-weight: 600;
}

/* Wizard Form */
.wcip-wizard-form {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.wcip-wizard-step {
    display: none;
    padding: 32px;
}

.wcip-wizard-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.wcip-step-header {
    text-align: center;
    margin-bottom: 32px;
}

.wcip-step-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.wcip-step-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px;
}

.wcip-step-header p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.wcip-step-content {
    margin-bottom: 32px;
}

/* Form Groups */
.wcip-form-group {
    margin-bottom: 24px;
}

.wcip-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.wcip-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fafbff;
    transition: all 0.2s ease;
    font-family: inherit;
    direction: ltr;
    text-align: right;
}

.wcip-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.wcip-input-lg {
    padding: 16px 20px;
    font-size: 18px;
}

.wcip-input-hint {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 6px;
}

/* Form Row Layouts */
.wcip-form-row {
    margin-bottom: 20px;
}

.wcip-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .wcip-form-row-2 {
        grid-template-columns: 1fr;
    }
}

/* Textarea */
textarea.wcip-input {
    resize: vertical;
    min-height: 80px;
    text-align: right;
    direction: rtl;
}

/* Radio Group */
.wcip-radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.wcip-radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 20px;
    background: #f8f9ff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.wcip-radio-item:hover {
    border-color: #0ea5e9;
    background: #f0f8ff;
}

.wcip-radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #0ea5e9;
}

.wcip-radio-item input[type="radio"]:checked + span {
    color: #0ea5e9;
    font-weight: 600;
}

/* Info Box */
.wcip-info-box {
    background: linear-gradient(135deg, #e0f7fa 0%, #f0fdfa 100%);
    border: 1px solid #b2ebf2;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.wcip-info-box p {
    margin: 0;
    font-size: 14px;
    color: #00796b;
    line-height: 1.6;
}

/* Phone Input with Button */
.wcip-phone-input-wrapper {
    display: flex;
    gap: 12px;
}

.wcip-phone-input-wrapper .wcip-input {
    flex: 1;
}

.wcip-phone-input-wrapper .wcip-btn {
    white-space: nowrap;
}

/* OTP Section */
.wcip-otp-section {
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border-radius: 16px;
    border: 1px solid #e8eeff;
}

.wcip-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    direction: ltr;
}

.wcip-otp-digit {
    width: 50px;
    height: 60px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    transition: all 0.2s ease;
}

.wcip-otp-digit:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.wcip-otp-timer {
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
    color: #7f8c8d;
}

.wcip-countdown {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: #0ea5e9;
    margin-right: 8px;
    direction: ltr;
    font-family: monospace;
}

.wcip-otp-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wcip-otp-success {
    text-align: center;
    padding: 20px;
    background: #d4edda;
    border-radius: 12px;
    color: #155724;
    font-weight: 600;
}

.wcip-success-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    line-height: 32px;
    margin-left: 8px;
}

/* Upload Cards */
.wcip-documents-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.wcip-upload-card {
    background: #f8f9ff;
    border: 2px dashed #d0d5e0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wcip-upload-card:hover {
    border-color: #0ea5e9;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.wcip-upload-card.has-file {
    border-style: solid;
    border-color: #27ae60;
    background: #f0fff4;
}

.wcip-upload-card-wide {
    grid-column: 1 / -1;
}

.wcip-upload-box {
    padding: 32px 20px;
    text-align: center;
    position: relative;
}

.wcip-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wcip-upload-icon {
    font-size: 36px;
}

.wcip-upload-text {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.wcip-upload-hint {
    font-size: 12px;
    color: #7f8c8d;
}

.wcip-upload-card .wcip-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.wcip-upload-preview {
    position: relative;
}

.wcip-upload-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
}

.wcip-remove-file {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcip-upload-tips {
    margin-top: 20px;
    padding: 16px;
    background: #fff8e1;
    border-radius: 12px;
    border-right: 4px solid #f39c12;
}

.wcip-upload-tips h4 {
    margin: 0 0 12px;
    font-size: 14px;
    color: #2c3e50;
}

.wcip-upload-tips ul {
    margin: 0;
    padding-right: 20px;
}

.wcip-upload-tips li {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

/* Summary Card */
.wcip-summary-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border: 1px solid #e8eeff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.wcip-summary-card h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #2c3e50;
    text-align: center;
}

.wcip-summary-grid {
    display: grid;
    gap: 16px;
}

.wcip-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.wcip-summary-icon {
    font-size: 24px;
}

.wcip-summary-label {
    flex: 1;
    font-size: 14px;
    color: #7f8c8d;
}

.wcip-summary-value {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.wcip-verified-badge {
    font-size: 12px;
    background: #d4edda;
    color: #155724;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Agreement Box */
.wcip-agreement-box {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.wcip-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.wcip-checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.wcip-checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #d0d5e0;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.wcip-checkbox-wrapper input:checked + .wcip-checkbox-custom {
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    border-color: transparent;
}

.wcip-checkbox-wrapper input:checked + .wcip-checkbox-custom::after {
    content: '\2713';
    color: #fff;
    font-weight: 700;
}

.wcip-checkbox-text {
    font-size: 14px;
    color: #2c3e50;
    line-height: 1.5;
}

/* Step Footer */
.wcip-step-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #e9ecef;
}

/* Buttons */
.wcip-btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.wcip-btn-outline {
    background: transparent;
    border: 2px solid #e9ecef;
    color: #7f8c8d;
}

.wcip-btn-outline:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.wcip-btn-secondary {
    background: #e9ecef;
    color: #2c3e50;
}

.wcip-btn-arrow {
    margin-right: 8px;
}

.wcip-btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wcip-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Help Section */
.wcip-help-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.wcip-help-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px;
    text-align: center;
}

.wcip-faq-list {
    display: grid;
    gap: 12px;
}

.wcip-faq-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.wcip-faq-question {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.wcip-faq-icon {
    font-size: 18px;
}

.wcip-faq-answer {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    padding-right: 28px;
}

/* Summary Cards - Dashboard - Ultra Professional */
.wcip-summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.wcip-summary-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.wcip-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.05;
    transform: translate(30%, -30%);
    transition: all 0.3s ease;
}

.wcip-summary-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
}

.wcip-summary-card:hover::before {
    transform: translate(20%, -20%) scale(1.2);
    opacity: 0.08;
}

.wcip-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.wcip-card-icon svg {
    width: 28px;
    height: 28px;
}

.wcip-card-remaining .wcip-card-icon {
    background: linear-gradient(145deg, #0ea5e9 0%, #10b981 100%);
    color: #fff;
}

.wcip-card-remaining::before {
    background: linear-gradient(145deg, #0ea5e9 0%, #10b981 100%);
}

.wcip-card-count .wcip-card-icon {
    background: linear-gradient(145deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
}

.wcip-card-count::before {
    background: linear-gradient(145deg, #11998e 0%, #38ef7d 100%);
}

.wcip-card-overdue .wcip-card-icon {
    background: linear-gradient(145deg, #bdc3c7 0%, #95a5a6 100%);
    color: #fff;
}

.wcip-card-overdue::before {
    background: linear-gradient(145deg, #bdc3c7 0%, #95a5a6 100%);
}

.wcip-card-overdue.wcip-has-overdue .wcip-card-icon {
    background: linear-gradient(145deg, #eb3349 0%, #f45c43 100%);
    animation: pulse-glow 2s infinite;
}

.wcip-card-overdue.wcip-has-overdue::before {
    background: linear-gradient(145deg, #eb3349 0%, #f45c43 100%);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 20px rgba(235, 51, 73, 0.3); }
    50% { box-shadow: 0 8px 30px rgba(235, 51, 73, 0.5); }
}

.wcip-card-next .wcip-card-icon {
    background: linear-gradient(145deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.wcip-card-next::before {
    background: linear-gradient(145deg, #f093fb 0%, #f5576c 100%);
}

.wcip-card-content {
    flex: 1;
    min-width: 0;
}

.wcip-card-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.wcip-card-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.wcip-card-value small {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
}

.wcip-card-sub {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 20px;
    display: inline-block;
}

.wcip-has-overdue .wcip-card-value {
    color: #dc2626;
}

/* Plan Actions */
.wcip-plan-actions {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.wcip-btn-outline {
    background: transparent;
    border: 2px solid #0ea5e9;
    color: #0ea5e9;
}

.wcip-btn-outline:hover {
    background: #0ea5e9;
    color: #fff;
}

.wcip-btn-secondary {
    background: #34495e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wcip-btn-secondary:hover {
    background: #2c3e50;
}

.wcip-download-contract svg {
    flex-shrink: 0;
}

/* Reminders Section */
.wcip-reminders-section {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.wcip-reminders-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.wcip-reminders-header svg {
    color: #f39c12;
}

.wcip-reminders-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

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

.wcip-reminder-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: background 0.2s ease;
}

.wcip-reminder-item:hover {
    background: #f1f3f4;
}

.wcip-reminder-overdue {
    background: #fef3f2;
    border-right: 3px solid #e74c3c;
}

.wcip-reminder-overdue:hover {
    background: #fee4e2;
}

.wcip-reminder-upcoming {
    border-right: 3px solid #f39c12;
}

.wcip-reminder-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wcip-reminder-overdue .wcip-reminder-icon {
    background: #fecaca;
    color: #dc2626;
}

.wcip-reminder-upcoming .wcip-reminder-icon {
    background: #fef3c7;
    color: #d97706;
}

.wcip-reminder-content {
    flex: 1;
    min-width: 0;
}

.wcip-reminder-title {
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 4px;
}

.wcip-reminder-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.wcip-reminder-amount {
    font-weight: 600;
    color: #0ea5e9;
}

.wcip-reminder-date {
    color: #7f8c8d;
}

.wcip-reminder-overdue .wcip-reminder-date {
    color: #dc2626;
    font-weight: 500;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .wcip-summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .wcip-summary-cards {
        grid-template-columns: 1fr;
    }
    
    .wcip-plan-actions {
        flex-direction: column;
    }
    
    .wcip-plan-actions .wcip-btn {
        width: 100%;
        justify-content: center;
    }
    
    .wcip-reminder-item {
        flex-wrap: wrap;
    }
    
    .wcip-reminder-item .wcip-btn {
        width: 100%;
        margin-top: 10px;
        text-align: center;
        justify-content: center;
    }
    
    .wcip-reminder-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .wcip-verification-page.wcip-wizard {
        padding: 10px;
    }
    
    .wcip-wizard-step {
        padding: 20px;
    }
    
    .wcip-documents-upload-grid {
        grid-template-columns: 1fr;
    }
    
    .wcip-upload-card-wide {
        grid-column: auto;
    }
    
    .wcip-step-footer {
        flex-direction: column-reverse;
    }
    
    .wcip-step-footer .wcip-btn {
        width: 100%;
    }
    
    .wcip-steps-indicator {
        gap: 8px;
    }
    
    .wcip-step-label {
        font-size: 10px;
        max-width: 60px;
    }
    
    .wcip-otp-digit {
        width: 40px;
        height: 50px;
        font-size: 20px;
    }
    
    .wcip-phone-input-wrapper {
        flex-direction: column;
    }
}
