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

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

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

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.logo-section {
    margin-bottom: 20px;
}

.logo {
    height: 60px;
    margin-bottom: 15px;
}

.header h1 {
    color: #2c5530;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Main Content */
.main-content {
    margin-bottom: 40px;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.denuncia-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c5530;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fafbfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* File Upload Section */
.file-upload-section {
    margin-top: 10px;
}

.file-drop-zone {
    border: 2px dashed #e1e5e9;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    background-color: #fafbfc;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.file-drop-zone:hover {
    border-color: #4a90e2;
    background-color: #f0f8ff;
}

.file-drop-zone.dragover {
    border-color: #4a90e2;
    background-color: #f0f8ff;
    transform: scale(1.02);
}

.drop-zone-content {
    pointer-events: none;
}

.drop-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #4a90e2;
}

.drop-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.drop-link {
    color: #4a90e2;
    text-decoration: underline;
    cursor: pointer;
}

.drop-info {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* File List */
.file-list {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.file-list h4 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1rem;
}

.file-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    transition: all 0.2s ease;
}

.file-item:hover {
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
}

.file-icon {
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.file-remove {
    background: #f44336;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.file-remove:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

/* Upload Progress */
.upload-progress {
    margin-top: 20px;
    padding: 20px;
    background: #f0f8ff;
    border-radius: 8px;
    border: 1px solid #b3d9ff;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e1e5e9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a90e2, #2c5530);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.progress-text {
    font-size: 0.9rem;
    color: #2c5530;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

/* File Type Icons */
.file-item[data-type="image"] .file-icon::before { content: "🖼️"; }
.file-item[data-type="video"] .file-icon::before { content: "🎥"; }
.file-item[data-type="audio"] .file-icon::before { content: "🎵"; }
.file-item[data-type="pdf"] .file-icon::before { content: "📄"; }
.file-item[data-type="document"] .file-icon::before { content: "📝"; }
.file-item[data-type="other"] .file-icon::before { content: "📎"; }

/* Error States */
.file-item.error {
    border-color: #f44336;
    background: #fff5f5;
}

.file-item.error .file-name {
    color: #f44336;
}

.file-error {
    font-size: 0.8rem;
    color: #f44336;
    margin-top: 2px;
}

/* Privacy Notice */
.privacy-notice {
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.privacy-icon {
    font-size: 1.5rem;
    color: #4a90e2;
}

.privacy-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Sistema de Identificação Opcional */
.identification-section {
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 25px;
    background-color: #fafbfc;
    margin-top: 30px;
}

.identification-toggle {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #2c5530;
    font-size: 1rem;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    background-color: white;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #4a90e2;
    border-color: #4a90e2;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.toggle-text {
    color: #2c5530;
    font-weight: 500;
}

.identification-fields {
    border-top: 1px solid #e1e5e9;
    padding-top: 20px;
    margin-top: 20px;
}

.identification-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    position: relative;
}

.warning-icon {
    font-size: 1.2rem;
    color: #856404;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-content {
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}

.warning-close {
    background: none;
    border: none;
    color: #856404;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.warning-close:hover {
    background-color: rgba(133, 100, 4, 0.1);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4a90e2 0%, #2c5530 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff40;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
    background: #f0f9f0;
    border: 2px solid #4caf50;
    border-radius: 12px;
    color: #2c5530;
}

.success-icon {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c5530;
}

.success-message p {
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.new-report-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.new-report-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 40px;
    background: #fff3f3;
    border: 2px solid #f44336;
    border-radius: 12px;
    color: #c62828;
}

.error-icon {
    font-size: 3rem;
    color: #f44336;
    margin-bottom: 20px;
}

.error-message h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #c62828;
}

.error-message p {
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.retry-btn {
    background: #f44336;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #d32f2f;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    color: #666;
}

.footer p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-note {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
}

.version-info {
    font-size: 0.75rem;
    color: #bbb;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.version-info #version {
    font-weight: 500;
    color: #4a90e2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .logo {
        height: 50px;
    }
    
    .privacy-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .privacy-icon {
        font-size: 2rem;
    }
    
    .file-drop-zone {
        padding: 30px 20px;
    }
    
    .drop-icon {
        font-size: 2rem;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        text-align: left;
    }
    
    .file-info {
        width: 100%;
    }
    
    .file-remove {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .submit-btn {
        font-size: 1rem;
        padding: 14px 20px;
    }
    
    .file-drop-zone {
        padding: 25px 15px;
    }
    
    .drop-text {
        font-size: 1rem;
    }
    
    .drop-info {
        font-size: 0.8rem;
    }
} 