.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.profile-card {
    background-color: #2c2c2c;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
    border: 3px solid #ff6f61;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h1 {
    color: #fff;
    margin: 0;
    font-size: 1.8rem;
}

.username {
    color: #ff6f61;
    margin: 0.5rem 0 0;
    font-size: 1.1rem;
}

.profile-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #ccc;
}

.detail-item i {
    margin-right: 1rem;
    color: #ff6f61;
    width: 20px;
    text-align: center;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6f61;
}

.stat-label {
    color: #ccc;
    font-size: 0.9rem;
}

.profile-actions {
    display: flex;
    justify-content: center;
}

.action-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: #ff6f61;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.action-button i {
    margin-right: 0.5rem;
}

.action-button:hover {
    background-color: #ff5a4a;
    color: white;
}

.message-button {
    background-color: #4CAF50;
}

.message-button:hover {
    background-color: #45a049;
} 

/* Estilos para la sección de perfil de usuario */
.profile-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.profile-card {
    background-color: #222;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: #fff;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff4136, #ff851b, #ffdc00);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    background: #444;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    margin-left: 1.5rem;
}

.profile-info h1 {
    font-size: 2.2rem;
    margin: 0 0 0.5rem 0;
    color: #fff;
    letter-spacing: 0.5px;
}

.username {
    font-size: 1.1rem;
    color: #ff6b6b;
    margin: 0;
    font-weight: 400;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 1rem;
}

.detail-item i {
    width: 24px;
    margin-right: 0.8rem;
    color: #ff6b6b;
}

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

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.action-button:hover {
    background-color: #43a047;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.action-button i {
    margin-right: 8px;
}

/* Estilos para la sección de Boops */
.user-boops-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.75rem;
    color: #333;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ff4136, #ff851b);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .profile-info {
        margin-left: 0;
    }
    
    .profile-actions {
        justify-content: center;
    }
    
    .user-boops-section {
        padding: 1.5rem;
    }
}

/* Mejoras para la grid de Boops */
.boop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Media query para dispositivos más pequeños */
@media screen and (max-width: 992px) {
    .boop-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    }
}

@media screen and (max-width: 576px) {
    .boop-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles */
    }
}

.boop-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    width: 75%;
}

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

.boop-header {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    height: 80px; /* Altura fija para el encabezado */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.boop-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Limitar a una línea */
    -webkit-box-orient: vertical;
}

.boop-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.boop-views-container {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.boop-views-container svg {
    margin-right: 4px;
}

.boop-image-container {
    position: relative;
    height: 180px; /* Altura fija para las imágenes */
    overflow: hidden;
}

.boop-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.boop-card:hover .boop-image {
    transform: scale(1.05);
}

.boop-footer {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
}

.boop-location {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.location-link {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.location-link:hover {
    color: #ff4136;
}

.location-pin-icon {
    margin-right: 4px;
}

.privacy-container {
    position: relative;
}

.privacy-icon {
    color: #888;
}

.privacy-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: #333;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    transform: translateY(10px);
}

.privacy-container:hover .privacy-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.boop-carousel:hover .carousel-prev,
.boop-carousel:hover .carousel-next {
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 2;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.indicator.active {
    background-color: white;
}

/* Para corregir problemas de visualización consistente */
.boop-carousel, .carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
}

/* Asegurar que todos los contenedores padre no interfieran */
.user-boops-section .boop-grid,
.home-boops-section .boop-grid,
.explore-section .boop-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Para anchos específicos de contenedor */
.container .boop-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Override para páginas específicas si es necesario */
.profile-container .boop-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Mensaje cuando no hay boops */
.user-boops-section p {
    text-align: center;
    color: #777;
    font-size: 1.1rem;
    padding: 2rem 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 1rem;
}