/**
 * -----------------------------------------------------------------------------
 * ESTILOS EXCLUSIVOS DO M�DULO DE FERRAMENTAS PEDAG�GICAS
 * AULAKIT - REDE DE EDUCA��O
 * -----------------------------------------------------------------------------
 */

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
html { scroll-behavior: smooth; }

body {
    background: #0a1e3d;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ------------------------------------------
   BARRA SUPERIOR E NAVEGA��O DA FERRAMENTA
   ------------------------------------------ */
header.topbar {
    background: #061329;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    max-width: 1400px;
}

.topbar-title {
    font-size: 14px;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-voltar-site {
    background: #00d2c4;
    color: #061329 !important;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 210, 196, 0.35);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-voltar-site:hover {
    background: #00f0e0;
    color: #061329 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 224, 0.5);
}

/* ------------------------------------------
   CONTAINERS PRINCIPAIS & GLASSMORPHISM
   ------------------------------------------ */
.sites-section {
    min-height: calc(100vh - 60px);
    background: linear-gradient(135deg, #0a1e3d 0%, #1a365d 50%, #2c5282 100%);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.ferramentas-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    width: 100%;
    max-width: 1600px;
    margin-bottom: 30px;
    align-items: stretch;
}

.ferramenta-container {
    flex: 1 1 350px;
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.ferramenta-container h2 {
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    color: #ffffff;
    font-size: 24px;
}

.ferramenta-container label {
    display: block;
    text-align: left;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    color: #e2e8f0;
}

/* INPUTS E TEXTAREAS */
.ferramenta-container textarea, 
.ferramenta-container input[type="text"], 
.ferramenta-container input[type="number"], 
.ferramenta-container input[type="url"],
.ferramenta-container select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
}

.ferramenta-container textarea::placeholder, 
.ferramenta-container input::placeholder {
    color: #cbd5e1;
}

.ferramenta-container textarea:focus, 
.ferramenta-container input:focus,
.ferramenta-container select:focus {
    border-color: #00d2c4;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 12px rgba(0, 210, 196, 0.4);
}

/* BOT�ES AQUA */
.btn-aqua {
    width: 100%;
    display: inline-block;
    padding: 14px 25px;
    font-size: 16px;
    font-weight: 700;
    color: #061329 !important;
    text-decoration: none;
    border: 1px solid #00d2c4;
    border-radius: 30px;
    background: #00d2c4;
    box-shadow: 0 4px 20px rgba(0, 210, 196, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    margin-top: auto;
}

.btn-aqua:hover {
    background: #00f0e0;
    color: #061329 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 240, 224, 0.6);
}

.btn-aqua:active {
    transform: translateY(1px);
}

/* �REAS INTERNAS DE RESULTADO */
.resultados-interno {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px dashed rgba(255,255,255,0.3);
    width: 100%;
}

.resultados-interno h3 {
    color: #00d2c4;
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* rodapé� E DIREITOS AUTORAIS */
.footer-ferramentas {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    background: #061329;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
