@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* NOVO: Wrapper para centralizar apenas o conteúdo */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 20px; /* Reduzido de 40px */
    min-height: auto; /* Ou ajuste para um valor menor se quiser garantir altura mínima */
    margin-top: -100px; /* Adicione controle explícito do espaço */
}



.container {
    display: flex;
    flex-wrap: wrap;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
    gap: 30px;
    justify-content: center;
    margin-top: 100px; /* ← ALTERADO: espaço abaixo do cabeçalho */
}

.upload-box {
    width: 250px;
    height: 350px;
    background: #3b1d1a;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    text-align: center;
    padding: 10px;
}

.upload-box input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 500px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    cursor: pointer;
}

.radio-group input {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #3b1d1a;
    border-radius: 50%;
    margin-right: 5px;
    cursor: pointer;
    position: relative;
}

.radio-group input:checked {
    background-color: #3b1d1a;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #3b1d1a;
}

button {
    background-color: #3b1d1a;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #5a2d28;
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: translateY(1px);
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
}

.progress-container {
    width: 100%;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
    height: 8px;
    display: none;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #3b1d1a;
    transition: width 0.3s ease;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }

    .container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }

    .upload-box {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .form-section {
        width: 100%;
    }

    button {
        width: 100%;
    }
}
