:root {
    --vsuite-dark: #4d4d4d;
    --vsuite-primary: #1c6e82;
    --vsuite-primary-dark: #134f5e;
    --vsuite-accent: #4fafd0;
    --vsuite-bg: #f4f8fa;

    --bs-primary: var(--vsuite-primary);
    --bs-primary-rgb: 28, 110, 130;
    --bs-link-color: var(--vsuite-primary);
    --bs-link-color-rgb: 28, 110, 130;
    --bs-link-hover-color: var(--vsuite-primary-dark);
    --bs-link-hover-color-rgb: 19, 79, 94;
}

body {
    background-color: var(--vsuite-bg);
}

body.vsuite-app-shell {
    height: 100vh;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.navbar-vizasoft {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e5e9eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    flex: none;
}

.vsuite-shell-row {
    flex: 1 1 auto;
    min-height: 0;
}

.vsuite-logo {
    height: 26px;
}

.vsuite-auth-page {
    min-height: 100vh;
}

.vsuite-auth-brand {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--vsuite-primary) 0%, var(--vsuite-primary-dark) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.vsuite-auth-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.vsuite-auth-orb-1 {
    width: 360px;
    height: 360px;
    top: -120px;
    right: -140px;
    background: radial-gradient(circle at 30% 30%, var(--vsuite-accent) 0%, transparent 70%);
    opacity: .35;
}

.vsuite-auth-orb-2 {
    width: 280px;
    height: 280px;
    bottom: -110px;
    left: -90px;
    background: radial-gradient(circle at 70% 70%, #ffffff 0%, transparent 70%);
    opacity: .12;
}

.vsuite-brand-content {
    position: relative;
    z-index: 1;
}

.vsuite-auth-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.vsuite-auth-badge img {
    width: 34px;
    height: auto;
}

.vsuite-auth-features {
    font-size: .95rem;
}

.vsuite-auth-features li {
    margin-bottom: .6rem;
    opacity: .9;
}

.vsuite-auth-features i {
    color: var(--vsuite-accent);
}

.vsuite-auth-form {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 2rem;
}

.btn-primary {
    --bs-btn-bg: var(--vsuite-primary);
    --bs-btn-border-color: var(--vsuite-primary);
    --bs-btn-hover-bg: var(--vsuite-primary-dark);
    --bs-btn-hover-border-color: var(--vsuite-primary-dark);
    --bs-btn-active-bg: var(--vsuite-primary-dark);
    --bs-btn-active-border-color: var(--vsuite-primary-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--vsuite-primary);
    --bs-btn-border-color: var(--vsuite-primary);
    --bs-btn-hover-bg: var(--vsuite-primary);
    --bs-btn-hover-border-color: var(--vsuite-primary);
    --bs-btn-active-bg: var(--vsuite-primary);
    --bs-btn-active-border-color: var(--vsuite-primary);
}

.text-primary {
    color: var(--vsuite-primary) !important;
}

.bg-primary {
    background-color: var(--vsuite-primary) !important;
}

.nav-pills .nav-link.active {
    background-color: var(--vsuite-primary);
}

.vsuite-sidebar {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.vsuite-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vsuite-invoice-nav,
.vsuite-page-header,
.vsuite-page-footer {
    flex: none;
}

.vsuite-body-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.vsuite-scroll-area {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.vsuite-scroll-area table thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #fff;
    box-shadow: inset 0 -1px 0 #dee2e6;
}

.vsuite-pagination-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .5rem;
}

.vsuite-pagination-bar > :first-child {
    justify-self: start;
}

.vsuite-pagination-bar > :nth-child(2) {
    justify-self: center;
}

.vsuite-pagination-bar > :last-child {
    justify-self: end;
}

.module-card {
    transition: transform 0.15s ease-in-out;
}

.module-card:hover {
    transform: translateY(-2px);
}

.vsuite-sidebar-divider {
    border-color: #d0d7db;
    opacity: 1;
    margin: 4px 8px;
}

.vsuite-shortcut-card {
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.vsuite-shortcut-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1) !important;
}
