
.titulo h1 {
    color: #1C1F73;
    font-size: 50px;
    margin-top: 40px;
}

.config-main {
    width: 100%;
}

.config-section {
    /* ajusta a altura se o form crescer */
    height: auto !important;
    min-height: 80vh;
}

.form-masmorra-custom {
    margin-top: 30px;
    background-color:  #94a9d6;
    border: 4px solid #4e61a1;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    color: #ffffff;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group-title {
    font-size: 1.6rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.checkbox-container {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-container label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1.4rem;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Layout em linha para entradas numéricas */
.row-layout {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.row-layout label {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-size: 1.5rem;
}

.row-layout input[type="number"] {
    width: 75px;
    padding: 6px;
    border: 2px solid #4e61a1;
    border-radius: 8px;
    font-size: 1.5rem;
    text-align: center;
    outline: none;
}

/*  */
#input-algarismos {
    padding: 8px;
    border: 2px solid #4e61a1;
    border-radius: 8px;
    font-size: 1.3rem;
    font-family: inherit;
    background-color: white;
    color: #333; 
    cursor: pointer;
    outline: none;
}

/* Centralização do Botão */
.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.btn-submit-masmorra {
    background-color:  #7b8cb1;
    color: #ffffff;
    border: 2px solid #4e61a1;
    border-radius: 12px;
    padding: 12px 28px;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 2px 2px #7f92bb;
    transition: background-color 0.15s, transform 0.05s, box-shadow 0.05s;
}

.btn-submit-masmorra:hover {
    background-color: #4f66af;
}

.btn-submit-masmorra:active {
    transform: translate(3px, 4px);
    box-shadow: 0px 0px 0px #000000;
}


/* EFEITOS */
/* --- INPUTS E CHECKBOXES --- */
.checkbox-container input[type="checkbox"],
.row-layout input[type="number"],
#input-algarismos {
    transition: all 0.3s ease;
}

/* Efeito ao focar no campo de digitação */
.row-layout input[type="number"]:focus,
#input-algarismos:focus {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(78, 97, 161, 0.8);
    border-color: #2c3e75;
}

/* Efeito ao passar o mouse na linha do checkbox */
.checkbox-container label {
    transition: color 0.2s ease;
}

.checkbox-container label:hover {
    color: #ffd700; /* Muda a cor do texto para dourado ao passar o mouse */
}