/* ====================================
   ESTILOS ADICIONALES PARA PORTFOLIO
   ==================================== */

/* Loading spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--gray-600, #6b7280);
    grid-column: 1 / -1;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* No results */
.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    color: var(--gray-600, #6b7280);
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 3rem;
    color: var(--gray-400, #9ca3af);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.25rem;
    color: var(--gray-800, #1f2937);
    margin-bottom: 0.5rem;
}

/* Portfolio Error message */
.portfolio-error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    color: var(--error-color, #dc2626);
    grid-column: 1 / -1;
}

.portfolio-error-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.portfolio-error-message h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Portfolio empty (home) */
.portfolio-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

/* Botones de portfolio */
.btn-view, .btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color, #007bff);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-view:hover, .btn-link:hover {
    background: var(--primary-color, #007bff);
    color: white;
    transform: scale(1.1);
}

/* Botón general */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color, #007bff);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark, #0056b3);
    transform: translateY(-1px);
}