.card {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem;
    border: none;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 18px rgba(58, 130, 247, 0.3);
}
.tile {
    background: linear-gradient(135deg, #f0faff, #ffffff);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    transition: all 0.3s ease;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(58, 130, 247, 0.4); /* efecto halo azul */
}

.tile-icon {
    font-size: 2rem;
    color: #3a82f7;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.tile:hover .tile-icon {
    color: #0056d2;
    filter: drop-shadow(0 0 8px rgba(58, 130, 247, 0.6));
}

body {
    position: relative;
    background: linear-gradient(to bottom right, #e0f7fa, #fce4ec) fixed;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Logo como fondo visual con degradado difuso */
body::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 85%;
    height: 85%;
    background: url("/static/img/logoLME_2.png") no-repeat center center;
    background-size: contain;
    opacity: 0.15;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

body > * {
    position: relative;
    z-index: 1;
}
  
.logo-icon {
  width: 48px;
  height: 48px;
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 50%;
}
.alert-info {
    background-color: #e7f1ff;
    border-left: 5px solid #3a82f7;
    font-size: 1.1rem;
    padding: 1rem;
    margin-top: 2rem;
}
.card i {
    transition: color 0.3s ease, filter 0.3s ease;
}

.card:hover i {
    color: #0056d2;
    filter: drop-shadow(0 0 8px rgba(58, 130, 247, 0.6));
}

.btn-primary {
    background: linear-gradient(to right, #3a82f7, #f06292);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(to right, #0056d2, #d81b60);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 10px rgba(0, 123, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.btn-primary:hover {
    animation: pulse 1s infinite;
}

/* Ecosystem Title Gradient Style */
.ecosystem-title {
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(to right, #3a82f7, #f06292);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}


/* Gradient button style for official web button */
.btn-gradient {
    background: linear-gradient(to right, #3a82f7, #f06292);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.btn-gradient:hover {
    background: linear-gradient(to right, #0056d2, #d81b60);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.4);
    transform: scale(1.05);
}