/* Estilos personalizados globales */

body {
    background-color: #F2F2F2 !important;
    color: #2F8F8F;
}

.bg-custom {
    background-color: #F2F2F2 !important;
}

/* Ajustes para contrastes con el nuevo fondo */
.bg-white {
    background-color: #FFFFFF !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

/* Estilos para esquinas redondeadas de la navegación */
nav.font-montserrat,
nav.rounded-bl-lg,
nav.rounded-br-lg {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

/* Estilos para esquinas redondeadas de las tarjetas del feed */
.feed-card,
.tribute-card,
.card,
.bg-white.rounded-lg,
.bg-white.p-4,
.bg-white.p-6,
.shadow-sm.rounded-lg,
.shadow.rounded-lg,
.tribute-preview {
    border-radius: 18px !important;
    overflow: hidden;
}

/* Asegurar que las imágenes dentro de las tarjetas tengan bordes redondeados en la parte superior */
.feed-card img:first-child,
.tribute-card img:first-child,
.card img:first-child,
.tribute-preview img:first-child {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

/* Otras clases específicas que puedan necesitar el fondo personalizado */
.custom-bg, 
.bg-app, 
.app-bg {
    background-color: #F2F2F2 !important;
}

/* Estilo para la barra de búsqueda */
.rounded-l-2xl,
input[name="search"] {
    border-top-left-radius: 18px !important;
    border-bottom-left-radius: 18px !important;
}

.rounded-r-2xl,
button[type="submit"] {
    border-top-right-radius: 18px !important;
    border-bottom-right-radius: 18px !important;
}

/* Estilos para el botón de favorito */
.favorite-button {
    border: 1px solid #DE2B49;
    color: #DE2B49;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background-color: white;
}

.favorite-button i {
    font-size: 20px;
}

.favorite-button:hover {
    background-color: rgba(222, 43, 73, 0.1);
    color: #DE2B49;
    transform: scale(1.05);
}

.favorite-button.is-favorite {
    background-color: #DE2B49;
    color: white;
}

.favorite-button.is-favorite:hover {
    background-color: #C02642;
    color: white;
}

/* Estilos para el botón de favorito transparente */
.favorite-button-transparent {
    color: #DE2B49;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.favorite-button-transparent i {
    font-size: 24px;
    transition: transform 0.2s ease;
}

.favorite-button-transparent:hover,
.favorite-button-transparent:focus,
.favorite-button-transparent:active {
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.favorite-button-transparent:hover i {
    transform: scale(1.2);
}

.favorite-button-transparent:active {
    transform: scale(0.95);
}
