@font-face {
  font-family: 'REM';
  src: url('../fonts/REM/REM-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Dosis';
  src: url('../fonts/Dosis/Dosis-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
    font-family: 'Dosis' !important;
    background: #FFFFFF;
    margin: 0;
}

/* pagina do index.php */

.container-inicio-teste{
    max-width:900px;
}

.card-inicio-teste{
    background: #FFFFFF;
    padding:50px;
    margin: 100px 50px 50px 50px;
    border-radius:14px;
    text-align:center;
}

.card h1{
    font-size:26px;
    color:#2c3e50;
    margin-bottom:20px;
}

.card p{
    color:#555;
    line-height:1.6;
    margin-bottom:15px;
}

.btn-primary{
    margin-top:30px;
    padding:15px 40px;
    font-size:18px;
    border:none;
    border-radius:8px;
    background:linear-gradient(135deg,#3498db,#2980b9);
    color:#fff;
    cursor:pointer;
    transition:0.3s;
    box-shadow:0 8px 20px rgba(41,128,185,0.3);
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(41,128,185,0.4);
}

.btn-secondary{
    margin-top:20px;
    padding:12px 30px;
    border:2px solid #3498db;
    border-radius:8px;
    background:#fff;
    color:#3498db;
    cursor:pointer;
    transition:0.3s;
}

.btn-secondary:hover{
    background:#3498db;
    color:#fff;
}

@media(max-width:600px){
    .card{
        padding:20px;
    }
    .card h1{
        font-size:20px;
    }
    .card-inicio-teste {
        padding: 10px;
    }
}

/* pagina do login */

.login-teste-section {
    background: #f5f7fa;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-teste-container {
    width: 100%;
    max-width: 1000px;
}

.login-teste-box {
    padding: 40px;
    border-radius: 12px;
}

.login-teste-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.login-teste-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.login-teste-form {
    width: 100%;
}

.login-teste-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.login-teste-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.login-teste-group label {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 700;
    color: #2F2F2F;
}

.login-teste-group input {
    background-color: #FAFAFA;
    padding: 12px 14px;
    border-radius: 16px;
    border: 2px solid #EFEFEF;
    font-size: 14px;
    transition: 0.3s;
}

.login-teste-group input:focus {
    border-color: #30ADE7;
    outline: none;
    box-shadow: 0 0 0 2px rgba(45,156,219,0.1);
}

.login-teste-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-teste-btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.login-teste-btn-outline {
    background: transparent;
    border: 1px solid #30ADE7;
    color: #30ADE7;
}

.login-teste-btn-outline i {
    color: #30ADE7;
}

.login-teste-btn-outline:hover {
    background: #30ADE7;
    color: #fff;
}

.login-teste-btn-primary {
    background: #30ADE7;
    color: #fff;
    box-shadow: 0 5px 15px rgba(45,156,219,0.3);
}

.login-teste-btn-primary i {
    color: #fff;
}

.login-teste-btn-primary:hover {
    background: #238acb;
}

/* pagina do teste */

.teste-container {
    max-width: 1200px;
    margin: 100px auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.progress-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progress-bar-bg {
    position: absolute;
    top: 28px;
    left: 5%;
    width: 90%;
    height: 4px;
    background: #e0e0e0;
    z-index: 0;
    border-radius: 4px;
}

.progress-bar-fill {
    position: absolute;
    top: 28px;
    left: 5%;
    width: 0%; 
    max-width: 90%;
    height: 4px;
    background: #27ae60;
    z-index: 1;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.progress-step .icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
    font-size: 18px;
    color: #666;
    transition: 0.3s;
}

.progress-step span {
    font-size: 14px;
    color: #777;
}

.progress-step.active .icon {
    background: #27ae60;
    color: #fff;
    box-shadow: 0 4px 12px rgba(39,174,96,0.4);
}

.progress-step.active span {
    color: #27ae60;
    font-weight: 600;
}

.pergunta {
    margin-bottom: 40px;
}

.pergunta h3 {
    font-size: 22px;
    margin-bottom: 30px;
    color: #222;
}

.pergunta-opcoes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pergunta-opcoes label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 15px;
    color: #333;
}

.pergunta-opcoes input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.pergunta-opcoes input[type="radio"]:checked {
    background: #2d9cdb;
    border-color: #2d9cdb;
}

.pergunta-opcoes input[type="radio"]:checked::after {
    content: "✓";
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pergunta-opcoes label:hover {
    border-color: #2d9cdb;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(45, 156, 219, 0.15);
}

.pergunta-opcoes label:has(input:checked) {
    border-color: #2d9cdb;
    background: #eaf5fd;
    color: #2d9cdb;
}

@media (max-width: 768px) {
    .pergunta-opcoes {
        grid-template-columns: 1fr;
    }
}

.botoes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    border: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ccc;
    color: #333;
}

.btn-outline:hover {
    background: #f5f5f5;
}

.btn-primary {
    background: #2d9cdb;
    color: white;
}

.btn-primary:hover {
    background: #1f86c7;
}

.btn-enviar {
    background: #27ae60;
    color: white;
}

.btn-enviar:hover {
    background: #1f944f;
}

.hidden {
    display: none;
}

@media (max-width: 600px) {
    .botoes {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }
}

