* {
    margin: 0; 
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; /* fontes bonitinhas  através de pesquisas muito tufos*/
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); 
    color: #333;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh; /* pra n dar pau na altura */
}

form {
    max-width: 900px;
    margin: 0 auto; 
    background: #ffffff;
   
    padding: 40px; 
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); /* sombra pra parecer paseq*/
    border: 1px solid #dee2e6;
}

h1 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
 
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #dee2e6; /* linha de sepazação */
    letter-spacing: 0.5px;
}

.forms { /* formss molhadas YEAH YEAH*/
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #3498db; /* azulzinho pra destacar */
    margin-bottom: 32px;
}

.forms label,
.forms span {
    font-weight: 600;
    color: #495057;
    font-size: 15px;
   
    display: inline-block;
    margin-right: 12px;
    min-width: 120px; /* pra n desalineasar */
    vertical-align: middle;
}

.forms input[type="text"],
.forms input[type="number"],
.forms input[type="date"] {
    display: inline-block;
    width: 140px;
    padding: 10px 12px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 15px;
    margin: 4px 8px 4px 0;
    vertical-align: middle; /* alinha esta merda porfavor */
}

.forms input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #adb5bd;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    margin: 0 6px 0 4px;
    vertical-align: middle;
    position: relative;
}

.forms input[type="radio"]:checked {
    border-color: #3498db;
    background: #3498db;
}

.forms input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

label {
    font-weight: 600;
    display: block;
    margin: 24px 0 12px 0;
  
    color: #2c3e50;
    font-size: 16px;
    border-bottom: 1px solid #e9ecef; /* linha muito tufo 67676767 */
    padding-bottom: 8px;
}

input[type="radio"] {

    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #adb5bd;
  
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    margin: 0 8px 4px 4px;
    vertical-align: middle;
    position: relative;
    display: inline-block;

}

input[type="radio"]:checked {

    border-color: #28a745; /* verde pra sim enão */
    background: #28a745;

}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
   
    left: 50%;
    width: 8px;
    height: 8px;
  
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

input[type="text"], input[type="number"], input[type="date"] {

    display: inline-block;
    width: 100px; 
    padding: 10px 12px;
   
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 15px;
    margin: 4px 8px 8px 0;
    vertical-align: middle;

}

input[type="text"]:focus, input[type="number"]:focus, input[type="date"]:focus {
    
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);

}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {

    -webkit-appearance: none;
    margin: 0;

}

input[type="number"] {

    -moz-appearance: textfield;

}

p {

    color: #6c757d;
    font-size: 14px;
    margin: 12px 0 16px 0;
    line-height: 1.5;

}

input[type="submit"] {

    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
  
    cursor: pointer;
    margin-top: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;

}

input[type="submit"]:hover {

    background: linear-gradient(135deg, #218838 0%, #1ea080 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);

}

input[type="submit"]:active {

    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}


/* RESPONSIVO - ai meu deus mobile 💀 */

@media (max-width: 768px) {
   
    body {

        padding: 15px;
        font-size: 15px;
   
    }
    

    form {
        padding: 24px;
        margin: 10px;
    
    }
    
    h1 {

        font-size: 24px;
        margin-bottom: 24px;
    
    }
    
    .forms {

        padding: 20px;
    
    }
    
    .forms input[type="text"], .forms input[type="number"], .forms input[type="date"] {

        width: 100%;
        margin-bottom: 12px;
        display: block;
    
    }
    
    .forms span {

        display: block; /* texto em cima */
        margin-bottom: 8px;
        min-width: auto;
    
    }
    
    input[type="text"], input[type="number"] {

        width: 100%;
        margin-right: 0;
        display: block; /* adeus inline voce não é 67 e tufo ingual eu */
    
    }
    
    input[type="radio"] {

        margin: 0 6px 6px 0;
    
    }
}

@media (max-width: 480px) {
    form {

        padding: 20px; 
    
    }
    
    h1 {

        font-size: 22px;
    
    }
    
    label {

        font-size: 15px;
    
    }

}

/* print estilizacao pra enfiar no meu butico bem gostosinho */
@media print {

    body {

        background: white !important; /* AI MEU DEUS QUE IMPORTANTE SOIDUNWAOUIFNWFN*/
        color: black !important;
    
    }
    
    form {

        box-shadow: none !important;
        border: 1px solid #ccc !important;
        padding: 20px !important;
    
    }
    
    input[type="submit"] {

        display: none !important;
    
        
}

}

/* fim do codigo, talve o suicidio seja uma SOLUÇÃO  */