
:root {
    --primary: #269e68;
    --primary-dark: #2a2a2b;
    --primary-light: #3b82f6;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

/* Base Styles */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 30px;
    border-bottom: none;
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-content i {
    font-size: 28px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
    font-size: 24px;
    position: absolute;
    right: 25px;
    top: 25px;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px;
    background: var(--gray-50);
}

/* Business Card */
.business-x-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 6px solid var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.business-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.business-icon i {
    color: white;
    font-size: 24px;
}

.business-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 8px 0;
}

.business-website {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
}

/* Smart Steps Design */
.process-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 25px;
    text-align: center;
}

.smart-steps {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.step-card {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    position: relative;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.step-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f8fafc, white);
}

.step-card.completed {
    border-color: var(--success);
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.step-indicator {
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--gray-300);
    color: var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.step-line {
    width: calc(100% + 40px);
    height: 3px;
    background: var(--gray-300);
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.step-card:last-child .step-line {
    display: none;
}

.step-card.active .step-number {
    background: var(--primary);
    color: white;
}

.step-card.completed .step-number {
    background: var(--success);
    color: white;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.step-icon i {
    font-size: 28px;
    color: var(--gray-600);
}

.step-card.active .step-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.step-card.active .step-icon i {
    color: white;
}

.step-card.completed .step-icon {
    background: linear-gradient(135deg, var(--success), #34d399);
}

.step-card.completed .step-icon i {
    color: white;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

.step-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-badge.automatic {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.step-badge.required {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.step-badge.instant {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Progress Status */
.progress-status {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 10px;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.status-item.active {
    opacity: 1;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: var(--gray-400);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.status-item.active .status-dot {
    background: var(--primary);
    transform: scale(1.2);
}

.status-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

/* Status Messages */
.status-message {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    align-items: flex-start;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.success-message {
    border-left: 6px solid var(--success);
}

.warning-message {
    border-left: 6px solid var(--warning);
}

.status-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.status-icon i {
    font-size: 28px;
}

.success-message .status-icon i {
    color: var(--success);
}

.warning-message .status-icon i {
    color: var(--warning);
}

.status-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--gray-900);
}

.status-content p {
    font-size: 16px;
    color: var(--gray-700);
    margin: 0;
    line-height: 1.5;
}

/* Form Styles */
.form-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.large-input {
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
}

.large-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 18px;
}

.input-with-icon .large-input {
    padding-left: 55px;
}

.input-help {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 8px;
}

/* Important Note */
.important-note {
    display: flex;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.note-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.note-icon i {
    color: var(--warning);
    font-size: 24px;
}

.note-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 10px 0;
}

.note-content p {
    font-size: 16px;
    color: var(--gray-700);
    margin: 0;
    line-height: 1.5;
}

/* Form Actions */
.form-actions {
    text-align: center;
}

.btn-claim-large {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-claim-large:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-claim-large:disabled {
    background: var(--gray-400);
    color: var(--gray-600);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.help-link {
    text-align: center;
}
.help-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
}

.help-link a:hover {
    text-decoration: underline;
}

/* State Messages */
.state-message {
    text-align: center;
    padding: 50px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.state-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.state-icon i {
    font-size: 32px;
    color: var(--primary);
}

.verification-required .state-icon i {
    color: var(--warning);
}

.state-message h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.state-message p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Animation for step completion */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.step-card.completed .step-number {
    animation: pulse 0.6s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 20px;
    }
    
    .modal-header {
        padding: 25px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .business-x-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .business-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    /* Smart Steps Mobile */
    .smart-steps {
        flex-direction: column;
        gap: 15px;
    }

    .step-card {
        min-height: auto;
        padding: 20px;
    }

    .step-header {
        justify-content: flex-start;
        margin-bottom: 15px;
    }

    .step-indicator {
        position: relative;
        left: auto;
        transform: none;
        margin-right: 15px;
    }

    .step-line {
        display: none;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        margin: 0;
    }

    .step-icon i {
        font-size: 20px;
    }

    .step-content h4 {
        font-size: 16px;
        text-align: left;
    }

    .step-content p {
        font-size: 14px;
        text-align: left;
    }

    .progress-status {
        gap: 20px;
        flex-wrap: wrap;
    }

    .status-item span {
        font-size: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .important-note {
        flex-direction: column;
        text-align: center;
    }
    
    .note-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .state-message {
        padding: 40px 20px;
    }
}

/* Large screen adjustments */
@media (min-width: 1200px) {
    .modal-lg {
        max-width: 800px;
    }
}