* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; font-family: 'Inter', sans-serif; }
    body { background: linear-gradient(145deg, #080808 0%, #1b180c 100%); background-attachment: fixed; color: #f0f0f0; min-height: 100dvh; display: flex; justify-content: center; align-items: center; overflow: hidden; }
    h1, h2, h3 { font-family: 'Playfair Display', serif; }
    .hidden { display: none !important; }
    .app-container { width: 100%; max-width: 400px; height: 100dvh; display: flex; flex-direction: column; position: relative; }
    
    #login-view { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 30px; }
    .brand-title { text-align: center; font-size: 2rem; letter-spacing: 2px; margin-bottom: 10px; }
    .subtitle { text-align: center; color: #888; font-size: 0.9rem; margin-bottom: 40px; }
    
    #panel-view { flex: 1; display: flex; flex-direction: column; }
    .header { padding: 20px; border-bottom: 1px solid #222; display: flex; justify-content: space-between; align-items: center; }
    .btn-add { background: #fff; color: #000; border: none; padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
    
    .client-list { flex: 1; overflow-y: auto; padding: 10px 20px; }
    .client-item { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid #222; cursor: pointer; }
    .client-info h4 { font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }
    .client-info p { font-size: 0.8rem; color: #777; }
    .client-status { text-align: right; font-size: 0.85rem; color: #eab308; }
    
    /* --- MODALES TRADICIONALES --- */
    .modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); display: flex; flex-direction: column; justify-content: flex-end; z-index: 100; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
    .modal-overlay.active { opacity: 1; pointer-events: all; }
    .modal-content { background: #111; border-top: 1px solid #333; border-radius: 20px 20px 0 0; padding: 30px 20px 40px 20px; transform: translateY(100%); transition: transform 0.3s ease; }
    .modal-overlay.active .modal-content { transform: translateY(0); }
    .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
    .close-btn { background: transparent; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; }
    
    /* --- FORMULARIOS Y BOTONES --- */
    .form-group { margin-bottom: 20px; }
    .form-group label { display: block; font-size: 0.75rem; color: #888; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px; }
    .form-group input { width: 100%; background: #1a1a1a; border: 1px solid #333; color: #fff; padding: 12px; border-radius: 8px; outline: none; font-size: 1rem; }
    .form-group input:focus { border-color: #fff; }
    .btn-submit { width: 100%; padding: 15px; background: #fff; color: #000; border: none; border-radius: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; margin-top: 10px; }
    .btn-action-danger { width: 100%; background: transparent; border: 1px solid #ef4444; color: #ef4444; padding: 12px; border-radius: 8px; margin-top: 15px; cursor: pointer; }
    .button-group { display: flex; gap: 10px; margin-top: 10px; }

    /* --- NUEVO AVISO SUPERIOR (TIPO TOAST) --- */
    .top-notification {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translate(-50%, -100%);
        width: 100%;
        max-width: 400px;
        background: #ef4444; /* Rojo para advertencias */
        color: white;
        padding: 25px 20px 20px 20px;
        text-align: center;
        z-index: 1000;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.6);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efecto rebote suave */
    }
    .top-notification.active { transform: translate(-50%, 0); }
    .top-notification p { font-weight: 500; font-size: 1rem; }
    .notification-actions { margin-top: 15px; display: flex; justify-content: center; gap: 15px; }
    
    .btn-notif { padding: 10px 20px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
    .btn-notif.confirm { background: #fff; color: #ef4444; }
    .btn-notif.cancel { background: transparent; border: 1px solid #fff; color: #fff; }
