/* Template CSS File - Add your custom styles here */

/* Colors and header styles should remain in index.html to avoid flicker */

/* Form Section */
.form-section {
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
}

.form-background {
    background-image: url('https://res.cloudinary.com/dbtcg826q/image/upload/v1765489400/common/sp-buckets/img/jumpstart-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Form button hover */
.form-background button:hover,
.form-background input[type="submit"]:hover,
.form-background .btn:hover {
    background-color: #FF6B1A !important;
}

/* Steps Section - Step Icons */
.steps-section .step .step-icon {
    background: #FF6B1A;
    color: #ffffff;
    border-radius: 12px !important;
}

/* Connect headlines color override */
.steps-main-title {
    color: #314864 !important;
    font-family: 'Nunito', sans-serif;
}
.step-title {
    color: #314864 !important;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

/* Override form container height */
#storefrontloans_apply_form {
    min-height: 400px !important;
}

/* Site title logo styling */
.site-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-title svg {
    max-height: 2.8rem;
    width: auto;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.site-title-text {
    font-family: 'Nunito', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #314864;
    line-height: 1;
}

/* ---------------------------
   Steps Section Layout
   --------------------------- */
#hero-steps {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1rem;
}

#hero-steps > div:not(.loading-container) {
    display: grid;
    gap: 2rem;
}

/* Mobile: single column */
@media (max-width: 639.98px) {
    #hero-steps > div:not(.loading-container) {
        grid-template-columns: 1fr;
    }
}

/* Tablet: two columns */
@media (min-width: 640px) and (max-width: 1023.98px) {
    #hero-steps > div:not(.loading-container) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Desktop: four columns */
@media (min-width: 1024px) {
    #hero-steps > div:not(.loading-container) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

#hero-steps h1,
#hero-steps h2,
#hero-steps p {
    grid-column: 1 / -1;
    text-align: center;
    margin: 0 auto;
    max-width: 72ch;
}

#hero-steps > div:not(.loading-container) > *:not(h1):not(h2):not(h3):not(p) {
    
}

/* ---------------------------
   Dummy Form Styles
   --------------------------- */
#dummy-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #ffffff;
    border-radius: 8px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step.hidden {
    display: none;
}

.form-step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    text-align: center;
    margin-bottom: 2rem;
}

#step-1 {
    text-align: center;
}

/* Loan Amount Selection Grid */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.amount-btn {
    padding: 1.25rem 1rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.amount-btn:hover {
    border-color: #FF6B1A;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(255, 107, 26, 0.1);
}

.amount-btn.active {
    background: #FF6B1A;
    border-color: #FF6B1A;
    color: #ffffff;
}

/* SSL Badge */
.ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #10b981;
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.875rem;
    margin: 0 auto 0.5rem auto;
    font-weight: 600;
}

.ssl-text-bold {
    font-weight: 700;
}

.ssl-text-normal {
    font-weight: 400;
}

.ssl-icon {
    flex-shrink: 0;
}

.ssl-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.5rem 0 1rem 0;
    text-align: center;
}

.advertising-disclosure {
    text-align: center;
    margin-top: 1rem;
}

.advertising-disclosure a {
    color: #FF6B1A;
    text-decoration: none;
    font-size: 0.875rem;
}

.advertising-disclosure a:hover {
    text-decoration: underline;
}

/* Form Fields */
#dummy-loan-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333333;
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', system-ui, sans-serif;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #FF6B1A;
    box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: #FF6B1A;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.btn-submit:hover {
    background: #E55A0F;
}

.btn-submit:active {
    transform: translateY(1px);
}

/* Success Message */
.success-content {
    text-align: center;
    padding: 2rem 0;
}

.success-content h2 {
    color: #10b981;
    margin-bottom: 1rem;
}

.success-content p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.selected-amount-display {
    margin-top: 1.5rem;
    font-size: 1.125rem;
}

.selected-amount-display strong {
    color: #FF6B1A;
    font-size: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .amount-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .amount-btn {
        padding: 1rem;
        font-size: 0.9375rem;
    }
    
    .form-step-title {
        font-size: 1.25rem;
    }
}

