/* Resultados Page Styles */

.main-content {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Hero Section */
.results-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
}

.results-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.results-hero .hero-title i {
    font-size: 2rem;
    color: #ffd700;
}

.results-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Filters Section */
.filters-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.filters-container {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
}

.filter-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #667eea;
}

#searchBtn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#searchBtn:hover {
    transform: translateY(-2px);
}

/* Results Section */
.results-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding-bottom: 0;
}

.results-header {
    padding: 12px 20px;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.results-count {
    color: #666;
    font-size: 0.8rem;
}

.results-count span {
    font-weight: 600;
    color: #667eea;
}

/* Results Grid */
.results-grid {
    padding: 12px 12px 0 12px;
}

.result-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.result-position {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.result-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.result-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-detail i {
    color: #667eea;
    width: 16px;
}

.result-detail span {
    color: #666;
    font-size: 0.9rem;
}

.result-detail strong {
    color: #333;
    font-weight: 600;
}

.result-time {
    background: #e8f4fd;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    margin-top: 8px;
}

.result-time .time-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.result-time .time-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.loading-state i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #667eea;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 32px 10px 24px 10px;
    color: #666;
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #667eea;
    opacity: 0.7;
}

.empty-state h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.empty-state p {
    font-size: 0.98rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .results-hero .hero-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .filters-container {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
        text-align: left;
    }
    
    #searchBtn {
        align-self: flex-start;
        width: auto;
    }
    
    .results-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .result-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .result-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 60px;
    }
    
    .results-hero {
        padding: 40px 0;
    }
    
    .results-hero .hero-title {
        font-size: 1.5rem;
    }
    
    .filters-section {
        padding: 20px;
    }
    
    .results-header {
        padding: 20px;
    }
    
    .results-grid {
        padding: 20px;
    }
} 