body {
    margin: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    background: #0a192f;
    color: #e6f1ff;
}

html {
    scroll-padding-top: 80px;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

.tech-title {
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: #64ffda;
    margin: 0;
    text-align: center;
    flex: 1 1 auto;
    white-space: nowrap;
    text-shadow: 0 2px 8px #0a192f99;
}

header {
    background-color: #112240;
    color: #e6f1ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    top: 0;
    z-index: 1000;
    height: 70px;
    padding: 0 16px;
    gap: 0;
    box-shadow: 0 2px 8px #0004;
}

#menu-toggle {
    flex: 0 0 auto;
    background: none;
    border: none;
    color: #64ffda;
    font-size: 2.2rem;
    margin-right: 16px;
    cursor: pointer;
    padding: 0 8px;
    height: 48px;
    width: 48px;
    border-radius: 6px;
    transition: background 0.2s;
}

.site-title-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

.logo-img {
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 1px 4px #0002;
}

header h1 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: 1px;
    text-align: center;
    font-weight: bold;
    color: #e6f1ff;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .tech-title {
        font-size: 1.1rem;
    }

    .header-social a {
        font-size: 1.5rem;
    }

    header {
        height: auto;
        padding: 0.5em 0.2em;
    }
}

.side-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 240px;
    height: 100vh;
    background: #112240;
    color: #e6f1ff;
    display: flex;
    flex-direction: column;
    padding-top: 24px;
    padding-left: 0;
    box-shadow: 2px 0 16px #0002;
    z-index: 2000;
    transition: left 0.3s;
}

.side-menu.open {
    left: 0;
}

.side-menu #close-menu {
    background: none;
    border: none;
    color: #64ffda;
    font-size: 2rem;
    align-self: flex-end;
    margin: 0 12px 16px 0;
    cursor: pointer;
    padding: 0 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.side-menu #close-menu:hover,
.side-menu #close-menu:focus {
    background: #1fa2ff22;
    outline: none;
}

.side-menu a {
    color: #e6f1ff;
    text-decoration: none;
    font-weight: bold;
    padding: 14px 24px;
    border-radius: 0 24px 24px 0;
    margin: 2px 0;
    transition: background 0.2s, color 0.2s;
    font-size: 1.1rem;
}

.side-menu a:hover,
.side-menu a:focus {
    background: #64ffda;
    color: #0a192f;
    outline: none;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

section {
    padding: 32px 0 24px 0;
    min-height: 30vh;
    width: 100%;
    box-sizing: border-box;
}

section h1 {
    margin-top: 0;
    color: #1fa2ff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 8px #0a192f55;
}

ul {
    padding-left: 1.2em;
}

.work-item {
    background: #112240;
    padding: 16px;
    margin: 14px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0003;
    color: #e6f1ff;
}

form {
    background: #112240;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0002;
    max-width: 500px;
    margin: 0 auto;
}

form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
    color: #64ffda;
}

form input,
form textarea {
    display: block;
    width: 100%;
    margin: 8px 0 18px 0;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #1fa2ff;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    background: #0a192f;
    color: #e6f1ff;
}

form textarea {
    min-height: 80px;
    resize: vertical;
}

form button {
    background: #64ffda;
    color: #0a192f;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

form button:hover,
form button:focus {
    background: #1fa2ff;
    color: #e6f1ff;
}

#msg {
    margin-top: 10px;
    color: #28a745;
    font-weight: bold;
    min-height: 1.2em;
}

footer {
    background: #112240;
    color: #e6f1ff;
    text-align: center;
    padding: 18px 4px 8px 4px;
    font-size: 0.95rem;
    width: 100vw;
    box-sizing: border-box;
}

footer a {
    color: #64ffda;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
    color: #1fa2ff;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 32px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 16px #0002;
    background: #112240;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(.77, 0, .18, 1);
    will-change: transform;
}

.carousel-track a {
    min-width: 100%;
    display: block;
}

