@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@200;300;400&display=swap');

* {
    font-family: 'Barlow';
}
*{
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 700px;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
}


.container-selects {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; 
  align-items: center;
}

.container-selects select,
.container-selects .select2 {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

form {
    width: 100%;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

legend {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

label {
    font-weight: bold;
    margin-top: 1rem;
    display: block;
}

.iti {
    width: 100% !important;
    margin: 5px 0 14px;
    font-family: 'Barlow', sans-serif;
}

.iti input[type="tel"],
.iti__tel-input {
    font-family: 'Barlow', sans-serif !important;
    width: 100% !important;
    padding: 0 rem !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: white !important;
}

.column .iti {
    width: 100% !important;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="month"],
input[type="date"],
input[type="password"],
select,
.select2 {
    width: 100%;
    padding: 0.6rem;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
.select2:focus {
    border-color: #CE293C;
    outline: none;
}

.input-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.column {
    width: 48%;
    margin-bottom: 1rem;
}

input[type="submit"],
.btn-cancelar,
.nextButton {
    padding: 10px 20px;
    margin: 10px 5px 5px 0;
    background-color: white;
    color: #CE293C;
    border: none;
    border-radius: 20px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

input[type="submit"]:hover,
.btn-cancelar:hover,
.nextButton:hover {
    background: linear-gradient(to right, #CE293C, #5E1724);
    transform: scale(1.05);
    color: white;
    display: inline-block;
}
        .file-btn {
            text-decoration: none;
            color: #CE293C;
            padding: 5px 10px; 
            display: inline-block;
            margin: 0 5px;
            border-radius: 20px;
            border-color: transparent;
            background: white;
            transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
        }
        .file-btn:hover {
            cursor: pointer;
            background: linear-gradient(to right, #CE293C, #5E1724);
            transform: scale(1.05);
            color: white;
            display: inline-block;
        }

.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 1rem;
        margin: 20px;
    }

    legend {
        font-size: 1.5rem;
    }

    .input-row {
        flex-direction: column;
    }

    .column {
        width: 100%;
    }

    .iti {
        margin-bottom: 15px;
    }
}

.custom-file-wrapper {
    width: 100%;
    padding: 0.4rem;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}
