:root {
    --font-family-base: proxima-nova, Helvetica, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Update all text elements to inherit the base font */
h1, h2, h3, h4, h5, h6,
p, span, a, button, input, label, div {
    font-family: var(--font-family-base);
}

/* Ensure form elements use the same font */
input, select, textarea, button {
    font-family: var(--font-family-base);
}

/* Update card form font */
#card-form-container {
    font-family: var(--font-family-base);
}

.payment-container {
    min-height: auto;
    background-color: #f8f9fa;
    padding: 20px;
}

.payment-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 20px;
    transition: opacity 0.3s ease-out;
}

.payment-header {
    background: #5469d4;
    color: white;
    padding: 24px;
}

#card-form-container {            
    padding: 24px;
}

#card-form-container iframe {
    border: none;
    padding: 20px;
}

.donation-header {
    text-align: center;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #eee;
}

.donation-message {
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
    color: #444;
}

.amount-input-container {
    max-width: 200px;
    margin: 0 auto 24px;
    text-align: left;
}

.input-wrapper {
    position: relative;
}

.input-wrapper::before {
    content: '$';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #495057;
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

.amount-input {
    width: 100%;
    padding: 12px 12px 12px 32px;
    font-size: 18px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    text-align: left;
}

.amount-input:focus {
    outline: none;
    border-color: #5469d4;
    box-shadow: 0 0 0 3px rgba(84, 105, 212, 0.25);
}

.amount-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    min-height: 20px;
    text-align: center;
}

.amount-input.invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

.thank-you-slide {
    display: none;
}

.thank-you-slide .hero-section {
    margin-bottom: 0;
}

.thank-you-slide .main-content {
    min-height: calc(100vh - 84px - 200px);
    padding: 60px 0;
}

.thank-you-slide.visible {
    opacity: 1;
    pointer-events: all;
}

.thank-you-content {
    padding: 24px 0;
    text-align: center;
}

.check-circle {
    margin: 0 auto 24px;
    width: 60px;
    height: 60px;
    animation: scale-in 0.3s ease-out;
}

.thank-you-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
}

.thank-you-title .highlight {
    color: #dfcea9;
    font-weight: 600;
}

.thank-you-message {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 24px;
    max-width: 600px;
}

.receipt-section {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 24px;
}