.carousel-track img {
    width: 100%;
    height: clamp(90px, 30vw, 340px);
    min-height: 70px;
    max-height: 340px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0a192fbb;
    color: #64ffda;
    border: none;
    font-size: 2.2rem;
    padding: 0 16px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
    transition: background 0.2s, color 0.2s;
    opacity: 0.8;
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}

.carousel-btn:hover {
    background: #64ffda;
    color: #0a192f;
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-indicators .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #1fa2ff;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.2s, background 0.2s;
    border: 2px solid #64ffda;
}

.carousel-indicators .dot.active {
    opacity: 1;
    background: #64ffda;
    border-color: #1fa2ff;
}

@media (max-width: 700px) {
    .carousel {
        max-width: 98vw;
    }

    .carousel-track img {
        height: 110px;
    }
}

.main-sections {
    display: block;
    gap: 0;
    align-items: unset;
    justify-content: unset;
    flex-wrap: unset;
}

.main-sections>section {
    flex: unset;
    min-width: unset;
    max-width: unset;
    padding-top: 48px;
    padding-bottom: 32px;
}

@media (max-width: 1100px) {
    .main-sections {
        flex-direction: column;
        gap: 0;
    }

    .main-sections>section {
        max-width: 100%;
    }
}

.carousel {
    max-width: 100%;
}

.about-section {
    margin-bottom: 48px;
}

.about-flex {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.about-photo {
    flex: 0 0 220px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-photo {
    width: clamp(90px, 30vw, 200px);
    height: clamp(90px, 30vw, 200px);
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #64ffda;
    box-shadow: 0 2px 12px #0a192f77;
    background: #112240;
}

.about-description {
    flex: 1 1 320px;
}

.about-gallery {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
}

.gallery-photo {
    width: clamp(70px, 22vw, 180px);
    height: clamp(70px, 22vw, 180px);
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 2px 8px #0a192f55;
    background: #112240;
}

@media (max-width: 900px) {
    .about-flex {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .about-photo,
    .about-description {
        width: 100%;
        max-width: 100%;
    }

    .profile-photo {
        width: 140px;
        height: 140px;
    }

    .gallery-photo {
        width: 110px;
        height: 110px;
    }
}

.cursos-grid {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
    width: 100%;
}

.curso-card {
    background: #112240;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0a192f44;
    width: 100%;
    min-width: 160px;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #e6f1ff;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    overflow: hidden;
    cursor: pointer;
}

.curso-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background: #0a192f;
}

.curso-card span {
    padding: 18px 10px 18px 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
    color: #64ffda;
    letter-spacing: 1px;
}

.curso-card:hover,
.curso-card:focus {
    background: #1fa2ff;
    color: #0a192f;
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 6px 24px #1fa2ff55;
}

.curso-card:hover span,
.curso-card:focus span {
    color: #e6f1ff;
}

@media (max-width: 900px) {
    .cursos-grid {
        gap: 12px;
    }

    .curso-card {
        width: 44vw;
        min-width: 140px;
        max-width: 240px;
    }

    .curso-card img {
        height: 90px;
    }
}

@media (max-width: 600px) {
    .cursos-grid {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .curso-card {
        width: 96vw;
        min-width: 160px;
        max-width: 98vw;
    }

    .curso-card img {
        height: 70px;
    }
}

.agenda-page-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centraliza horizontalmente */
    justify-content: center;
    /* centraliza verticalmente */
    min-height: 100vh;
    /* ocupa altura total da tela */
    width: 100vw;
    box-sizing: border-box;
    padding: 0;
}

#agenda {
    width: auto;
    /* evita esticar desnecessariamente */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* espaçamento entre título e tabela */
}

.agenda-center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow-x: auto;
}

