.cash-transfer-wrapper {
    max-width: 600px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.cash-transfer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px 20px 0 0;
}

.cash-transfer-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f3f3f3;
  text-align: center;
  padding: 20px 10px;
}


.service-logo {
    margin-bottom: 15px;
}

.logo-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.cash-transfer-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.service-description {
  margin: 5px 0 10px;
  opacity: 0.9;
  font-size: 14px;
  line-height: 1.4;
}

.service-features {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
  max-width: 100%;
}

@media (max-width: 600px) {
  .service-features {
    justify-content: flex-start;
  }
}



.feature {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Progress Bar */
.progress-container {
    padding: 0 30px 20px;
    position: relative;
    z-index: 2;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    width: 0%;
    height: 3px;
    background: #4CAF50;
    border-radius: 2px;
    transition: width 0.3s ease;
    z-index: 1;
}

.progress-bar[data-progress="1"]::after { width: 0%; }
.progress-bar[data-progress="2"]::after { width: 33.33%; }
.progress-bar[data-progress="3"]::after { width: 66.66%; }
.progress-bar[data-progress="4"]::after { width: 100%; }

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.progress-step.active .step-number {
    background: #4CAF50;
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.progress-step.completed .step-number {
    background: #4CAF50;
    border-color: #4CAF50;
}

.step-label {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    text-align: center;
}

.progress-step.active .step-label {
    color: white;
    font-weight: 600;
}

/* Form Content */
#cash-transfer-form {
    background: white;
    margin: 0 30px 30px;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    min-height: 400px;
}

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

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

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

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

.step-header h3 {
    color: #333;
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
}

.step-header p {
    color: #666;
    margin: 0;
    font-size: 16px;
}

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

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

/* Ensure inputs are visible */
input[type="tel"], 
input[type="number"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
    box-sizing: border-box;
}

input[type="tel"]::-webkit-outer-spin-button,
input[type="tel"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.phone-input-container {
    display: flex;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    background: white;
    width: 100%;
    position: relative;
    height: 50px;
    align-items: stretch;
}

.phone-input-container:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.country-code {
    border: none;
    padding: 0 12px;
    background: #f8f9fa;
    font-weight: 500;
    color: #333;
    width: 110px;
    flex-shrink: 0;
    outline: none;
    border-right: 1px solid #e1e5e9;
    height: 100%;
    display: block;
}

.phone-input-container input {
    flex: 1;
    border: none;
    padding: 0 15px;
    font-size: 16px;
    outline: none;
    background: white;
    width: 100%;
    height: 100%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #333;
    box-sizing: border-box;
}

.phone-input-container input::placeholder {
    color: #999;
    font-style: italic;
}

.amount-input-container {
    position: relative;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: border-color 0.3s ease;
    background: white;
}

.amount-input-container:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.currency-symbol {
    padding: 15px 15px 15px 20px;
    font-weight: 600;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px 0 0 8px;
}

.amount-input-container input {
    flex: 1;
    border: none;
    padding: 15px 20px 15px 10px;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    background: transparent;
}

/* Validation Messages */
.field-validation {
    margin-top: 8px;
    font-size: 14px;
    min-height: 20px;
}

.field-validation.success {
    color: #4CAF50;
}

.field-validation.error {
    color: #f44336;
}

.field-validation::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

.field-validation.success::before {
    content: '✅';
}

.field-validation.error::before {
    content: '❌';
}

.field-help {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

/* Amount Info */
.amount-info {
    margin-top: 15px;
}

.fee-breakdown {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #667eea;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.fee-row:last-child {
    margin-bottom: 0;
}

.fee-row.total {
    font-weight: 700;
    font-size: 16px;
    padding-top: 10px;
    border-top: 2px solid #ddd;
    color: #333;
}

/* Confirmation Details */
.confirmation-details {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.detail-card h4 {
    margin: 0 0 10px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.detail-card p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.detail-card small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

/* Checkbox */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.5;
    font-size: 14px;
}

.checkbox-container input {
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-container input:checked + .checkmark {
    background: #4CAF50;
    border-color: #4CAF50;
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-container a {
    color: #667eea;
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

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

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e1e5e9;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.loading-overlay p {
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* Security Info */
.security-info {
    text-align: center;
    padding: 20px 30px 30px;
    color: rgba(255, 255, 255, 0.9);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.security-note {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.error-modal {
    border-left: 4px solid #f44336;
}

.error-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: #f44336;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.modal-content h3 {
    color: #333;
    margin: 0 0 15px;
    font-size: 24px;
    font-weight: 700;
}

.modal-content p {
    color: #666;
    margin: 10px 0;
    line-height: 1.5;
}

.modal-content strong {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cash-transfer-wrapper {
        margin: 10px;
        border-radius: 15px;
    }
    
    .cash-transfer-header {
        padding: 20px 20px 15px;
    }
    
    .cash-transfer-header h2 {
        font-size: 24px;
    }
    
    .service-features {
        gap: 10px;
    }
    
    .feature {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .progress-container {
        padding: 0 20px 15px;
    }
    
    .progress-step {
        flex: 1;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 11px;
        margin-top: 6px;
    }
    
    #cash-transfer-form {
        margin: 0 20px 20px;
        padding: 25px 20px;
        min-height: 350px;
    }
    
    .step-header h3 {
        font-size: 20px;
    }
    
    .step-header p {
        font-size: 14px;
    }
    
    .phone-input-container input,
    .amount-input-container input {
        padding: 12px;
        font-size: 16px;
    }
    
    .country-code {
        padding: 12px 10px;
        min-width: 85px;
    }
    
    .currency-symbol {
        padding: 12px;
    }
    
    .confirmation-details {
        gap: 15px;
    }
    
    .detail-card {
        padding: 15px;
    }
    
    .detail-card h4 {
        font-size: 14px;
    }
    
    .detail-card p {
        font-size: 16px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 15px;
        width: 100%;
    }
    
    .security-info {
        padding: 15px 20px 20px;
    }
    
    .security-badges {
        gap: 8px;
    }
    
    .badge {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .success-icon {
        font-size: 48px;
        margin-bottom: 15px;
    }
    
    .modal-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .progress-bar {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-step {
        min-width: calc(50% - 5px);
        margin-bottom: 15px;
    }
    
    .progress-bar::before,
    .progress-bar::after {
        display: none;
    }
    
    .logo-icon {
        font-size: 40px;
    }
    
    .service-features {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    /* Compact layout on very small screens */
    .step-label { display: none; }
    .service-description { display: none; }
    .service-features { display: none; }
    .progress-container { padding: 0 12px 12px; }
    #cash-transfer-form { margin: 0 12px 12px; padding: 16px 14px; min-height: auto; }
    .form-group { margin-bottom: 16px; }
    .step-header h3 { font-size: 18px; margin-bottom: 6px; }
    .step-header p { display: none; }
    .phone-input-container { height: 44px; }
    .country-code { width: 90px; }
    .amount-input-container input { padding: 12px; font-size: 16px; }
    .currency-symbol { padding: 10px; }
    .form-navigation { margin-top: 20px; }
    .btn { padding: 12px 18px; min-width: 0; }
    .security-info { display: none; }
}

/* Input Focus States */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Animations */
.form-step {
    transition: all 0.3s ease;
}

.progress-step {
    transition: all 0.3s ease;
}

.btn {
    position: relative;
    overflow: hidden;
}

.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;
}

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

/* Error States */
.form-group.error .phone-input-container,
.form-group.error .amount-input-container {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

/* Success States */
.form-group.success .phone-input-container,
.form-group.success .amount-input-container {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Custom Scrollbar */
.cash-transfer-wrapper::-webkit-scrollbar {
    width: 6px;
}

.cash-transfer-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.cash-transfer-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.cash-transfer-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Debug styles - remove after testing */
/* Removed debug styles */

/* Force input visibility */
input[type="tel"], 
input[type="number"],
input[type="text"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
    box-sizing: border-box;
    font-family: inherit;
}

.terms-conditions-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.terms-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.terms-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.last-updated {
    color: #666;
    font-style: italic;
}

.terms-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #3498db;
    border-radius: 5px;
}

.terms-section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.terms-section h3 {
    color: #34495e;
    margin: 15px 0 10px 0;
    font-size: 1.1em;
}

.terms-section ul {
    margin: 10px 0;
    padding-left: 20px;
}

.terms-section li {
    margin-bottom: 5px;
}

.terms-footer {
    background: #34495e;
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 30px;
}

.effective-date {
    margin-top: 10px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Fee Table Styling */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.fee-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.fee-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
}

.fee-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #eee;
}

.fee-table tbody tr {
    transition: background-color 0.3s ease;
}

.fee-table tbody tr:hover {
    background-color: #f5f5f5;
}

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

.fee-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

@media (max-width: 768px) {
    .terms-conditions-wrapper {
        padding: 10px;
    }
    
    .terms-section {
        padding: 15px;
    }

    .fee-table {
        font-size: 0.9rem;
    }

    .fee-table th,
    .fee-table td {
        padding: 0.75rem 0.5rem;
    }
}