/* css/layout/start-menu.css */
.start-menu {
    position: fixed;
    bottom: var(--taskbar-height);
    left: 0;
    width: 380px;
    height: 420px;
    display: flex;
    flex-direction: row;
    border-radius: 0 8px 0 0;
    z-index: 100010; /* Siempre por encima del tooltip guía */
    transform-origin: bottom left;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease;
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none; /* Evita clics cuando está oculto */
}

.start-menu.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* --- Columna Izquierda (Aplicaciones) --- */
.start-menu-left {
    flex: 6;
    background: #ffffff;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    padding: 4px;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.start-menu-list {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

.start-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.1s;
}

.start-menu-item:hover {
    background: #e5f1fb;
    border: 1px solid #99d1ff;
}

.start-menu-item span {
    font-size: 12px;
    color: var(--text-primary);
    font-weight: bold;
}

/* Buscador inferior */
.start-search-container {
    height: 40px;
    padding: 6px;
    border-top: 1px solid #e0e0e0;
}

.start-search-input {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: 1px solid #ccc;
    padding: 0 12px;
    font-size: 12px;
    font-family: var(--sys-font);
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* --- Columna Derecha (Sistema) --- */
.start-menu-right {
    flex: 4;
    display: flex;
    flex-direction: column;
    padding: 10px;
    /* Mantiene la transparencia del aero glass */
}

.system-link {
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid transparent;
    margin-bottom: 2px;
}

.system-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.system-link.shutdown-btn {
    margin-top: auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.system-link.shutdown-btn:hover {
    background: rgba(220, 53, 69, 0.8); /* Rojo apagado */
}
