/**
 * Evolink360 - Meta Tags Analysis Tool
 * Estilos específicos para la herramienta de análisis de meta tags
 */

/* Status Colors */
.status-success {
    color: #27ae60;
    font-weight: 600;
}

.status-error {
    color: #e74c3c;
    font-weight: 600;
}

.status-warning {
    color: #f39c12;
    font-weight: 600;
}

.status-info {
    color: #3498db;
    font-weight: 600;
}

/* Text Colors for Analysis */
.success-text {
    color: #27ae60;
}

.warning-text {
    color: #f39c12;
}

.error-text {
    color: #e74c3c;
}

/* Table Row with Issues */
.has-issues {
    background-color: rgba(231, 76, 60, 0.05);
}

.has-issues:hover {
    background-color: rgba(231, 76, 60, 0.1);
}

/* Issues Count Tag */
.issues-count {
    cursor: help;
    display: inline-flex;
    align-items: center;
    background-color: rgba(231, 76, 60, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.issues-count:hover {
    background-color: rgba(231, 76, 60, 0.2);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 10px;
    background-color: var(--secondary-color, #e9ecef);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-bar .progress {
    height: 100%;
    background: linear-gradient(to right, var(--success-color, #27ae60), var(--accent-color, #4361ee));
    transition: width 0.5s ease;
}

.progress-text {
    display: block;
    font-size: 0.8em;
    color: #666;
    margin-top: 3px;
}

/* Alertas */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.alert-warning {
    background-color: rgba(241, 196, 15, 0.1);
    color: #f39c12;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.alert-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Tarjetas de resumen */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.summary-icon {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.summary-data {
    flex-grow: 1;
}

.summary-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.summary-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

/* Paginación */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    margin: 20px 0 10px;
    justify-content: center;
}

.pagination li {
    margin: 0 2px;
}

.pagination a {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--accent-color);
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination .active a {
    z-index: 3;
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.pagination .disabled a {
    color: #6c757d;
    pointer-events: none;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination a:hover {
    z-index: 2;
    color: var(--accent-hover);
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Table Controls Enhancement */
.table-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.table-filter input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
    transition: all 0.3s ease;
}

.table-filter input:focus {
    border-color: var(--accent-color, #4361ee);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    outline: none;
}

.table-length select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.table-length select:focus {
    border-color: var(--accent-color, #4361ee);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    outline: none;
}

/* Estilos para recomendaciones */
.recommendations-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recommendation-item {
    display: flex;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.recommendation-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
}

.recommendation-content {
    flex-grow: 1;
}

.recommendation-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #333;
}

.recommendation-steps {
    margin-top: 10px;
    padding-left: 20px;
}

.recommendation-steps li {
    margin-bottom: 5px;
}

.recommendation-item.success .recommendation-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.success-message {
    display: flex;
    align-items: center;
    background-color: rgba(46, 204, 113, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.success-icon {
    font-size: 2rem;
    color: #2ecc71;
    margin-right: 15px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .summary-cards {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .summary-card {
        padding: 15px;
    }
    
    .summary-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .summary-value {
        font-size: 1.5rem;
    }
    
    .recommendation-item {
        flex-direction: column;
    }
    
    .recommendation-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
}