.fileUploadProgress {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.2);
	text-align: center;
}

.fileUploadProgress span {
	background-color: #FAFAFA;
	padding: 20px;
	-webkit-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.75);
	border-radius: 2px;
	display: inline-block;
	vertical-align: middle;
	position: fixed;
	top: 50%;
	left: 50%;
	min-height: 60px;
	width: 400px;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index: 10000;
	opacity: 0;
}

@media (max-width: 400px) {
	.fileUploadProgress span {
		width: 100%;
	}
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lista de canais: injetada via template dentro de .main; reforço viewport + centro real */
#modalCanais.modal-overlay {
    inset: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
    z-index: 10050;
}

#modalCanais .modal-content {
    margin: auto;
    flex: 0 1 auto;
    max-height: min(90vh, 720px);
    overflow-y: auto;
}
.modal-content {
    background: #fff;
    max-width: 600px;
    width: 90%;
    padding: 24px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.modal-content h2 {
    color: #007cb6;
}

/* Confirmação Final */
.confimation_final {
    background: #f7f4f4;
    border-radius: 12px;
    padding: 20px 22px;
    border-left: 5px solid var(--color-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    line-height: 1.5;
}

.confimation_final h4 {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.confimation_final p strong {
    font-size: 16px;
}

.confimation_final p:last-of-type strong {
    color: #222;
    font-size: 16px;
}

#confimacao_sim,
#confimacao_nao {
    display: block;
    padding: 12px 14px;
    margin-top: 10px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

#confimacao_sim {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

#confimacao_sim:hover {
    background: #28a745;
    color: #fff;
}

#confimacao_nao {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.25);
}

#confimacao_nao:hover {
    background: #dc3545;
    color: #fff;
}

#confimacao_sim.selected,
#confimacao_nao.selected {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15) inset;
}

#confimacao_sim.selected {
    background: #28a745;
    color: #fff;
}

#confimacao_sim.selected::before {
    content: "✓ ";
}

#confimacao_nao.selected {
    background: #dc3545;
    color: #fff;
}

#confimacao_nao.selected::before {
    content: "✓ ";
}
#closeModal {
    background-color: #007cb6;
    color: #fff;
    font-weight: 700;
    padding: 8px;
}

/* Gravar/Salvar: visual “desligado” quando ainda não confirmou “Sim” na confirmação final */
.dxButtons #btSalvar.button--primary:disabled,
#btSalvar.button--primary:disabled {
    opacity: 0.42;
    background: rgba(0, 124, 182, 0.28);
    color: rgba(255, 255, 255, 0.85);
    cursor: not-allowed;
    box-shadow: none;
}

.dxButtons #btSalvar.button--primary:disabled:hover,
#btSalvar.button--primary:disabled:hover {
    background: rgba(0, 124, 182, 0.28);
    color: rgba(255, 255, 255, 0.85);
    opacity: 0.42;
}

/* Remove a faixa branca acima do header: integra o seletor de idioma ao degradê */
header .altera-lingua-menu {
    width: auto;
    background: transparent;
    padding: 10px 28px 18px 0;
}

header .altera-lingua-menu .altera-lingua {
    color: #fff;
}

header .contato {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    color: #fff;
    width: fit-content;
    margin-left: auto;
    margin-right: 28px;
}

header .contato span {
    max-width: 30ch;
    text-align: right;
    font-size: 13px;
}

header .icon-phone,
header .number-channel {
    font-size: 24px !important;
    font-weight: 700;
}

header .icon-phone {
    color: #fff;
    transform: rotate(0deg);
}

@media (min-width: 992px) {
    header .container {
        position: relative;
    }

    header .contato {
        position: absolute;
        right: 28px;
        top: 64%;
        transform: translateY(-50%);
        margin: 0;
    }
}