/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f1f5f9;
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

/* App Container */
#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: #e0e0e0;
}

.loading-content h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.5rem;
    margin-bottom: 2rem;
    color: #3b82f6;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #333;
    border-top: 3px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Navigation */
.main-nav {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.main-nav.nav-hidden {
    transform: translateY(-100%);
    position: absolute;
    top: -100%;
}



body.nav-hidden .map-container {
    width: calc(100vw - 2rem) !important;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.nav-header h1 {
    color: #3b82f6;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    background: #404040;
    color: #e0e0e0;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-btn:hover {
    background: #505050;
    transform: translateY(-2px);
}

.nav-btn.active {
    background: #4CAF50;
    color: #1a1a1a;
}

/* Screens */
.screen {
    flex: 1;
    padding: 2rem;
    min-height: 100vh;
    background: #1a1a1a;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

/* When navigation is hidden - rules moved up to avoid duplication */

/* Map screen specific */
#map-screen {
    padding: 1rem;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.screen-header h2 {
    color: #4CAF50;
    font-size: 1.8rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
    letter-spacing: 0.025em;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.4);
}

.btn-danger {
    background: #f44336;
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: #da190b;
    transform: translateY(-2px);
}

/* Cases List */
.cases-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 1.5rem 0;
}

.case-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.case-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.case-content {
    flex: 1;
    cursor: pointer;
}

.case-content h3 {
    color: #4CAF50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.case-content p {
    color: #b0b0b0;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
}

.case-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    min-width: auto;
}

.case-actions .btn {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.case-actions .btn:hover {
    opacity: 1;
}

/* Map Container */
.map-container {
    height: calc(100vh - 140px);
    min-height: 500px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #404040;
}

#map {
    height: 100%;
    width: 100%;
}

.map-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Targets List */
.targets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.target-card {
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.target-card:hover {
    border-color: #4CAF50;
    transform: translateY(-2px);
}

.target-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.target-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid;
}

.target-info h4 {
    color: #4CAF50;
    margin-bottom: 0.25rem;
}

.target-type {
    background: #4CAF50;
    color: #1a1a1a;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: uppercase;
}

.target-type.secundario {
    background: #ff9800;
}

.target-details {
    margin-top: 1rem;
    flex: 1;
}

.target-details p {
    margin-bottom: 0.5rem;
    color: #b0b0b0;
}

.target-details strong {
    color: #e0e0e0;
}

/* Settings */
.settings-content {
    max-width: 600px;
}

.setting-group {
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.setting-group h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.setting-group p {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.setting-group .btn {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
    max-width: 650px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    color: #3b82f6;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.modal-close {
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.modal-close:hover {
    color: #3b82f6;
    transform: scale(1.1);
}

.modal-body {
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.modal-actions .btn {
    min-width: 100px;
}

/* Modal animations */
.modal-overlay {
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    animation: slideIn 0.3s ease-out;
    transform-origin: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.025em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: #f1f5f9;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-1px);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.form-row-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
}

/* Modal responsiveness */
.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Compact form groups for better space usage */
.form-group.compact {
    margin-bottom: 1rem;
}

.form-group.compact label {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.form-group.compact input,
.form-group.compact select,
.form-group.compact textarea {
    padding: 0.6rem;
    font-size: 0.85rem;
}

/* Remove padding from color inputs */
input[type="color"] {
    padding: 0 !important;
    height: 40px;
    cursor: pointer;
}

.form-group.compact input[type="color"] {
    padding: 0 !important;
    height: 35px;
}

/* Drag and Drop Area */
.drag-drop-area {
    border: 2px dashed rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.4);
    position: relative;
    overflow: hidden;
}

.drag-drop-area:hover {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(15, 23, 42, 0.6);
}

.drag-drop-area.drag-over {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.02);
}

.drag-drop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    min-height: 120px;
}

.drag-drop-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.drag-drop-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.primary-text {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 1rem;
}

.secondary-text {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.875rem;
}

.drag-drop-area input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.drag-drop-area .file-upload-label {
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    background: none;
    border: none;
    padding: 0;
}

/* Range input styling */
.range-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.range-container input[type="range"] {
    flex: 1;
}

.range-container span {
    min-width: 50px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #404040;
}

/* File Upload */
.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 2rem;
    background: #404040;
    border: 2px dashed #666;
    border-radius: 5px;
    text-align: center;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.file-upload:hover .file-upload-label {
    border-color: #4CAF50;
    color: #4CAF50;
}

.file-preview {
    margin-top: 1rem;
    text-align: center;
}

.file-preview img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 5px;
    border: 2px solid #4CAF50;
}

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

.text-center {
    text-align: center;
}

.text-success {
    color: #4CAF50;
}

.text-warning {
    color: #ff9800;
}

.text-danger {
    color: #f44336;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2d2d2d;
        border-top: 1px solid #404040;
        padding: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .screen {
        padding: 1rem;
    }
    
    #map-screen {
        padding: 0.5rem;
    }
    
    .screen-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cases-list,
    .targets-list {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-controls {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .loading-content h1 {
        font-size: 2rem;
        letter-spacing: 0.3rem;
    }
    
    .nav-header h1 {
        font-size: 1.2rem;
    }
    
    .screen-header h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        min-width: auto;
        width: 100%;
    }
    
    .map-container {
        height: calc(100vh - 180px);
    }
}

/* Custom Leaflet Styles */
.leaflet-popup-content-wrapper {
    background: #2d2d2d;
    color: #e0e0e0;
    border-radius: 8px;
}

.leaflet-popup-content {
    margin: 1rem;
    width: 420px;
}

.leaflet-popup-tip {
    background: #2d2d2d;
}

.leaflet-control {
    background: #2d2d2d;
    border: 1px solid #404040;
}

.leaflet-control a {
    background: #2d2d2d;
    color: #e0e0e0;
}

.leaflet-control a:hover {
    background: #404040;
    color: #4CAF50;
}

/* Target Marker Styles */
.target-marker {
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.target-marker:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.target-marker.principal {
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.target-marker.principal:hover {
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
}

.target-marker.secundario {
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.3);
}

.target-marker.secundario:hover {
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.6);
}

/* Connection Lines */
.connection-line {
    opacity: 0.8;
    animation: dash 1s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -10;
    }
}

