/* Estilos gerais */
:root { font-size: 0.8rem; }
:root {
    --primary-color: #ffcc00;
    --secondary-color: #333;
    --bg-color: #f9f9f9;
    --text-color: #333;
    --button-bg: #ffcc00;
    --button-hover: #ffd966;
    --modal-bg: rgba(0, 0, 0, 0.7);
    --border-color: #ddd;
    --font-family: 'Roboto', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Garante que o conteúdo ocupe a altura mínima da tela */
}

/* Container principal */
.container {
    width: 80%;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex: 1; /* Faz o conteúdo ocupar o espaço restante da tela */
}

.logo {
    display: block;
    margin: 0 auto;
    max-width: 200px;
    margin-bottom: 20px;
}

h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

p {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input, textarea {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="date"], input[type="email"] {
    padding-left: 10px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(255, 204, 0, 0.6);
}

button {
    padding: 14px 18px;
    background-color: var(--button-bg);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

button:hover {
    background-color: var(--button-hover);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 12px;
    width: 50%;
    text-align: center;
    animation: slideIn 0.5s ease-out;
}

.close {
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: black;
}

.required::after {
    content: " *";
    color: red;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideIn {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

.consultar-status {
    text-align: center;
    margin-top: 20px;
}

.consultar-status a {
    color: var(--primary-color);
    font-size: 1.1em;
    text-decoration: none;
}

.consultar-status a:hover {
    text-decoration: underline;
}

.copy-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    font-size: 1.1em;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 20px;
}

.copy-btn:hover {
    background-color: #45a049;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        width: 90%;
        margin: 20px auto;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .logo {
        max-width: 180px;
    }

    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    button {
        font-size: 1rem;
        padding: 12px;
    }
}