﻿/*Fix thead button content first row issue in repeaters*/

[data-repeater-item]:first-child [data-repeater-delete] {
    display: none;
}

/* Import Outfit font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'DunbarText';
    src: url('../plugins/global/fonts/DunbarText-Regular.ttf');
}

/* Apply Outfit Semi Bold as the main font */
body,
.menu-title,
.app-sidebar-username,
.app-sidebar-deckription,
.card-title,
.page-title,
h1, h2, h3, h4, h5, h6,
.fw-bold,
.fw-semibold {
    font-family: 'Outfit', sans-serif !important;
}

.fw-bold,
.menu-title.fw-bold {
    font-weight: 600 !important;
}

.fw-semibold {
    font-weight: 500 !important;
}

/* Sidebar layout - keep user info at bottom */
.app-sidebar {
    display: flex !important;
    flex-direction: column !important;
}

.app-sidebar-menu {
    flex: 1 1 auto !important;
    overflow-y: auto;
}

.app-sidebar-user {
    flex: 0 0 auto !important;
    margin-top: auto !important;
}

/* Menu section header styling */
.menu-section {
    padding: 0.65rem 1rem;
    margin-top: 1rem;
}

.menu-section .menu-section-text {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Sub-menu styling */
.menu-sub {
    padding-left: 1rem;
}

.menu-sub .menu-item .menu-link {
    padding: 0.5rem 1rem;
}

.menu-sub .menu-item .menu-title {
    font-size: 0.9rem;
    font-weight: 500 !important;
}

/* Ensure form controls have left-aligned text */
.form-control::placeholder {
    text-align: left !important;
}

.form-control {
    text-align: left !important;
}

table.dataTable tr th.select-checkbox.selected::after {
    content: "✔";
    margin-top: -11px;
    margin-left: -4px;
    text-align: center;
    text-shadow: rgb(176, 190, 217) 1px 1px, rgb(176, 190, 217) -1px -1px, rgb(176, 190, 217) 1px -1px, rgb(176, 190, 217) -1px 1px;
}

/* Purple color variants for roles */
.bg-light-purple {
    background-color: rgba(149, 97, 226, 0.1) !important;
}

.text-purple {
    color: #9561e2 !important;
}

.badge-light-purple {
    color: #9561e2;
    background-color: rgba(149, 97, 226, 0.1);
}

.symbol-label.bg-light-purple {
    background-color: rgba(149, 97, 226, 0.1) !important;
}

/* Role card hover effect */
.hover-elevate-up {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-elevate-up:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.cursor-pointer {
    cursor: pointer;
}