/* Indicador visual de ambiente de desarrollo - Cinta de peligro */
.dev-indicator {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.dev-indicator.hidden {
    display: none;
}

.dev-indicator::before {
    content: '';
    position: absolute;
    bottom: 40px;
    right: -150px;
    width: 400px;
    height: 50px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 0, 0, 0.4) 0px,
        rgba(255, 0, 0, 0.4) 15px,
        rgba(255, 235, 59, 0.4) 15px,
        rgba(255, 235, 59, 0.4) 30px
    );
    transform: rotate(-45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.dev-indicator::after {
    content: attr(data-env);
    position: absolute;
    bottom: 55px;
    right: 20px;
    color: #000;
    font-weight: bold;
    font-size: 12px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    z-index: 10000;
    letter-spacing: 1px;
    pointer-events: none;
    transform: rotate(-45deg);
    transform-origin: center;
}

.dev-indicator-close {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    z-index: 10001;
    pointer-events: auto;
    font-weight: bold;
    transition: background 0.2s ease;
}

.dev-indicator-close:hover {
    background: rgba(0, 0, 0, 0.8);
}
