/* Small additions on top of the Kanukku template (assets/css/style.css). Keep template classes for everything else. */

/* Sidebar / header logo sizes for the ShastraSoft logo files */
.sidebar-logo .logo-normal img, .sidebar-logo .dark-logo img { height: 36px; width: auto; }
.sidebar-logo .logo-small img, .sidebar-logo .dark-small img { height: 34px; width: auto; }
.header-left .logo img, .header-left .dark-logo img { height: 32px; width: auto; }
.product-name { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* Initials avatar used instead of photos */
.avatar-initials { font-weight: 600; font-size: 13px; color: #fff !important; background: var(--primary, #7539ff); }

/* Amount columns */
td.num, th.num { text-align: right; white-space: nowrap; }

/* MVC validation messages */
.field-validation-error, .field-error { color: var(--bs-danger, #e41f07); font-size: 12px; display: block; margin-top: 4px; }
.input-validation-error { border-color: var(--bs-danger, #e41f07) !important; }
.validation-summary-valid { display: none; }

/* Invoice line items */
.lines-table > :not(caption) > * > * { padding: 8px 6px; }
.lines-table input, .lines-table select { min-width: 64px; }
.lines-table .desc { min-width: 200px; }

/* Role permission groups */
.perm-group { break-inside: avoid; }
@media (min-width: 992px) { .perm-columns { columns: 2; } }

/* App launcher tiles */
.app-tile { transition: box-shadow .15s ease, transform .15s ease; }
.app-tile:hover { box-shadow: 0 6px 20px rgba(117, 57, 255, .15); transform: translateY(-2px); }

/* Auth pages */
.auth-logo-img { max-height: 110px; width: auto; }
.auth-footer { font-size: 13px; }

@media print {
    .header, .two-col-sidebar, .sidebar, .footer, .no-print { display: none !important; }
    .page-wrapper { margin: 0 !important; padding: 0 !important; }
}
