/* Modern Airtime to Cash Page Styles */
.modern-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: none;
    overflow: hidden;
    margin: 1rem;
}

.card-header-modern {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 24px 32px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.back-btn-modern {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn-modern:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.content-section {
    padding: 24px;
}

/* Modern Alert Styles */
.alert-modern {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: none;
}

@media (max-width: 768px) {
    .alert-modern {
        flex-direction: column;
        gap: 8px;
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .alert-icon {
        display: none;
    }
}

.alert-info-modern {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-left: 4px solid var(--primary);
}

.alert-warning-modern {
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
    border-left: 4px solid #ff9800;
}

.alert-icon {
    font-size: 18px;
    margin-top: 2px;
}

.alert-info-modern .alert-icon {
    color: var(--primary);
}

.alert-warning-modern .alert-icon {
    color: #ff9800;
}

.alert-content p {
    margin: 0;
    color: #374151;
    line-height: 1.5;
    font-size: 14px;
}

/* Form Section Styles */
.form-section {
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-body {
    padding: 24px;
}

.form-group-modern {
    margin-bottom: 20px;
}

.form-label-modern {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
}

.form-control-modern {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.amount-display {
    margin-top: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 8px;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: 14px;
    text-align: center;
}

.amount-display .cost {
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
}

/* Guide Container Styles */
.guide-container {
    margin-top: 20px;
}

.guide-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.guide-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.guide-number {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: #374151;
}

.guide-instructions {
    padding: 20px;
}

.guide-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.guide-content {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

/* Bank Details Section */
.bank-details-section {
    margin-top: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Form Actions */
.form-actions {
    margin-top: 24px;
    text-align: center;
}

.btn-modern {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.btn-notify-admin {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    font-size: 16px;
    padding: 16px 32px;
}

.btn-notify-admin:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
}

/* Animation Enhancements */
.modern-card {
    animation: fadeInUp 0.6s ease-out;
}

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

.guide-card {
    animation: slideInRight 0.5s ease-out;
}

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

.form-control-modern:focus {
    transform: scale(1.02);
}

/* Enhanced Button States */
.btn-modern:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success States */
.success-state {
    border-color: #10b981 !important;
    background-color: #ecfdf5 !important;
}

/* Error States */
.error-state {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-card {
        margin: 0.5rem;
        border-radius: 12px;
    }
    
    .card-header-modern {
        padding: 20px 24px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .form-body {
        padding: 20px;
    }
    
    .guide-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-card {
        margin: 0.25rem;
        border-radius: 8px;
    }
    
    .card-header-modern {
        padding: 16px 20px;
    }
    
    .content-section {
        padding: 16px;
    }
    
    .form-body {
        padding: 16px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .alert-modern {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .alert-content p {
        font-size: 13px;
        line-height: 1.4;
    }
}