@charset 'utf-8';

/* =======================================================
   BOX INFO 2.0 - DESKTOP
   ======================================================= */
#box_info {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 180;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* O Modal Principal */
#box_info > div {
    background-color: var(--boxinfo-bkg, #1e1e1e);
    border-radius: 12px; 
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: bx_scale_up 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animação "Pop" */
}

/* Cabeçalho */
.box_info_tit {
    background: linear-gradient(135deg, #469c62 0%, #38724c 100%);
    color: #ffffff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

#box_info_titulo {
    font-family: 'Comfortaa-Bold', Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Botão de Fechar */
.box_info_close span {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.box_info_close span img {
    height: 12px;
    width: 12px;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

.box_info_close span:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #469c62;
}

.box_info_close span:hover img {
    filter: brightness(0);
    transform: rotate(90deg);
}

/* Área de Conteúdo */
#box_info_cont {
    padding: 24px;
    color: var(--boxinfo-txt, #eeeeee);
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    overflow-y: auto;
    text-align: center;
}

/* Estilo para Tabelas dentro do Cont */
#box_info_cont table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#box_info_cont table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 5px;
    color: var(--boxinfo-txt, #eeeeee);
}

/* Container dos Inputs */
.box_info_inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 15px;
}

.box_info_inp {
    background-color: var(--boxinfo-inp-bkg) !important;/*#f0efef*/
	border: none !important;
	border-bottom: 1px solid #42a262 !important;
	border-radius: 3px !important;
	color: var(--boxinfo-inp-txt) !important;
	caret-color: var(--boxinfo-txt-destaque) !important;
	width: 90% !important;
	box-sizing: border-box !important;
    -webkit-box-sizing:border-box !important;
    -moz-box-sizing: border-box !important;
	font-family: Arial !important;
	padding-left: 5px !important;
}

.box_info_inp::placeholder {
    color: #888888 !important;
}

.box_info_inp:focus, select.box_info_inp:focus {
    background-color: var(--boxinfo-bkg-focus) !important;
    border-color: #8ae9a9 !important;
    box-shadow: 0px 4px 10px rgba(70, 156, 98, 0.2) !important;
    color: var(--boxinfo-txt-destaque) !important;
}

select.box_info_inp {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('/fend/midia/img/main/select_set_2.png');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    cursor: pointer;
}

select.box_info_inp:hover {
    background-image: url('/fend/midia/img/main/select_set.png');
}

/* Área de Botões (Rodapé) */
#box_info_bot {
    padding: 20px 24px;
    background-color: rgba(0, 0, 0, 0.15); /* Fundo sutilmente mais escuro */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centraliza os botões */
    gap: 12px;
}
#box_info_bot button {
    font-family: 'Comfortaa-Bold', Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 14px 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px; /* Garante que os botões tenham um tamanho bom */
}

/* Botão Primário (O destaque verde) */
.btn_primario {
    background-color: #469c62;
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0px 4px 10px rgba(70, 156, 98, 0.3);
}

.btn_primario:hover {
    background-color: #38724c;
    box-shadow: 0px 6px 15px rgba(70, 156, 98, 0.5);
    transform: translateY(-2px);
}

.btn_primario:active {
    transform: translateY(1px);
}

/* Botão Secundário (O "Cancelar", borda vazada) */
.btn_secundario {
    background-color: transparent;
    color: #469c62;
    border: 2px solid #469c62;
}

.btn_secundario:hover {
    background-color: rgba(70, 156, 98, 0.1);
    color: #8ae9a9;
    border-color: #8ae9a9;
}

/* Animações */
@keyframes bx_scale_up {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.bx_erro_animacao {
    border-color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.1) !important;
    color: #e74c3c !important;
    animation: bx_shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes bx_shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

#box_info .imgs {
    background-color: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 8px;
    height: 110px;
    width: 110px;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
}

#box_info_img {
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.box_info_busca {
    display: none;
    position: absolute;
    top: calc(100% - 5px); 
    left: 0px; 
    width: calc(100% - 10px); 
    background: var(--boxinfo-inp-bkg);
    color: var(--boxinfo-inp-txt);
    border: 1px solid #d1d5db; 
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
    max-height: 250px;
    overflow-y: auto; 
    z-index: 9999;
}

.box_info_busca > div, 
.box_info_busca > p {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #469c62;
    margin: 0;
}
.box_info_busca > div:hover,
.box_info_busca > p:hover {
    background-color: #222; 
}

/* Toast de confirmação de cópia */
.box_info_toast_copia {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px) scale(0.9);
    background: var(--boxinfo-txt-destaque, #469c62);
    color: #ffffff;
    font-family: 'Comfortaa-Bold', Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.3px;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    animation: bx_toast_pop 1.4s ease forwards;
}

.box_info_toast_copia.erro {
    background: #e74c3c;
}

@keyframes bx_toast_pop {
    0%   { opacity: 0; transform: translateX(-50%) translateY(4px) scale(0.9); }
    12%  { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    78%  { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(0.95); }
}

@import url('phone_main.css') screen and (max-width: 750px);