﻿body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    background: #fff;
    max-width: 900px;
    width: 100%;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 200px;
    display: block;
    margin: 0 auto;
}

.btn-voltar, .btn-submit {
    background-color: #7758d9;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px; /* Aumentei o padding para um botão maior */
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px; /* Aumentei o tamanho da fonte */
    font-weight: bold; /* Deixei o texto em negrito */
}

.btn-voltar:hover, .btn-submit:hover {
    background-color: #6242bb;
    transform: translateY(-2px); /* Efeito de levantar o botão */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra mais destacada */
}

.btn-submit {
    display: block;
    width: 100%;
    background-color: #7758D9;
    color: white;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background-color: #6242bb;
    transform: translateY(-2px); /* Efeito de levantar o botão */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra ao passar o mouse */
}

  /* PDF button – centered */
    .pdf-button {
        background-color: #7758d9;
        color: #fff;
        padding: 12px 24px;
        border-radius: 6px;
        cursor: pointer;
        text-decoration: none;
        transition: 0.3s;
        font-size: 16px;
        font-weight: bold;
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
    .pdf-button:hover {
        background-color: #6242bb;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    /* Hide file input */
    #anexo {
        display: none;
    }

    /* File name display */
    #fileName {
        margin-top: 10px;
        font-size: 14px;
        color: #555;
        font-weight: bold;
        word-wrap: break-word;
    }

    /* Bordered container */
    .bordered-container {
        border: 2px solid #7758d9;
        padding: 15px;
        border-radius: 10px;
    }

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.section-title {
    background-color: #ccc;
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    margin: 20px 0 15px;
}

.box {
    border: 1px solid #7758d9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-sizing: border-box; /* Garante que o padding não aumente o tamanho do container */
}

.form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

label {
    font-weight: bold;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #555;
    margin-bottom: 10px; /* Espaçamento entre os campos */
}

input[type="text"], textarea {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box; /* Garante que o padding não aumente o tamanho do campo */
    font-size: 14px;
    margin-top: 5px; /* Espaçamento entre o label e o campo */
}

textarea {
    resize: vertical;
    min-height: 80px; /* Altura mínima maior para textareas */
}

.pain-scale {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap; /* Permite que as opções quebrem para a próxima linha em telas pequenas */
}

.pain-scale label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; /* Alinha o texto abaixo do círculo */
    gap: 5px; /* Espaçamento entre o círculo e o texto */
}

.pain-scale .dot {
    width: 20px; /* Aumentei o tamanho do círculo */
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.green { background: #27ae60; }
.yellow { background: #f1c40f; }
.red { background: #e74c3c; }

.pdf-upload {
    text-align: center;
    margin-top: 10px;
}

.custom-file-upload {
    background-color: #7758d9;
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s;
}

.custom-file-upload:hover {
    background-color: #6242bb;
}

.custom-file-upload input[type="file"] {
    display: none;
}
#fileName {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    font-weight: bold;
}

.metas-box textarea {
    width: 100%;
    min-height: 100px; /* Altura maior para o campo de metas */
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .pain-scale {
        flex-direction: column;
        gap: 15px;
    }
}