.agenda-table {
    margin: 0 auto;
    border-collapse: collapse;
    background-color: rgba(0, 0, 0, 0.15);
    width: 85%;
    /* mais larga */
    max-width: 1100px;
    /* não estoura demais em telas grandes */
    font-size: 1.2rem;
    border: 2px solid rgba(0, 255, 255, 0.4);
    /* borda externa suave */
    border-radius: 8px;
    overflow: hidden;
    /* arredondamento */
}

.agenda-table thead {
    background-color: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    font-size: 1.3rem;
    padding: 18px 24px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.4);
}

.agenda-table tr {
    text-align: center;
    vertical-align: middle;
}

.agenda-table td {
    text-align: center;
    vertical-align: middle;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agenda-table th,
.agenda-table td {
    text-align: center;
    vertical-align: middle;
    padding: 16px 24px;
}

.agenda-table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

.agenda-table tbody tr:hover {
    background-color: rgba(0, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

@media (max-width: 800px) {
    .agenda-page-center {
        min-height: unset;
        width: 100vw;
        padding: 0;
    }

    #agenda {
        width: auto;
    }

    .agenda-center-wrapper {
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0;
    }

    .agenda-table {
        min-width: 400px;
        width: 100%;
        font-size: 0.95rem;
        margin: 0 auto;
    }
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
    justify-content: center;
}

.contact-social a {
    background: #112240;
    color: #64ffda;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px #0a192f44;
}

.contact-social a:hover,
.contact-social a:focus {
    background: #1fa2ff;
    color: #e6f1ff;
    transform: scale(1.05);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.blog-post {
    background: #112240;
    border-radius: 12px;
    box-shadow: 0 2px 12px #0a192f44;
    padding: 24px 18px;
    color: #e6f1ff;
    transition: box-shadow 0.2s, background 0.2s;
}

.blog-title {
    margin: 0 0 10px 0;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: #64ffda;
}

.blog-title a {
    color: #64ffda;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: #1fa2ff;
    text-decoration: underline;
}

.blog-meta {
    font-size: 0.95rem;
    color: #9ed1b7;
    margin-bottom: 12px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.blog-excerpt {
    margin: 12px 0 18px 0;
    font-size: 1.08rem;
    color: #e6f1ff;
}

.blog-readmore {
    display: inline-block;
    background: #64ffda;
    color: #0a192f;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.blog-readmore:hover,
.blog-readmore:focus {
    background: #1fa2ff;
    color: #e6f1ff;
}

/* --- Responsividade geral --- */
body,
html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Container responsivo */
.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/* Seções responsivas */
section {
    padding: 32px 0 24px 0;
    min-height: 30vh;
    width: 100%;
    box-sizing: border-box;
}

/* Títulos responsivos */
.tech-title,
header h1,
section h1 {
    word-break: break-word;
    font-size: clamp(1.2rem, 4vw, 2.2rem);
}

/* --- Tabela agenda responsiva --- */
.agenda-table {
    width: 100%;
    min-width: unset;
    font-size: 1rem;
    overflow-x: auto;
    display: block;
}

.agenda-table th,
.agenda-table td {
    padding: 8px 4px;
    font-size: clamp(0.85rem, 2vw, 1.05rem);
}

.agenda-table th {
    background: #112240;
    color: #64ffda;
    font-size: 1.05rem;
}

.agenda-table tr:nth-child(even) {
    background: #11224055;
}

@media (max-width: 800px) {
    .agenda-table {
        font-size: 0.95rem;
        min-width: unset;
        width: 100%;
        display: block;
        overflow-x: auto;
    }
}

/* --- Cards de cursos responsivos --- */
.cursos-grid {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
    width: 100%;
}

.curso-card {
    background: #112240;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0a192f44;
    width: 100%;
    min-width: 160px;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #e6f1ff;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    overflow: hidden;
    cursor: pointer;
}

.curso-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background: #0a192f;
}

.curso-card span {
    padding: 18px 10px 18px 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
    color: #64ffda;
    letter-spacing: 1px;
}

.curso-card:hover,
.curso-card:focus {
    background: #1fa2ff;
    color: #0a192f;
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 6px 24px #1fa2ff55;
}

.curso-card:hover span,
.curso-card:focus span {
    color: #fff;
}

@media (max-width: 900px) {
    .cursos-grid {
        gap: 12px;
    }

    .curso-card {
        width: 44vw;
        min-width: 140px;
        max-width: 240px;
    }

    .curso-card img {
        height: 90px;
    }
}

@media (max-width: 600px) {
    .cursos-grid {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .curso-card {
        width: 96vw;
        min-width: 160px;
        max-width: 98vw;
    }

    .curso-card img {
        height: 70px;
    }
}

/* --- FAQ - Perguntas Frequentes --- */
.faq-container {
    background: #112240;
    border-radius: 12px;
    padding: 24px;
    margin: 0 auto 32px auto;
    max-width: 1200px;
    box-shadow: 0 2px 12px #0a192f44;
    overflow: hidden;
}

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.faq-item {
    background: #112240;
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px #1fa2ff22;
    transition: box-shadow 0.2s;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #64ffda;
    font-size: 1.15rem;
    font-weight: bold;
    padding: 18px 18px 18px 18px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s, color 0.2s;
    outline: none;
}

.faq-question[aria-expanded="true"] {
    background: #1fa2ff22;
    color: #1fa2ff;
}

.faq-question i {
    margin-left: 18px;
    font-size: 1.2em;
    transition: transform 0.2s;
}

.faq-answer {
    background: #0d223a;
    color: #e6f1ff;
    padding: 0 18px;
    font-size: 1.08rem;
    line-height: 2;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(.77, 0, .18, 1), padding 0.2s;
}

.faq-answer.open {
    padding: 0 18px 18px 18px;
}

@media (max-width: 700px) {
    .faq-list {
        max-width: 98vw;
    }

    .faq-question {
        font-size: 1rem;
        padding: 14px 10px;
    }

    .faq-answer {
        font-size: 0.98rem;
    }
}

/* --- Slides das Aulas Profissional --- */
.slides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin: 24px auto 0 auto;
    max-width: 900px;
    justify-items: center;
}

.slide-card {
    background: #112240;
    border-radius: 12px;
    box-shadow: 0 2px 12px #1fa2ff33;
    padding: 22px 10px 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #e6f1ff;
    transition: background 0.2s, color 0.2s, transform 0.18s;
    width: 200px;
    height: 160px;
    min-width: 200px;
    max-width: 200px;
    min-height: 160px;
    max-height: 160px;
    font-weight: bold;
    font-size: 1.08rem;
    position: relative;
    border: 2px solid transparent;
    box-sizing: border-box;
    text-align: center;
}

.slide-card span {
    width: 100%;
    display: block;
    text-align: center;
}

.slide-card small {
    display: block;
    font-size: 0.98rem;
    color: #9ed1b7;
    font-weight: normal;
    margin-top: 2px;
    text-align: center;
}

@media (max-width: 600px) {
    .slides-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }

    .slide-card {
        width: 140px;
        height: 110px;
        min-width: 140px;
        max-width: 140px;
        min-height: 110px;
        max-height: 110px;
        padding: 12px 4px 8px 4px;
        font-size: 0.98rem;
    }

    .slide-icon {
        font-size: 1.5rem;
    }
}

/* --- Ajustes finais para evitar overflow horizontal --- */
* {
    box-sizing: border-box;
}

img,
table {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    padding-left: 1em;
    margin: 0;
}

.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.auth-btn {
    background: #64ffda;
    color: #0a192f;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.18s;
    box-shadow: 0 2px 8px #0a192f33;
    cursor: pointer;
    display: inline-block;
}

.auth-btn:hover,
.auth-btn:focus {
    background: #1fa2ff;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    outline: none;
}

/* --- Ajustes login.html --- */
.wrapper .logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 18px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wrapper {
    margin-top: 40px;
    width: 420px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    border-radius: 16px;
    padding: 20px 30px;
    max-width: 95vw;
    min-width: 250px;
}

.wrapper h1 {
    font-size: 30px;
    text-align: center;
}

.wrapper .input-box {
    width: 100%;
    height: 50px;
    position: relative;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    padding: 20px 45px 20px 20px;
}

.input-box input::placeholder {
    color: #fff;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.wrapper .show-password {
    display: flex;
    align-items: center;
    /* alinha verticalmente */
    gap: 50px;
    /* espaço entre os dois itens */
    flex-wrap: nowrap;
    /* impede quebra de linha */
    justify-content: center;
    /* centraliza no container */
}

.show-password label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* espaço entre checkbox e texto */
    white-space: nowrap;
}

.show-password label input {
    accent-color: #fff;
}

.wrapper .btn {
    width: 100%;
    height: 45px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.wrapper .register-link {
    text-align: center;
    font-size: 14px;
    margin: 20px 0 15px;
}

.wrapper .register-link p a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.wrapper .register-link p a:hover {
    text-decoration: underline;
}


/* Responsividade para login */
@media (max-width: 900px) {
    .wrapper {
        width: 90vw;
        padding: 18px 10px;
        margin-top: 20px;
    }

    .wrapper h1 {
        font-size: 1.5em;
    }

    .input-box input {
        font-size: 15px;
        padding: 16px 40px 16px 16px;
    }
}

@media (max-width: 600px) {
    body {
        padding-bottom: 110px;
    }

    .wrapper {
        width: 98vw;
        min-width: unset;
        padding: 10px 2vw;
        margin-top: 10px;
        border-radius: 10px;
    }

    .wrapper h1 {
        font-size: 1.1em;
    }

    .input-box input {
        font-size: 14px;
        padding: 12px 36px 12px 12px;
    }

    .btn {
        font-size: 15px;
        height: 40px;
    }

    .register-link {
        font-size: 13px;
    }

    footer {
        font-size: 0.8em;
        padding: 12px 2vw 6px 2vw;
        border-radius: 8px 8px 0 0;
    }
}

@media (max-width: 420px) {
    .show-password label {
        white-space: normal;
    }
}

/* Centraliza o wrapper na tela em telas pequenas */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    width: 100vw;
    box-sizing: border-box;
    padding: 0;
}

/* Hotzone para facilitar o hover */
.social-sidebar-hotzone {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 100vh;
    z-index: 999;
    pointer-events: auto;
}

/* Sidebar escondida e animada */
.social-sidebar {
    position: fixed;
    top: 50%;
    left: -48px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #1fa2ff;
    padding: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 1000;
    transition: left 0.3s;
    box-shadow: 2px 0 12px #1fa2ff;
}

.social-sidebar-hotzone:hover+.social-sidebar,
.social-sidebar:hover {
    left: 0;
}

.social-sidebar a {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease, background-color 0.5s ease;
    border-radius: 50%;
    padding: 6px;
    text-decoration: none;
}

.social-sidebar a:hover {
    transform: scale(2);
    background-color: #f8f7f4;
}

.social-sidebar a:focus,
.socio:focus,
select:focus,
.social-sidebar a:focus {
    outline: 2px solid #1fa2ff;
    outline-offset: 2px;
}

.social-sidebar img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .social-sidebar-hotzone {
        width: 40px;
    }

    .social-sidebar {
        left: -36px;
        padding: 6px;
    }

    .social-sidebar img {
        width: 20px;
        height: 20px;
    }
}

/* Social sidebar: oculta em telas menores */
@media (max-width: 900px) {

    .social-sidebar,
    .social-sidebar-hotzone {
        display: none !important;
    }
}

h2 {
    margin-bottom: 15px;
    color: #1fa2ff;
}

.stats-container {
    display: flex;
    gap: 20px;
}

.stat-box {
    flex: 1;
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.btn-acessar {
    background-color: #007BFF;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-acessar:hover {
    background-color: #0056b3;
}