* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-image: url('public/background.jpg'); /* Set local image as background */
    background-size: cover; /* Cover the entire background */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}

.container {
    width: 100%;
    max-width: 750px; /* Increased max-width by 50% (500px + 50% of 500px = 750px) */
    padding: 0;
    /* Remove semi-transparent white background */
    border-radius: 12px; /* Match the form container's border-radius */
    overflow: hidden; /* Ensure content respects border-radius */
}


.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
  }

.logo {
    padding: 10px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(145deg, #FAF5F7, #ffffff);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #1d1d1f;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease-in-out;
    margin: 10px;
}

.vendor-promo {
    text-align: center;
    margin-bottom: 2.5rem; /* Space below the promo section */
    color: #594435; /* Use the dark brown color for text */
}

.vendor-promo h2 {
    font-size: 1.5rem; /* Slightly smaller heading for the subsection */
    margin-bottom: 1rem;
    color: #2D4159; /* Use a contrasting color from the palette */
}

.vendor-promo p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.vendor-promo .call-to-action {
    font-size: 1.3rem; /* Make the call to action stand out */
    font-weight: bold;
    margin-top: 1.5rem;
}

.form-container {
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08); /* Softer, more prominent shadow */
}

.form-row {
    display: flex; /* Use flexbox to create columns */
    gap: 20px; /* Add space between columns */
    margin-bottom: 1.5rem; /* Keep consistent spacing with single form groups */
}

.form-row .form-group {
    flex: 1; /* Allow form groups to grow and shrink equally */
    margin-bottom: 0; /* Remove bottom margin from form groups within a row */
}

h1 {
    text-align: center;
    color: #594435; /* Dark brown for heading */
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    color: #594435; /* Dark brown for labels */
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

input, select {
    width: 100%;
    padding: 1.2rem 1rem;
    border: 1px solid #C89768; /* Gray-brown border color */
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

input:focus, select:focus {
    outline: none;
    border-color: #2D4159; /* Dark blue-gray on focus */
}

.submit-btn {
    width: 100%; /* Button takes full width */
    padding: 1.2rem 1rem;
    background-color: #594435; /* Dark brown for button */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    display: block; /* Make button a block element to center */
    margin: 1.5rem auto 0; /* Center button and add top margin */
    max-width: 300px; /* Limit button width for better centering */
    position: relative; /* For spinner positioning */
}

.submit-btn:hover {
    background-color: #0F1931; /* Almost black on hover */
}

.submit-btn:disabled {
    background-color: #8B7355; /* Lighter brown when disabled */
    cursor: not-allowed;
    opacity: 0.8;
}

.submit-btn .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.submit-btn.loading .spinner {
    display: inline-block;
}

.submit-btn.loading {
    padding-right: 50px; /* Make room for the spinner */
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    .container {
        padding: 0; 
    }
    
    .form-container {
        padding: 1.5rem;
    }
} 