/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

/* Header top com navegação */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Botão voltar */
.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-2px);
}

/* Indicador de tipo de incidente */
.incident-type-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.type-icon {
    font-size: 1.2em;
}

.type-text {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cores específicas para cada tipo no indicador */
.incident-type-indicator.trafo {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.2);
}

.incident-type-indicator.poste {
    border-color: #f39c12;
    background: rgba(243, 156, 18, 0.2);
}

.incident-type-indicator.vegetacao {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.2);
}

header h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Formulário */
#relatorioForm {
    padding: 30px;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input[required]:invalid {
    border-color: #e74c3c;
}

.form-group input[required]:valid {
    border-color: #27ae60;
}

/* Container de Data/Hora */
.datetime-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.datetime-container input {
    flex: 1;
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.btn-hoje {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(39, 174, 96, 0.3);
    white-space: nowrap;
}

.btn-hoje:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.4);
}

/* Seção de fotos */
.photos-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    margin-bottom: 20px;
}

.upload-photo-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.upload-photo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.photo-info {
    font-size: 12px;
    color: #6c757d;
    margin-top: 8px;
    font-style: italic;
}

.photo-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.photo-preview-item {
    position: relative;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.photo-preview-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.photo-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.photo-remove-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.photo-preview-item .photo-name {
    padding: 8px;
    font-size: 11px;
    color: #495057;
    text-align: center;
    background: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Seção de materiais */
.materials-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

/* Instrução dos materiais */
.materials-instruction {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.materials-instruction p {
    color: #856404;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
    text-align: justify;
    hyphens: auto;
    word-spacing: 0.1em;
}

.materials-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2em;
}

/* Seleção múltipla de materiais */
.materials-multiple-selection {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.materials-checkbox-container {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    background: white;
    margin-bottom: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.checkbox-item:hover {
    background-color: #f8f9fa;
}

.material-checkbox {
    margin-right: 10px;
    transform: scale(1.2);
}

.checkbox-item label {
    font-size: 13px;
    color: #495057;
    cursor: pointer;
    flex: 1;
    line-height: 1.3;
}

.confirm-selection-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.confirm-selection-btn:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Material display (readonly) */
.material-display {
    flex: 2;
    padding: 8px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background-color: #f8f9fa;
    color: #495057;
    font-size: 14px;
    cursor: not-allowed;
}

.material-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.material-select,
#descricao {
    flex: 2;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px 12px;
    padding-right: 30px;
}

#descricao {
    flex: 1;
    width: 100%;
    padding: 12px;
    padding-right: 30px;
}

.quantity-input {
    flex: 1;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 6px;
    text-align: center;
}

.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.remove-btn:hover {
    background: #c0392b;
}

.add-material-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

.add-material-btn:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-2px);
}

/* Botões de ação */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.copiar-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.copiar-btn:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
}

.pdf-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.pdf-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
}

