/* Calculator Styles - Matching React Component */
.omi-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.omi-overlay.active {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-content: center;
}

.omi-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    font-family: inherit /*-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif*/;
}

.text-white{color:#fff;}
.text-black{color:#333;}
.items-end{align-items:end}
.col-span-2{grid-column: 1 / span 2;}
.col-span-1{grid-column:1 / span 1;}
.w-full{width:100%;}

.omi-flex-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 1024px) {
    .omi-flex-container {
        flex-direction: row;
        gap: 6.5rem;
    }
}

.omi-calculator-form {
    flex: 1;
}

.omi-info-sidebar {
    flex: 1;
}

.omi-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .omi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.omi-field {
    margin-bottom: 1rem;
}

.omi-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.omi-field .required {
    color: #dc2626;
}

.omi-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #6b7280;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.15s ease-in-out;
}

.omi-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.omi-radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.omi-radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.omi-radio {
    width: 1rem;
    height: 1rem;
    border: 2px solid #6b7280;
    border-radius: 50%;
    appearance: none;
    cursor: pointer;
    position: relative;
}

.omi-radio:checked {
    border-color: #dc2626;
}

.omi-radio:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 0.5rem;
    height: 0.5rem;
    background: #dc2626;
    border-radius: 50%;
}

.omi-section {
    border: 1px solid #6b7280;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .omi-section {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 1rem;
    }
}

.omi-hidden {
    display: none !important;
}

.omi-hide {display:none;}

.omi-payment-buttons {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 1024px) {
    .omi-payment-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

.omi-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 0.875rem;
}

.omi-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.omi-btn-primary {
    background-color: #059669;
    color: white;
}

.omi-btn-primary:hover:not(:disabled) {
    background-color: #047857;
}

.omi-btn-secondary {
    background-color: transparent;
    color: #995533;
    border: 1px solid #995533;
}

.omi-btn-secondary:hover:not(:disabled) {
    background-color: rgba(153, 85, 51, 0.1);
    color: #333;
}

.omi-pricing-breakdown {
    border: 1px solid #ff9955;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-top: 1rem;
}

.omi-pricing-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.5rem;
}

/* Customer Info Form */
.omi-customer-form {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    max-width: 600px;
    width: 60%;
}

@media (min-width: 768px) {
    .omi-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media screen and (max-width: 700px) {
    .omi-customer-form {
        width: 95%;
    }
    .col-span-2{grid-column: 1 / span 2;}
}

.omi-pricing-item {
    font-size: 0.875rem;
}

.omi-pricing-total {
    font-weight: bold;
    margin-top: 0.5rem;
}

.omi-customer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.omi-customer-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.omi-close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
}

.omi-close-btn:hover {
    color: #374151;
}

.omi-customer-fields {
    display: grid;
    gap: 1rem;
}

.omi-payment-summary {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-top: 1rem;
}

.omi-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.omi-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.omi-conversion {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.omi-stripe-form {
    margin-top: 1rem;
}

.omi-stripe-element {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.75rem;
    background: white;
}

.omi-processing {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: omi-spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes omi-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.omi-error {
    color: #dc2626;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-top: 1rem;
    display: none;
}

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

/* Pricing Info Sidebar */
.omi-info-content {
    font-size: 0.75rem;
    line-height: 1.5;
}

.omi-info-content h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.omi-info-content strong {
    color: #111827;
    font-weight: 600;
}

.omi-info-content ul {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.omi-info-content li {
    margin-bottom: 0.25rem;
}

/* Loading Overlay */
.omi-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.omi-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Multi-Step Form Styles */
.omi-multi-step-form {
    position: relative;
    min-height: 400px;
}

.omi-progress {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.omi-progress-step {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: #e5e7eb;
    transition: all 0.3s ease;
}

.omi-progress-step.active {
    background: #059669;
}

.omi-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.omi-step.active {
    display: block;
}

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

.omi-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.omi-step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.omi-field.full-width {
    grid-column: 1 / -1;
}

.omi-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Summary Styles */
.omi-summary-box {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.omi-summary-box h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.omi-summary-content {
    display: grid;
    gap: 10px;
}

.omi-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.omi-summary-row:last-child {
    border-bottom: none;
}

.omi-summary-label {
    font-weight: 500;
    color: #4b5563;
}

.omi-summary-value {
    color: #111827;
    text-align: right;
}

/* Payment Section */
.omi-payment-section {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.omi-payment-info {
    margin-top: 20px;
    padding: 15px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
}

.omi-payment-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 5px;
}

.omi-payment-gateway {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Form Validation */
.omi-input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.omi-error-message {
    font-size: 0.875rem;
    color: #dc2626;
    margin-top: 5px;
}

/* Overlay Styles */
.omi-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.omi-overlay .omi-customer-form {
    background: white;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Loading State */
.omi-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .omi-step-title {
        font-size: 1.125rem;
    }
    
    .omi-summary-box {
        padding: 15px;
    }
    
    .omi-payment-section {
        padding: 15px;
    }
}
Deprecated: Creation of dynamic property OmiTripCalculator::$product_id is deprecated in /Users/Sam/Local Sites/omiafrica/app/public/wp-content/plugins/omi-trip-calculator/omi-trip-calculator.php on line 63

