/* Basic Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* A soft linen/cream color */
    background-color: #fdfaf5; 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #4a4a4a;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
}

.studio-container {
    width: 100%;
    max-width: 800px; /* Keeps the form from getting too wide on desktop */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.studio-header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
    Display: none;
}

.studio-header h1 {
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 5px;
}

.studio-header p {
    font-style: italic;
    font-size: 14px;
    opacity: 0.7;
}

.form-wrapper {
    width: 100%;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); /* Very subtle shadow */
}

.studio-footer {
    margin-top: 40px;
    padding-bottom: 40px;
    font-size: 12px;
    opacity: 0.5;
    text-align: center;
}

/* Ensure the iframe fills the container */
iframe {
    width: 100% !important;
    min-height: 600px; /* Adjust based on your form's height */
    border: none;
    /*min-height: 900px !important; /* Forces enough room for the last page */
}


/* Mobile Optimization: Remove padding on small screens */
@media (max-width: 600px) {
   
    body {
        padding: 0;
        background-color: #ffffff; /* Optional: matching form white for a seamless look */
    }

    .studio-container {
        padding: 0;
        max-width: 100%;
    }

    .form-wrapper {
        padding: 0;
        border-radius: 0; /* Removes rounded corners for a full-bleed mobile look */
        box-shadow: none;
    }

    .studio-header {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }   
    
    .studio-footer {
        display:none;
    }


    iframe {
        display: block !important; 
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        min-height: 900px !important;
    }

    .form-wrapper {
        line-height: 0; /* Prevents container from adding height to child elements */
        font-size: 0;   /* Another way to kill "inline" ghost spaces */
    }
}