/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* HEADER - EXATO DA IMAGEM */
.header {
    background: #990000;
    padding: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

/* Logo - pequeno como na imagem */
.logo-section {
    flex-shrink: 0;
}

.logo {
    height: 50px;
    width: auto;
}

/* Navegação - EXATA da imagem */
.navigation {
    display: flex;
    gap: 0;
}

.nav-item {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
}

.nav-item:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.nav-item:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-right: none;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
}

.nav-item i {
    font-size: 16px;
    margin-bottom: 3px;
}

.nav-item span {
    font-size: 11px;
    line-height: 1.2;
}

/* MAIN CONTENT */
.main-content {
    background: #ffffff;
    min-height: calc(100vh - 200px);
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* TÍTULO - EXATO DA IMAGEM */
.title-section {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    color: #990000;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.page-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* INSTRUÇÕES - EXATO DA IMAGEM */
.instructions-section {
    margin-bottom: 40px;
}

.instructions-box {
    background: #f0f0f0;
    padding: 25px;
    border-radius: 5px;
    max-width: 800px;
    margin: 0 auto;
}

.instructions-title {
    color: #990000;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.instruction-item {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.instruction-label {
    color: #990000;
    font-weight: bold;
}

.protocol-message {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.gratitude-message {
    margin-bottom: 15px;
    font-style: italic;
    color: #666;
    font-size: 14px;
}

.code-conduct-message {
    font-size: 14px;
    color: #666;
}

.code-conduct-message a {
    color: #990000;
    text-decoration: none;
}

.code-conduct-message a:hover {
    text-decoration: underline;
}

/* FORMULÁRIO */
.form-section {
    margin-top: 40px;
}

.form-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    background: linear-gradient(135deg, #990000, #cc0000);
    color: white;
    padding: 25px;
    text-align: center;
}

.form-header i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

.form-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    opacity: 0.9;
}

.denuncia-form {
    padding: 30px;
}

.form-section-group {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-group h3 {
    color: #990000;
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #990000;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #990000;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Checkbox */
.checkbox-group {
    justify-content: center;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #990000;
    font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

/* Botões */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #990000, #cc0000);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #cc0000, #ff0000);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Loading */
.loading {
    text-align: center;
    padding: 30px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #990000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    color: #666;
    font-size: 14px;
}

/* Results */
.result {
    margin-top: 20px;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Protocol Display */
.protocol-display {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 15px 0;
    text-align: center;
    border: 2px solid #990000;
}

.protocol-display h3 {
    color: #990000;
    margin-bottom: 20px;
    font-size: 20px;
}

.protocol-info-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.protocol-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.protocol-item label {
    display: block;
    font-weight: bold;
    color: #6c757d;
    margin-bottom: 8px;
    font-size: 12px;
}

.protocol-number {
    font-size: 20px;
    font-weight: bold;
    color: #990000;
    margin: 8px 0;
    font-family: 'Courier New', monospace;
}

.password-display {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    margin: 8px 0;
    font-family: 'Courier New', monospace;
}

.protocol-instructions {
    background: #fff3cd;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    text-align: left;
    border-left: 4px solid #ffc107;
}

.protocol-instructions h4 {
    margin-bottom: 10px;
    color: #856404;
}

.protocol-instructions ul {
    margin: 0;
    padding-left: 15px;
}

.protocol-instructions li {
    margin-bottom: 5px;
    color: #856404;
}

.protocol-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: #990000;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer p {
    margin-bottom: 3px;
    opacity: 0.9;
    font-size: 14px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 3px;
    }
    
    .nav-item {
        border-radius: 3px !important;
        border-right: none !important;
        font-size: 11px;
        padding: 8px 10px;
        min-width: 60px;
    }
    
    .nav-item span {
        font-size: 10px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .instructions-box {
        padding: 20px;
        margin: 0 10px;
    }
    
    .form-container {
        margin: 0 10px;
    }
    
    .denuncia-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .protocol-info-display {
        grid-template-columns: 1fr;
    }
    
    .protocol-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .content-container {
        padding: 20px 10px;
    }
    
    .logo {
        height: 40px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .page-description {
        font-size: 14px;
    }
    
    .instructions-box {
        padding: 15px;
    }
    
    .form-header {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 20px;
    }
    
    .form-header i {
        font-size: 32px;
    }
}

