/* ===== VentasPro Custom Styles ===== */

/* --- Navbar --- */
.vp-navbar {
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07);
}
.vp-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: #2563eb !important;
    display: flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
}
.vp-brand-icon {
    width: 2.1rem;
    height: 2.1rem;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .95rem;
    flex-shrink: 0;
}
.vp-nav-link {
    color: #6b7280 !important;
    font-size: .875rem;
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: .45rem .75rem !important;
    border-radius: .375rem;
    transition: color .15s, background .15s;
}
.vp-nav-link:hover {
    color: #2563eb !important;
    background: #eff6ff;
}
.vp-nav-link.active {
    color: #2563eb !important;
    font-weight: 600;
    background: #eff6ff;
}
.vp-user-pill {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: #374151;
}
.vp-avatar-nav {
    width: 2.1rem;
    height: 2.1rem;
    background: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* --- Card Icon Header --- */
.vp-card-icon {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    flex-shrink: 0;
}
.vp-card-icon-blue { background: #2563eb; }
.vp-card-icon-red  { background: #ef4444; }

/* --- Quantity Control --- */
.vp-qty-btn {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background .15s;
    flex-shrink: 0;
}
.vp-qty-btn:hover { background: #e5e7eb; }
.vp-qty-input {
    width: 4rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: .35rem .5rem;
    font-size: 1rem;
    font-weight: 600;
}
.vp-qty-input:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* --- Total Preview Box --- */
.vp-total-box {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    border-radius: .75rem;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vp-total-label {
    font-size: .8rem;
    color: #6b7280;
    margin-bottom: .15rem;
}
.vp-total-desc {
    font-size: .78rem;
    color: #9ca3af;
}
.vp-total-amount {
    font-size: 1.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Table Row Avatars --- */
.vp-avatar {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    flex-shrink: 0;
}
.vp-avatar-1 { background: #6366f1; }
.vp-avatar-2 { background: #8b5cf6; }
.vp-avatar-3 { background: #ec4899; }
.vp-avatar-4 { background: #f59e0b; }
.vp-avatar-5 { background: #10b981; }
.vp-avatar-6 { background: #3b82f6; }
.vp-avatar-7 { background: #6366f1; }
.vp-avatar-8 { background: #8b5cf6; }
.vp-avatar-9 { background: #6366f1; }
.vp-avatar-10 { background: #8b5cf6; }
.vp-avatar-11 { background: #ec4899; }
.vp-avatar-12 { background: #f59e0b; }
.vp-avatar-13 { background: #10b981; }
.vp-avatar-14 { background: #3b82f6; }
.vp-avatar-15 { background: #6366f1; }
.vp-avatar-16 { background: #8b5cf6; }
/* --- Row ID Badge --- */
.vp-id-badge {
    width: 1.85rem;
    height: 1.85rem;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 700;
}

/* --- Total Pill (green badge) --- */
.vp-total-pill {
    background: #d1fae5;
    color: #065f46;
    border-radius: 2rem;
    padding: .3rem .9rem;
    font-size: .85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}

/* ===== Legacy compatibility (other pages still use these) ===== */
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 600;
    font-size: .9rem;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: .5rem .75rem;
    border: 1px solid #d1d5db;
    border-radius: .375rem;
    font-size: .9rem;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.messages { list-style: none; padding: 0; margin-bottom: 1rem; }
.messages li { padding: .75rem 1rem; border-radius: .375rem; margin-bottom: .5rem; }
.messages .success { background: #d1fae5; color: #065f46; }
.messages .error   { background: #fee2e2; color: #991b1b; }

/* Legacy card/table/btn used in other pages */
.card {
    background: #fff;
    padding: 1.5rem;
    border-radius: .75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    margin-bottom: 1rem;
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem; text-align: left; border-bottom: 1px solid #e5e7eb; }
th { background: #f9fafb; font-weight: 600; font-size: .85rem; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.btn {
    display: inline-block;
    padding: .45rem 1rem;
    color: #3b82f6;
    background: #fff;
    text-decoration: none;
    border-radius: .375rem;
    
    cursor: pointer;
    font-size: .875rem;
    transition: background .15s;
    border: 1px solid #2563eb;
}
.btn:hover { background: #2563eb; color: #fff; }
.btn-success { background: #22c55e; }
.btn-success:hover { background: #16a34a; }
.btn-danger{background: #ef4444; border-color: #ef4444;color: #fff;}
.btn-danger:hover { background: #dc2626; }





