body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f6f8fb;
}
/* Carousel styles that were previously broken in js block */
#myCarousel.nav a small {
    display: block;
}
#myCarousel.nav {
    background: #eee;
}
#myCarousel.nav a {
    border-radius: 0px;
}
/* Modern styling for the payment page */
.modern-payment-card,
.modern-payment-card * {
    box-sizing: border-box;
}
.modern-payment-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #e5e7eb;
    padding: 40px;
    margin-top: 30px;
    margin-bottom: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.modern-payment-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.payment-header {
    text-align: center;
    margin-bottom: 20px;
}
.payment-header h2 {
    font-weight: 700;
    color: #1e3a8a;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.payment-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}
.payment-header p {
    color: #6b7280;
    font-size: 15px;
    margin-top: 15px;
}
.secure-banner {
    flex: 3;
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.secure-banner-icon {
    font-size: 24px;
    color: #2563eb;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.secure-banner-text {
    font-size: 13px;
    color: #1e3a8a;
    line-height: 1.6;
    font-weight: 500;
}
.payment-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 8px;
}
.payment-section-title i {
    color: #3b82f6;
}
/* Form Layout & Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
}
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .modern-payment-card {
        padding: 24px;
    }
}
.form-group-full {
    grid-column: span 2;
}
@media (max-width: 768px) {
    .form-group-full {
        grid-column: span 1;
    }
}
.form-group-triple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    grid-column: span 2;
}
@media (max-width: 768px) {
    .form-group-triple {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }
}
.custom-form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}
.custom-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.custom-label .required-dot {
    color: #ef4444;
    margin-left: 4px;
    font-size: 14px;
}
.input-container {
    position: relative;
    display: flex;
    align-items: center;
}
.input-container i {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 16px;
    transition: color 0.3s;
    pointer-events: none;
}
.input-control {
    width: 100%;
    padding: 12px 14px 12px 42px;
    font-size: 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background-color: #fff;
    color: #111827;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
.textarea-control {
    padding-left: 14px !important;
    min-height: 80px;
    resize: none;
}
.select-control {
    padding-left: 42px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}
.input-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    outline: none;
}
.input-control:focus + i {
    color: #3b82f6;
}
/* Valid / Invalid States */
.input-control.is-valid {
    border-color: #10b981;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 42px;
}
.select-control.is-valid {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
}
.input-control.is-valid:focus {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}
.input-control.is-invalid {
    border-color: #ef4444;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ef4444'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 42px;
}
.select-control.is-invalid {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
}
.input-control.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}
.error-message {
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 4px;
}
.character-counter {
    font-size: 11px;
    color: #6b7280;
    font-weight: normal;
}
.character-counter.limit-reached {
    color: #ef4444;
    font-weight: 600;
}
/* Pay Button and Payment Badges */
.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}
.payment-methods img {
    max-height: 38px;
    opacity: 0.95;
    transition: opacity 0.3s;
}
.submit-container {
    grid-column: span 2;
    text-align: center;
    margin-top: 30px;
}
@media (max-width: 768px) {
    .submit-container {
        grid-column: span 1;
    }
}
.modern-submit-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    font-family: 'Montserrat', sans-serif;
}
.modern-submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}
.modern-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}
/* Banner Row Container for side-by-side placement on desktop */
.banner-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    align-items: stretch;
}
/* Accepted Cards Top Strip styling - "pro way" */
.accepted-cards-container {
    flex: 2;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 30px;
}
.accepted-cards-container:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}
.accepted-cards-label {
    font-size: 13px;
    color: #475569;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.accepted-cards-label i {
    color: #3b82f6;
    font-size: 15px;
}
.accepted-cards-container img.payimg-top {
    max-height: 80px; /* Made a bit larger for proper visual */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.04));
    transition: transform 0.3s ease;
}
.accepted-cards-container:hover img.payimg-top {
    transform: scale(1.02);
}
@media (max-width: 991px) {
    .banner-row {
        flex-direction: column;
        gap: 15px;
    }
    .secure-banner, .accepted-cards-container {
        width: 100%;
        flex: none;
    }
}
@media (max-width: 640px) {
    .accepted-cards-container {
        padding: 16px;
    }
}
/* Important Guidelines / Notes Card */
.payment-notes-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #f59e0b; /* Amber border for notification/note state */
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 35px;
    box-sizing: border-box;
    width: 100%;
    clear: both;
    display: block;
}
.payment-notes-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.payment-notes-header i {
    color: #f59e0b;
    font-size: 18px;
}
.payment-notes-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.payment-notes-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
}
.payment-notes-list li code {
    background: #f1f5f9;
    color: #0f172a;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
}
.notes-icon-amber {
    color: #f59e0b;
    font-size: 11px;
    margin-top: 5px;
    flex-shrink: 0;
}
.notes-icon-blue {
    color: #3b82f6;
    font-size: 13px;
    margin-top: 4px;
    flex-shrink: 0;
}
.notes-icon-green {
    color: #10b981;
    font-size: 13px;
    margin-top: 4px;
    flex-shrink: 0;
}
