html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}


html {
  position: relative;
  min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.high-contrast {
    --primary-color: #ffff00;
    --secondary-color: #00ffff;
    --accent-color: #ff00ff;
    --text-light: #ffffff;
    --text-dark: #000000;
    --bg-light: #000000;
    --bg-dark: #000000;
    --success-color: #ffffff;
    --warning-color: #ffff00;
    --error-color: #ff0000;
}

:root {
    --primary-color: #4a6fa5;
    --secondary-color: #ff7e5f;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

#header, #footer, #content {
    position: absolute;
    right: 0;
    left: 0
}

header {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza todos os itens */
    gap: 2rem;
    padding: 0 2rem;
    background-color: #89a3e8;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    align-items: center;
}

.logo, .user-profile {
    flex: 1;
    display: flex;
    align-items: center;
}

.titulo {
    font-size: 2rem;
    color: black;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-top: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

    .logo span {
        color: var(--secondary-color);
    }

nav ul {
    display: flex;
    list-style: none;
}

ol, ul {
    padding-left: 0rem;
}

nav a {
    text-decoration: none;
    color: #000000 !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-family: raleway;
    font-weight: 800;
    align-content: center;
    text-align: center;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

    nav a:hover {
        color: black;
        background-color: rgba(74, 111, 165, 0.1);
    }

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

    .user-profile img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
    }

/* Conteúdo Principal */
.main-content {
    max-width: 1200px;
    padding: 0;
}

.recazul {
    width: 100%;
    height: 300px;
    background-color: #8ca4e8; /* Cor azul similar à da imagem */
    border-radius: 10px; /* Cantos arredondados */
    box-shadow: 12px 12px 0px #515b85; /* Sombra com deslocamento */
    display: flex;
    margin: 2rem;
    gap: 20px;
}


    .welcome-section h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
    }

    .welcome-section p {
        font-size: 1.1rem;
        max-width: 800px;
        margin: 0 auto;
        font-family: raleway;
        font-weight: 800;
    }

.coluna {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 20px;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
}


/* Categorias de Jogos */
.category-title {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.game-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

    .game-card:hover {
        transform: translateY(-5px);
    }

.game-image {
    height: 160px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.game-info {
    padding: 1.2rem;
}

    .game-info h3 {
        margin-bottom: 0.5rem;
        color: var(--dark-color);
    }

    .game-info p {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

/* Botão de Play com Imagem de Fundo */
.play-button {
    width: 200px; /* Increased width */
    height: 80px; /* Reduced height */
    background: #8ca4e8;
    border-radius: 10px; /* Half of height for pill shape */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
}

.play-button:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.9);
}

.play-button img {
    height: 40px; /* Adjust image size */
    width: auto;
}

.jogo-container {
    width: 100%;
    height: 100%;
    display: flex;
}

/* Jogos Relacionados */
.jogo-thumbnail {
    background-size: cover; /* Ajustar a imagem ao container */
    background-position: center; /* Centralizar a imagem */
    background-repeat: no-repeat; /* Evitar repetição */
    width: 100%;
    height: 100%; /* Ajustar altura */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.jogo-card {
    background-color: #8ca4e8;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.3s ease;
}

    .jogo-card:hover {
        transform: translateY(-5px); /* Efeito de elevação ao passar o mouse */
    }

.jogo-titulo {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin-top: 10px;
    text-align: center;
}


/* Seção de Instruções */
.game-instructions {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

    .game-instructions h2 {
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        font-size: 1.8rem;
    }

    .game-instructions ul {
        list-style-position: inside;
    }

    .game-instructions li {
        margin-bottom: 1rem;
    }

    .game-instructions strong {
        color: var(--secondary-color);
    }

/* Footer */
footer {
    bottom: 0;
    background-color: #89a3e8;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: relative;
    margin-top: auto;
}



.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-links h3, .settings h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    align-self:center;
}

.footer-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-links a {
    display: block;
    color: black;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
    text-align: center;
    font-weight: 700;
    font-family: raleway;
    font-size: 1.2rem;
    text-transform: uppercase;
}

    .footer-links a:hover {
        color: white;
    }

.settings ul {
    list-style: none;
}

.settings li {
    margin-bottom: 0.8rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .settings li:hover {
        color: white;
    }

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }

    .game-categories {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

.nav-item dropdown {
    flex: 1;
    display: flex;
    align-items: center;
    color: black;
    font-size: 1rem;
    font-family: raleway;
}

/* Estilo checkbox estrela */

/* Hide the default checkbox */
.star-checkbox {
    display: none;
}

    /* Create the star using the label */
    .star-checkbox + label {
        font-size: 30px;
        cursor: pointer;
        color: #ccc;
    }

        /* Use pseudo-element for the star icon */
        .star-checkbox + label:before {
            content: "★";
        }

    /* When checked, change the color */
    .star-checkbox:checked + label {
        color: gold;
    }

.texto-normal {
    font-size: 1rem;
    color: black;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-align: center;
}


/*pag jogo*/

.recazul.jogo-principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem; /* Espaço entre thumbnail e botão */
    width: 100%;
    height: 100%; /* Ajuste conforme necessário */
    background-color: #8ca4e8;
    border-radius: 10px;
    box-shadow: 12px 12px 0px #515b85;
    margin: 2rem 0;
}

.jogo-container .game-thumb {
    flex: 3;
    width: 300px; /* ajuste conforme necessário */
    height: 100%; /* ajuste conforme necessário */
    background-size: cover;
    align-items: center;
    border-radius: 12px;
    margin: 32px; /* espaço entre imagem e botão */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

/* Game div to fill the container (optional) */
#game {
    width: 100%;
    height: 100%;
}


.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0 1rem;
}

.mais-jogos {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
}

.jogos-relacionados {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.jogo-card {
    background-color: #8ca4e8;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

.jogo-thumbnail {
    background-size: cover; /* Ajusta a imagem ao tamanho do container */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Evita repetição */
    width: 100%; /* Largura total do container */
    height: 150px; /* Altura ajustada */
    border-radius: 10px; /* Cantos arredondados */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Garante que o conteúdo não ultrapasse os limites */
}
.jogo-titulo {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

#game {
    display: none;
    background-color: #333;
}

/*search bar*/

.grid-item.searchbar {
    flex: 2; /* Ocupa mais espaço, centralizando */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 3rem; /* Remove margin-left */
    padding: 0.5rem;
    border: 2px solid #ffffff;
    border-radius: 10px;
}

.uni {
    width: 550px;  
    height: 40px;
    padding: 1rem 2rem;    
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 1.2rem;       
    background-color: #fff;
    color: #222;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}


.grid-item.searchbar button {
    margin-left: 0.5rem;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*shortcut-bar*/

.shortcut-bar {
    color: white;
    background-color: #515b85;
    height: 100px;
    width: 100%;
    border-bottom: 1px solid #dbe2ef;
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    box-shadow: var(--box-shadow);
}

    .shortcut-bar ul {
        display: flex;
        gap: 0;
        justify-content: center;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .shortcut-bar a,
        .shortcut-bar ul li a,
        .divisao {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.2em;
            text-align: center;
            color: white !important;
            text-decoration: none;
            font-family: 'Raleway', sans-serif;
            font-weight: 700;
            font-size: 1.1rem;
            margin: 0 0.5rem;
            padding: 0.4rem 1.2rem;
            border-radius: 20px;
            transition: background 0.2s, color 0.2s;
        }

.shortcut-bar a:hover,
.shortcut-bar ul li a:hover,
.shortcut-bar a:focus,
.shortcut-bar ul li a:focus {
    background: var(--primary-color);
    color: #fff !important;
    outline: none;
}

.shortcut-icon img,
.shortcut-bar ul li a img {
    display: block;
    margin-bottom: 0.2em;
    width: 32px;
    height: 32px;
}

.divisao{
    font-size: 32px;
}

/*game card*/

.recazul-jogos{
    width: 100%;
    height: 100%;
    background-color: #8ca4e8; /* Cor azul similar à da imagem */
    border-radius: 10px; /* Cantos arredondados */
    box-shadow: 12px 12px 0px #515b85; /* Sombra com deslocamento */
    display: flex;
    flex-direction: column; /* Centraliza em coluna */
    justify-content: center; /* Centraliza verticalmente */
    align-items: center;
    margin-bottom: 2rem;
}

.recazul-conteudo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}

.recazul-conteudo img{
    margin: 1rem 0 0 0;
    max-width:200px;
}

.recazul-texto p {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    color: black !important;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.recazul-texto > * {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.recazul-texto a {
    text-decoration: none !important;
    border-bottom: none !important;
    color: inherit;
}

.gametitle a {
    color: black;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.game-thumb {
    width: 300px;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #ffffff6e;
    max-height: 500px;
}

/* --- List Page Custom Styles --- */
.list-container {
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(74, 111, 165, 0.10);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.list-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.list-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.list-results-info {
    font-size: 1.1rem;
    color: #222;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

.list-main {
    display: flex;
    gap: 2.5rem;
    width: 100%;
}

.list-sidebar {
    flex: 0 0 270px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(74, 111, 165, 0.08);
    padding: 2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

    .list-sidebar label {
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 0.3rem;
    }

    .list-sidebar select,
    .list-sidebar button {
        margin-top: 0.4rem;
        width: 100%;
    }

    .list-sidebar .filter-option label {
        font-weight: 500;
        color: #333;
        font-size: 1rem;
    }

    .list-sidebar .filter-option input[type="checkbox"] {
        accent-color: var(--primary-color);
        margin-right: 0.5em;
    }

    .list-sidebar .star-checkbox + label {
        color: #ccc;
        font-size: 1.2rem;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.4em;
    }

    .list-sidebar .star-checkbox:checked + label {
        color: gold;
    }

.list-pagination {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

    .list-pagination button {
        padding: 0.5rem 1.2rem;
        border-radius: 8px;
        border: none;
        background: var(--primary-color);
        color: #fff;
        font-weight: 700;
        font-size: 1.1rem;
        transition: background 0.2s;
    }

        .list-pagination button:disabled {
            background: #b0b8c9;
            cursor: not-allowed;
        }

.list-results {
    flex: 1;
    min-width: 0;
}

.list-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    width: 100%;
}

.list-game-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(74, 111, 165, 0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .list-game-card:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 8px 24px rgba(74, 111, 165, 0.18);
    }

.list-game-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #e9ecef;
    border-bottom: 1px solid #f0f0f0;
}

.list-game-info {
    padding: 1.1rem 1rem 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-game-title a {
    color: var(--primary-color);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: color 0.2s;
}

    .list-game-title a:hover {
        color: var(--secondary-color);
    }

.list-game-desc {
    color: #555;
    font-size: 0.98rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    min-height: 2.5em;
}

@media (max-width: 1100px) {
    .list-main {
        flex-direction: column;
    }

    .list-sidebar {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 700px) {
    .list-container {
        padding: 1rem 0.2rem;
    }

    .list-main {
        gap: 1rem;
    }

    .list-game-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}


.login-container {
    max-width: 420px;
    margin: 3rem auto 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(74, 111, 165, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.login-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-form label {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    background: #f8f9fa;
    color: #222;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    transition: border-color 0.2s;
}

    .login-form input[type="email"]:focus,
    .login-form input[type="password"]:focus {
        border-color: var(--secondary-color);
        outline: none;
    }

.login-form .form-check {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 1.2rem;
}

.login-form .form-check-label {
    font-size: 1rem;
    color: #333;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

.login-form button[type="submit"] {
    width: 100%;
    padding: 0.8rem 0;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.15rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    transition: background 0.2s;
    margin-bottom: 0.5rem;
}

    .login-form button[type="submit"]:hover {
        background: var(--secondary-color);
    }

.login-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-end;
    font-size: 0.98rem;
    margin-top: 0.5rem;
}

    .login-links a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s;
    }

        .login-links a:hover {
            color: var(--secondary-color);
        }

.login-external {
    max-width: 420px;
    margin: 2rem auto 0 auto;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(74, 111, 165, 0.08);
    padding: 1.5rem 2rem;
    text-align: center;
}

    .login-external h3 {
        color: var(--primary-color);
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .login-external button {
        margin: 0.3rem 0.5rem;
        padding: 0.6rem 1.2rem;
        border-radius: 8px;
        border: none;
        background: var(--primary-color);
        color: #fff;
        font-weight: 700;
        font-size: 1rem;
        transition: background 0.2s;
    }

        .login-external button:hover {
            background: var(--secondary-color);
        }

@media (max-width: 600px) {
    .login-container, .login-external {
        padding: 1.2rem 0.5rem;
    }
}


.register-container {
    max-width: 420px;
    margin: 3rem auto 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(74, 111, 165, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.register-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.register-form label {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.register-form input[type="email"],
.register-form input[type="password"] {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    background: #f8f9fa;
    color: #222;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    transition: border-color 0.2s;
}

    .register-form input[type="email"]:focus,
    .register-form input[type="password"]:focus {
        border-color: var(--secondary-color);
        outline: none;
    }

.register-form button[type="submit"] {
    width: 100%;
    padding: 0.8rem 0;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.15rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    transition: background 0.2s;
    margin-bottom: 0.5rem;
}

    .register-form button[type="submit"]:hover {
        background: var(--secondary-color);
    }

.register-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-end;
    font-size: 0.98rem;
    margin-top: 0.5rem;
}

    .register-links a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s;
    }

        .register-links a:hover {
            color: var(--secondary-color);
        }

.register-external {
    max-width: 420px;
    margin: 2rem auto 0 auto;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(74, 111, 165, 0.08);
    padding: 1.5rem 2rem;
    text-align: center;
}

    .register-external h3 {
        color: var(--primary-color);
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .register-external button {
        margin: 0.3rem 0.5rem;
        padding: 0.6rem 1.2rem;
        border-radius: 8px;
        border: none;
        background: var(--primary-color);
        color: #fff;
        font-weight: 700;
        font-size: 1rem;
        transition: background 0.2s;
    }

        .register-external button:hover {
            background: var(--secondary-color);
        }

@media (max-width: 600px) {
    .register-container, .register-external {
        padding: 1.2rem 0.5rem;
    }
}

.titefav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.titefav h1 {
    margin: 0;
    text-align: left;
    font-size: 2rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}



.titefavright {
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    gap: 1.2rem; /* Espaço entre o <p> e o botão */
    justify-content: flex-end; /* Alinha à esquerda, ajuste se quiser centralizar */
}

.titefavright p {
    margin: 0; /* Remove margens padrão */
    font-size: 1.1rem; /* Ajuste conforme necessário */
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}