html, body { height: 100%; margin: 0; padding: 0; overflow: hidden; }

body {
    margin: 0; padding: 0;
    background-color: #ededed;
    font-family: "Proxima Nova", -apple-system, sans-serif;
    display: flex; flex-direction: column;
}

.content-wrapper { flex: 1 0 auto; position: relative; }
.hidden { display: none !important; }


.kraken-nav-header {
    background-color: #ffe600;
    height: 54px;
    display: flex; align-items: center;
    padding: 0 20px;
    box-shadow: 0 1px 0 0 rgba(0,0,0,.1);
    position: fixed; top: 0; width: 100%;
    z-index: 1001; box-sizing: border-box;
}

.header-content {
    display: flex;
    justify-content: flex-start; /* Move o conteúdo para a esquerda */
    align-items: center;
    padding-left: 20px;         /* Dá um respiro da borda da tela */
    width: 100%;
}

.logo-container {
    margin: 0;                   /* Remove margens que podem estar centralizando */
}

.logo-img {
    height: 35px;                /* Mantém o tamanho que você já definiu */
    display: block;
}

/* --- KEBAB MENU (HEADER) --- */
.menu-options {
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%); z-index: 1002;
}

.dots-btn {
    background: none;     
    border: none;           
    font-size: 24px;        
    cursor: pointer;
    color: #333;            
    padding: 5px 10px;
    outline: none;          
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.dots-btn:hover {
    opacity: 0.7;           
    background: none;       /
}

.options-dropdown {
    position: absolute; right: 0; top: 40px; background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); border-radius: 8px;
    width: 200px; display: none; border: 1px solid #eee;
}
.options-dropdown.show { display: block; }
.options-dropdown button {
    width: 100%; padding: 12px; border: none; background: none;
    text-align: left; cursor: pointer; color: #333; font-size: 14px;
}


.audit-layout { padding: 20px; max-width: 800px; margin: 100px auto 0; }
.audit-card { background: #fff; padding: 32px; border-radius: 8px; box-shadow: 0 2px 15px rgba(0,0,0,0.1); }
textarea { width: 100%; min-height: 200px; border: 1px solid #ddd; border-radius: 6px; padding: 15px; margin: 20px 0; box-sizing: border-box; font-family: monospace; }
.btn-primary { width: 100%; padding: 16px; background: #3483fa; color: white; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 16px; }

#status-screen {
    position: fixed; top: 54px; left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: background 0.3s ease; z-index: 500;
}
.status-screen-default { background-color: #ffe600; color: #333; }
.status-ok { background-color: #00a650; color: white !important; }
.status-warning { background-color: #ff9800; color: white !important; }
.status-error { background-color: #f23d4f; color: white !important; }

.feedback-container { text-align: center; margin-bottom: 120px; display: flex; flex-direction: column; align-items: center; }
#feedback-icon { width: 120px; height: 120px; margin-bottom: 20px; }
#feedback-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
#feedback-title { font-size: 42px; font-weight: bold; margin: 0; }
#feedback-msg { font-size: 22px; opacity: 0.9; margin-top: 10px; }
.invisible-input { position: absolute; opacity: 0; pointer-events: none; }


.bottom-drawer {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: white; border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    transform: translateY(calc(100% - 145px)); 
    
    z-index: 1000;
    display: flex; flex-direction: column;
    height: 80vh;
}

.bottom-drawer.open { transform: translateY(0); }

.drawer-handle { width: 40px; height: 4px; background: #ddd; border-radius: 2px; margin: 10px auto 5px; cursor: pointer; }


.drawer-summary { text-align: center; padding: 5px 0; cursor: pointer; flex-shrink: 0; order: 1; }
.drawer-summary p { margin: 0; font-size: 15px; color: #333; font-weight: 500; }
#progresso-concluido { font-size: 18px; font-weight: bold; }


.drawer-footer { padding: 10px 20px 15px; background: white; flex-shrink: 0; order: 2; }

.drawer-content { 
    flex: 1; overflow-y: auto; padding: 0 20px;
    display: none; order: 3;
}

.bottom-drawer.open .drawer-content { display: block; order: 2; }
.bottom-drawer.open .drawer-footer { order: 3; border-top: 1px solid #eee; }

.bip-item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid #f5f5f5; }
.status-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: bold; font-size: 11px; color: white; flex-shrink: 0; }


.main-footer {
    flex-shrink: 0;
    width: 100%;
    padding: 30px 20px;
    background-color: #fff;
    border-top: 1px solid #e6e6e6;
    text-align: center;
    box-sizing: border-box;
}
.footer-legal {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 13px;
}
 .footer-legal hr { border: 0; border-top: 1px solid #eee; margin: 15px auto; width: 50px; }
 .disclaimer { font-size: 11px; color: #999; text-align: justify; }

   .dev-social-links { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 10px; }
        .dev-social-links a { font-size: 18px; text-decoration: none; transition: transform 0.2s; }
        .fa-github { color: #333; }
        .fa-linkedin { color: #0077b5; }
        .dev-social-links a:hover { transform: scale(1.2); }
        .dev-social-links p { margin: 0; font-weight: 600; color: #333; }