/* Tara Payment Styles */
.tara-payment-fields {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.tara-payment-instructions {
    margin-bottom: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 5px;
    border-left: 4px solid #007cba;
}

.tara-form-fields .form-group {
    margin-bottom: 15px;
}

.tara-form-fields label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.phone-input-group {
    display: flex;
    align-items: center;
}

.phone-prefix {
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-weight: 600;
}

.tara-phone-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 0 4px 4px 0;
}

.tara-network-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tara-payment-info {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #28a745;
}

.tara-payment-details h5 {
    margin-top: 0;
    color: #28a745;
}

.ussd-instruction, .wave-instruction {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.ussd-code {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.ussd-code code {
    flex: 1;
    padding: 10px;
    background: #fff;
    border: 1px dashed #007cba;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.btn-copy-ussd {
    padding: 10px 15px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-copy-ussd:hover {
    background: #005a87;
}

.btn-wave {
    display: inline-block;
    padding: 12px 24px;
    background: #00b894;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.btn-wave:hover {
    background: #00a085;
    color: white;
}

.payment-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
}

.payment-status > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.status-pending {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.status-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.status-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .phone-input-group {
        flex-direction: column;
    }
    
    .phone-prefix {
        width: 100%;
        border-right: 1px solid #ddd;
        border-radius: 4px 4px 0 0;
    }
    
    .tara-phone-input {
        width: 100%;
        border-radius: 0 0 4px 4px;
    }
}