/* Privacy Banner Styles */
.privacy-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid #4CAF50;
    animation: slideDown 0.5s ease-out;
    height: 60px;
}

/* Adjust body to avoid banner overlap */
body {
    padding-top: 60px;
}

/* Class to remove padding when banner is hidden */
body.banner-hidden {
    padding-top: 0;
}

/* Adjust body padding for navigation */


body.nav-hidden {
    padding-top: 60px; /* only banner height */
}

body.nav-hidden.banner-hidden {
    padding-top: 0; /* no padding when both are hidden */
}

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

.privacy-banner-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.privacy-banner-text i {
    color: #4CAF50;
    font-size: 1.2em;
    flex-shrink: 0;
}

.privacy-banner-text span {
    font-size: 0.9em;
    line-height: 1.4;
}

.privacy-banner-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.privacy-banner-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #4CAF50;
    transform: scale(1.1);
}

.privacy-banner-close i {
    font-size: 1.1em;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Responsive adjustments for privacy banner */
@media (max-width: 768px) {
    .privacy-banner-content {
        padding: 10px 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .privacy-banner-text {
        justify-content: center;
    }
    
    .privacy-banner-text span {
        font-size: 0.85em;
    }
    
    .privacy-banner-close {
        margin-left: 0;
        align-self: flex-end;
        position: absolute;
        top: 8px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .privacy-banner-text {
        flex-direction: column;
        gap: 8px;
    }
    
    .privacy-banner-text span {
        font-size: 0.8em;
    }
}

/* Category Badges */
.category-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    white-space: nowrap;
}

.category-badge.lideranca {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fef2f2;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.category-badge.gerente {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #fff7ed;
    box-shadow: 0 2px 4px rgba(234, 88, 12, 0.3);
}

.category-badge.laranja {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fffbeb;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.category-badge.operador-financeiro {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ecfdf5;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.category-badge.distribuidor {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #eff6ff;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.category-badge.transportador {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #eef2ff;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.category-badge.seguranca {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #f5f3ff;
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
}

.category-badge.olheiro {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: #fdf2f8;
    box-shadow: 0 2px 4px rgba(236, 72, 153, 0.3);
}

.category-badge.colaborador {
    background: linear-gradient(135deg, #64748b, #475569);
    color: #f8fafc;
    box-shadow: 0 2px 4px rgba(100, 116, 139, 0.3);
}

/* Targets filters */
.targets-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: #2d2d2d;
    border-radius: 8px;
    margin-bottom: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e0e0e0;
}

.filter-group select,
.filter-group input[type="text"] {
    padding: 0.5rem;
    border: 1px solid #555;
    border-radius: 4px;
    background: #1a1a1a;
    color: #e0e0e0;
    font-size: 0.875rem;
}

.filter-group select:focus,
.filter-group input[type="text"]:focus {
    outline: none;
    border-color: #007acc;
    box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.2);
}

.filter-group input[type="text"] {
    min-width: 200px;
}

@media (max-width: 768px) {
    .targets-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .filter-group input[type="text"] {
        min-width: auto;
    }
}