.limpar-btn {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

.limpar-btn:hover {
    background: linear-gradient(135deg, #7f8c8d, #6c7b7d);
}

/* Instruções dos botões */
.button-instructions {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.instruction-item {
    margin-bottom: 15px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    font-size: 14px;
    line-height: 1.5;
}

.instruction-item:last-child {
    margin-bottom: 0;
}

.instruction-item strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Mensagens */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.message.show {
    transform: translateX(0);
}

.message.success {
    background: #27ae60;
}

.message.error {
    background: #e74c3c;
}

/* Responsividade */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 10px;
    }
    
    header {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 10px 10px 0 0;
    }
    
    .header-top {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .back-btn {
        order: 2;
        width: 100%;
        max-width: 200px;
    }
    
    .incident-type-indicator {
        order: 1;
    }
    
    header h1 {
        font-size: 1.8em;
        margin-top: 10px;
    }
    
    #relatorioForm {
        padding: 20px;
    }
    
    .form-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .form-section h2 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    .material-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .material-select,
    .quantity-input {
        width: 100%;
    }
    
    .datetime-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-hoje {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
    
    .photo-preview-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .upload-photo-btn {
        width: 100%;
        padding: 14px 24px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .header-top {
        gap: 10px;
    }
    
    .back-btn {
        padding: 10px 16px;
        font-size: 16px;
    }
    
    .incident-type-indicator {
        padding: 10px 20px;
    }
    
    .type-text {
        font-size: 16px;
    }
    
    header h1 {
        font-size: 1.6em;
    }
    
    header p {
        font-size: 1em;
    }
    
    #relatorioForm {
        padding: 15px;
    }
    
    .form-section {
        padding: 12px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px;
    }
    
    .btn-hoje {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
    
    .action-btn {
        width: 100%;
        padding: 18px;
        font-size: 18px;
    }
}

/* ===== ESTILOS DA TELA INICIAL ===== */

/* Header da home */
.home-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    border-radius: 15px 15px 0 0;
    margin-bottom: 30px;
}

.home-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.home-header p {
    font-size: 1.1em;
    opacity: 0.9;
    margin: 0;
}

/* Container de opções */
.options-container {
    text-align: center;
    padding: 20px;
}

.options-container h2 {
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

/* Grid de opções */
.incident-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Botões de incidente */
.incident-btn {
    background: white;
    border: 3px solid #bdc3c7;
    border-radius: 15px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.incident-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.incident-btn:hover::before {
    left: 100%;
}

.incident-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.incident-btn:active {
    transform: translateY(-2px);
}

/* Ícone do botão */
.btn-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

/* Texto do botão */
.btn-text {
    font-size: 1.8em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Subtítulo do botão */
.btn-subtitle {
    font-size: 1em;
    color: #7f8c8d;
    font-weight: 500;
}

/* Cores específicas para cada tipo */
.trafo-btn {
    border-color: #e74c3c;
}

.trafo-btn:hover {
    border-color: #c0392b;
    background: linear-gradient(135deg, #fff5f5, #ffffff);
}

.trafo-btn .btn-text {
    color: #e74c3c;
}

.poste-btn {
    border-color: #f39c12;
}

.poste-btn:hover {
    border-color: #e67e22;
    background: linear-gradient(135deg, #fffbf5, #ffffff);
}

.poste-btn .btn-text {
    color: #f39c12;
}

.vegetacao-btn {
    border-color: #27ae60;
}

.vegetacao-btn:hover {
    border-color: #229954;
    background: linear-gradient(135deg, #f5fff5, #ffffff);
}

.vegetacao-btn .btn-text {
    color: #27ae60;
}

/* Footer da home */
.home-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Responsividade da tela inicial */
@media (min-width: 1400px) {
    .incident-options {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .incident-btn {
        min-height: 180px;
        padding: 40px 25px;
    }
    
    .btn-icon {
        font-size: 3.5em;
    }
    
    .btn-text {
        font-size: 2em;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .incident-options {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .incident-btn {
        min-height: 160px;
        padding: 35px 20px;
    }
    
    .btn-icon {
        font-size: 3.2em;
    }
    
    .btn-text {
        font-size: 1.9em;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .incident-options {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }
    
    .incident-btn {
        min-height: 150px;
        padding: 30px 20px;
    }
    
    .btn-icon {
        font-size: 3em;
    }
    
    .btn-text {
        font-size: 1.7em;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .home-header {
        padding: 35px 20px;
        margin-bottom: 25px;
    }
    
    .home-header h1 {
        font-size: 2.2em;
    }
    
    .options-container {
        padding: 20px;
    }
    
    .options-container h2 {
        font-size: 1.4em;
        margin-bottom: 25px;
    }
    
    .incident-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .incident-btn {
        padding: 30px 20px;
        min-height: 140px;
    }
    
    .btn-icon {
        font-size: 2.8em;
        margin-bottom: 12px;
    }
    
    .btn-text {
        font-size: 1.6em;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    body {
        padding: 15px;
    }
    
    .container {
        border-radius: 12px;
    }
    
    .home-header {
        padding: 30px 15px;
        margin-bottom: 20px;
        border-radius: 12px 12px 0 0;
    }
    
    .home-header h1 {
        font-size: 2em;
    }
    
    .home-header p {
        font-size: 1em;
    }
    
    .options-container {
        padding: 20px 15px;
    }
    
    .options-container h2 {
        font-size: 1.3em;
        margin-bottom: 25px;
    }
    
    .incident-options {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .incident-btn {
        padding: 28px 18px;
        min-height: 130px;
    }
    
    .btn-icon {
        font-size: 2.5em;
        margin-bottom: 12px;
    }
    
    .btn-text {
        font-size: 1.5em;
    }
    
    .btn-subtitle {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 10px;
    }
    
    .home-header {
        padding: 25px 15px;
        margin-bottom: 15px;
        border-radius: 10px 10px 0 0;
    }
    
    .home-header h1 {
        font-size: 1.8em;
        margin-bottom: 8px;
    }
    
    .home-header p {
        font-size: 0.95em;
    }
    
    .options-container {
        padding: 15px;
    }
    
    .options-container h2 {
        font-size: 1.2em;
        margin-bottom: 20px;
    }
    
    .incident-options {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
    }
    
    .incident-btn {
        padding: 25px 15px;
        min-height: 120px;
    }
    
    .btn-icon {
        font-size: 2.2em;
        margin-bottom: 10px;
    }
    
    .btn-text {
        font-size: 1.4em;
    }
    
    .btn-subtitle {
        font-size: 0.9em;
    }
}

@media (max-width: 320px) {
    .home-header {
        padding: 20px 12px;
    }
    
    .home-header h1 {
        font-size: 1.6em;
    }
    
    .home-header p {
        font-size: 0.9em;
    }
    
    .options-container {
        padding: 12px;
    }
    
    .options-container h2 {
        font-size: 1.1em;
        margin-bottom: 15px;
    }
    
    .incident-btn {
        padding: 20px 12px;
        min-height: 110px;
    }
    
    .btn-icon {
        font-size: 2em;
    }
    
    .btn-text {
        font-size: 1.3em;
    }
    
    .btn-subtitle {
        font-size: 0.85em;
    }
}

/* Orientação landscape para dispositivos móveis */
@media (max-height: 500px) and (orientation: landscape) {
    body {
        padding: 5px;
    }
    
    .home-header {
        padding: 15px 20px;
        margin-bottom: 10px;
    }
    
    .home-header h1 {
        font-size: 1.4em;
        margin-bottom: 5px;
    }
    
    .home-header p {
        font-size: 0.8em;
    }
    
    .options-container {
        padding: 10px 20px;
    }
    
    .options-container h2 {
        font-size: 1.1em;
        margin-bottom: 15px;
    }
    
    .incident-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-width: 100%;
    }
    
    .incident-btn {
        padding: 15px 10px;
        min-height: 80px;
    }
    
    .btn-icon {
        font-size: 1.5em;
        margin-bottom: 5px;
    }
    
    .btn-text {
        font-size: 1.1em;
        margin-bottom: 2px;
    }
    
    .btn-subtitle {
        font-size: 0.7em;
    }
    
    .home-footer {
        margin-top: 15px;
        padding: 10px;
        font-size: 0.8em;
    }
}

/* Melhorias adicionais de responsividade */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .incident-btn {
        border-width: 2px;
    }
}

/* Otimizações para touch devices */
@media (hover: none) and (pointer: coarse) {
    .incident-btn:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .incident-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Melhorar espaçamento em dispositivos com notch */
@supports (padding: max(0px)) {
    .home-header {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .options-container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

/* Reduzir animações para usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    .incident-btn {
        transition: none;
    }
    
    .incident-btn::before {
        transition: none;
    }
    
    .incident-btn:hover {
        transform: none;
    }
}