.receipt-title {
    color: #0088cc;
    font-size: 24px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.receipt-instruction {
    color: #495057;
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.donation-amount {
    font-size: 20px;
    font-weight: 600;
    color: #32325d;
    margin-bottom: 24px;
    padding: 16px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.receipt-thanks {
    color: #495057;
    font-size: 16px;
    margin: 0;
}

.thank-you-details {
    color: #8898aa;
    font-size: 16px;
}

@keyframes scale-in {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.site-header {
    background-color: #002d42;
    padding: 1rem 0;
    position: relative;
    z-index: 101;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
    /* Ensure logo maintains its aspect ratio */
    object-fit: contain;
}

.nav-buttons .btn {
    margin-left: 0.5rem;
}

.hero-section {
    background: url(https://cdn-dgffk.nitrocdn.com/gfzyUCtbRkHthyIugBDhArgVWZnSUjmS/assets/images/source/rev-c0ecd89/bancofcal.com/wp-content/uploads/2021/01/Refresh-BOC-mark-light-gray.svg),
                linear-gradient(0deg, rgba(226,230,232,1) 0%, rgba(255,255,255,1) 100%);
    background-position-x: 50%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-size: auto;
    box-sizing: border-box;
    color: rgb(1, 26, 41);
    padding: 4rem 0;
}

.hero-section h1 {
    font-family: proxima-nova, Helvetica, sans-serif;
    font-size: 50px;
    font-weight: 800;
    line-height: 52px;
    margin: 0 0 8px 0;
    padding: 0;
    color: rgb(1, 26, 41);
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: auto;
    box-sizing: border-box;
    text-size-adjust: 100%;
    vertical-align: baseline;
    text-align: left;
}

.hero-section h1 sup {
    font-size: 16px;
    color: #4a4a4a;
    vertical-align: super;
    line-height: 0;
}

.text-primary {
    color: #0088cc !important;
}

.text-secondary {
    color: #4a4a4a;
}

.main-content {
    background-color: #536878;
    color: white;
    padding: 2rem 0;
    min-height: 400px;
}

.highlight {
    color: #dfcea9;
}

.lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.receipt-note, .thank-you-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

.payment-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 2rem;
}

.site-footer {
    background-color: #f8f9fa;
    padding: 4rem 0 2rem;
    position: relative;
    width: 100%;
    z-index: 101;
}

.footer-top {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.footer-content {
    margin-bottom: 3rem;
}

.site-footer h5 {
    color: #002d42;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 0.5rem;
}

.site-footer ul li a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.site-footer ul li a:hover {
    color: #0088cc;
}

.social-links li a {
    display: inline-flex;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid #dee2e6;
    padding-top: 2rem;
}

.tax-note {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
}

.disclaimer {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-legal {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.footer-legal p {
    margin-bottom: 0.5rem;
}

.footer-logos {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.equal-housing, .member-fdic {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-content .col-md-3 {
        margin-bottom: 2rem;
    }

    .footer-content h5 {
        margin-bottom: 1rem;
    }
} 

.amount-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #495057;
    font-size: 20px;
    text-align: center;
}

.payment-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #495057;
    font-size: 20px;
    text-align: center;
    padding: 0 24px;
}

.payment-section {
    padding-top: 24px;
} 

.content-section {
    transition: opacity 0.3s ease-out;
}

.content-section.hidden {
    display: none;
    opacity: 0;
} 

.receipt-details {
    margin: 24px 0;
}

.receipt-row {
    display: flex;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.receipt-label {
    color: #666;
    width: 140px;
    flex-shrink: 0;
}

.receipt-value {
    color: #32325d;
    font-weight: 500;
}

.receipt-divider {
    height: 1px;
    background-color: #eee;
    margin: 16px 0;
}

@media (max-width: 768px) {
    .receipt-row {
        flex-direction: column;
    }

    .receipt-label {
        width: auto;
        margin-bottom: 4px;
    }
} 

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.print-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #5469d4;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.print-button:hover {
    background: #4054b2;
}

.print-button svg {
    stroke: currentColor;
}

/* Update print styles */
@media print {
    @page {
        margin: 0;
        size: 8.5in 11in;
    }

    body * {
        visibility: hidden;
    }
    
    .receipt-section,
    .receipt-section * {
        visibility: visible;
    }
    
    .receipt-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 36px;
        margin: 0;
        box-shadow: none;
        background: none;
        border-radius: 0;
    }

    .receipt-section::before {
        content: "Banc of California Wildfire Relief & Recovery Fund";
        display: block;
        font-size: 12px;
        color: #666;
        margin-bottom: 24px;
        text-align: right;
    }

    .receipt-title {
        color: #0088cc;
        font-size: 18px;
        margin-bottom: 12px;
        text-transform: uppercase;
    }

    .receipt-instruction {
        color: #495057;
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.3;
    }

    .receipt-details {
        margin: 24px 0;
    }

    .receipt-row {
        margin-bottom: 12px;
        page-break-inside: avoid;
    }

    .receipt-label {
        color: #666;
        font-size: 14px;
        font-weight: normal;
        margin-bottom: 2px;
        display: block;
    }

    .receipt-value {
        color: #000;
        font-size: 14px;
        font-weight: normal;
        display: block;
        line-height: 1.3;
    }

    .receipt-divider {
        margin: 16px 0;
        border-top: 1px solid #eee;
    }

    .receipt-thanks {
        margin-top: 24px;
        font-size: 14px;
        color: #495057;
    }

    /* Force single column layout when printing */
    .receipt-row {
        flex-direction: column;
    }

    .receipt-label {
        width: auto;
    }

    /* Remove header styling */
    .receipt-header {
        margin-bottom: 12px;
    }

    .print-button {
        display: none !important;
    }
} 

.receipt-tax-note {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    margin: 24px 0;
}

@media print {
    .receipt-tax-note {
        color: #666;
        font-size: 12px;
        line-height: 1.4;
        margin: 24px 0;
        page-break-inside: avoid;
    }
} 

.captcha-message {
    color: #495057;
    font-size: 14px;
    text-align: center;
    margin-bottom: 24px;
}

#captcha-container {
    margin: 0 auto 24px;
    max-width: 300px;
}

.captcha-error {
    color: #dc3545;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

/* Update payment content visibility */
#payment-content {
    transition: opacity 0.3s ease-out;
} 

#card-section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

#card-section.visible {
    opacity: 1;
}

.donation-header {
    margin-bottom: 24px;
    border-bottom: none;
    padding: 0;
}

.amount-input-container {
    margin-bottom: 32px;
}

#captcha-section {
    opacity: 1;
    transition: opacity 0.3s ease-out;
} 

/* Base container styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Layout styles */
.donation-layout {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.donation-content {
    flex: 1;
    min-width: 300px;
}

.donation-form {
    flex: 1;
    min-width: 400px;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .donation-layout {
        flex-direction: column;
        padding: 0;
    }

    .donation-content,
    .donation-form {
        flex: none;
        width: 100%;
        min-width: 0;
    }

    .donation-content {
        padding: 1rem;
    }

    .donation-form {
        padding: 0;
    }

    .payment-card {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #captcha-container,
    #card-form-container {
        max-width: 400px;
        margin: 0 auto 24px;
        padding: 0 1rem;
    }

    .amount-input-container {
        max-width: 300px;
        margin: 0 auto 32px;
    }
} 