/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.payment-method-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.payment-method-card:hover {
    transform: translateY(-5px);
    border-color: #3498db;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.payment-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.payment-method-card h5 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.payment-method-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.method-pay-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.method-pay-btn:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-2px);
}

/* Payment method specific colors */
.visa-card .payment-icon { color: #1a1f71; }
.mpesa-card .payment-icon { color: #00a74a; }
.bank-card .payment-icon { color: #2c3e50; }
.quick-pay-card .payment-icon { color: #00a74a; }

/* Paystack Specific Styles */
.paystack-btn {
    background: linear-gradient(135deg, #00a74a, #008c3a) !important;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin: 10px 0;
    width: 100%;
}

.paystack-btn:hover {
    background: linear-gradient(135deg, #008c3a, #00732f) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 167, 74, 0.3);
}

.paystack-primary {
    background: linear-gradient(135deg, #00a74a, #008c3a) !important;
}

.paystack-secondary {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
}

/* File Upload Styles - Simple and Clean */
.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: #fafafa;
}

.file-upload-area:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    pointer-events: none;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.7;
}

.file-list {
    display: none;
    margin-top: 20px;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.file-icon {
    margin-right: 12px;
    font-size: 20px;
    color: #3498db;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.file-size {
    font-size: 12px;
    color: #7f8c8d;
}

.remove-file {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
}

.remove-file:hover {
    background: #c0392b;
}

/* Payment Processing Modal */
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.payment-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.close-modal {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
}
/* Requirements Box */
.requirements-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.requirements-box h4 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.requirements-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.requirements-box li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #856404;
}

.requirements-box li:before {
    content: "•";
    color: #856404;
    font-weight: bold;
    position: absolute;
    left: 10px;
}

.requirements-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #856404;
    font-weight: 600;
}

.upload-help {
    margin-top: 10px;
    padding: 10px;
    background: #d1ecf1;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #0c5460;
    border-left: 4px solid #0c5460;
}