@import url('https://fonts.googleapis.com/css2?family=Anta&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --primary: #167EFE;
    --primary-dark: #0061d8;
    --primary-rgb: 22, 126, 254;
    --bs-primary-rgb: 22, 126, 254;
}

.btn:focus {
    outline: none;
    box-shadow: none;
}

a {
    color: var(--primary);
	text-decoration:none;
}

.bg-primary {
    background-color: var(--primary);
}

.bg-dark-primary {
    background-color: var(--primary-dark);
}

.text-primary {
    color: var(--primary)
}

.text-dark-primary {
    color: var(--primary-dark)
}

body {
    font-family: "Open Sans", sans-serif;
}

.Heading,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Anta", sans-serif;
    font-weight: 500;
}

.fs-18 {
    font-size: 1.125rem;
}

/* Login Area*/
.RegisterBox{
		box-shadow: 0 4px 5px 5px rgba(22, 126, 254, .2);
    border-radius: 1rem;
	}

.AdminLogin {
    background: url(../img/admin-login-bg.webp)no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.LoginCard {
    width: 100%;
    max-width: 420px;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
    background: #04081150;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #BAE6FF10;
}

.LoginHeader {
    padding-top: 40px;
}

.LoginHeader img {
    margin-bottom: 20px;
}

.CustomPrimary {
    --bs-btn-bg: var(--primary);
    --bs-btn-color: #fff;
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
}

.CustomHr {
    opacity: .15;
}

.AdminLogin .form-control,
.UserLogin .form-control {
    border-color: #BAE6FF10;
    background-color: #000;
    color: #BAE6FF;
}

.AdminLogin .form-control:focus,
.UserLogin .form-control:foucs {
    box-shadow: none;
}

.AdminLogin .input-group-text,
.UserLogin .input-group-text {
    background-color: #000;
    color: #fff;
    border-color: #BAE6FF10;
}

.AdminLogin .input-group .btn,
.UserLogin .input-group .btn {
    --bs-btn-border-color: #BAE6FF10;
    --bs-btn-color: #fff;
    --bs-btn-bg: #000;
}

.AdminLogin .form-control::placeholder,
.UserLogin .form-control::placeholder {
    color: #BAE6FF
}
#togglePwd1, #togglePwd2{
	--bs-btn-border-color: #f1f1f1;
	--bs-btn-bg: #f1f1f1;
    --bs-btn-hover-border-color: #6c757d;
}
/* Login Area End */


/* Main Pages */
#sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: #1e293b;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1030;
    overflow-y: auto;
    transition: transform .25s ease;
}

#sidebar .brand {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

#sidebar .nav-link {
    color: rgba(255, 255, 255, .65);
    border-radius: .375rem;
    margin: .15rem .75rem;
    padding: .5rem .85rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Anta';
}

#sidebar .nav-link:hover,
#sidebar .nav-link.active {
    color: #fff;
    background: var(--primary)
}

#sidebar .nav-section {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    padding: 1rem 1.5rem .25rem;
}

/* ── Main content ──────────────────────────────────────────── */
#main-content {
    margin-left: var(--sidebar-width);
    transition: margin-left .25s ease;
}

#topbar {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: .75rem 1.5rem;
    position: sticky;
    top: 0;

    z-index: 1020;
}

.breadcrumb {
    font-family: "Anta", sans-serif;
}

.AvatarBadge {
    font-size: .75rem;
    width: 28px;
    height: 28px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Collapsed sidebar on mobile ──────────────────────────── */
@media (max-width: 991.98px) {
    #sidebar {
        transform: translateX(-100%);
    }

    #sidebar.show {
        transform: translateX(0);
    }

    #main-content {
        margin-left: 0;
    }
}

/* ── Cards ────────────────────────────────────────────────── */
.BadgePrimary {
    background-color: rgba(var(--primary-rgb), .10) !important;
}

.stat-card {
    border: none;
    border-radius: .75rem;
}

.stat-card .stat-icon {
    width: 52px;
    height: 52px;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* ── Tables ───────────────────────────────────────────────── */
.table th {
    font-weight: 500;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c757d;
}

.table td {
    font-size: 14px;
}

.dataTables_info,
.disabled>.page-link,
.page-link.disabled,
.active>.page-link,
.page-link.active {
    font-size: 13px !important;
    --bs-pagination-active-bg: var(--primary);
    --bs-pagination-active-border-color: var(--primary);
}

.UserLogin {
    background: url(../img/user-login-bg.webp)no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.UserLogin:before {
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0, 0, 0, 0.25);
    width: 100%;
    height: 100%;
    z-index: -1;
}




.UserRegister {
    background: url(../img/admin-login-bg.webp)no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.UserRegister:before {
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0, 0, 0, 0.25);
    width: 100%;
    height: 100%;
    z-index: -1;
}

.RegisterLeft {
    background: url(../img/register-left-col-bg.webp)no-repeat center bottom;
    background-size: cover;
    border-radius: 1rem 1rem 0 0;
}

.reg-card {
    border: none;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
}

@media(min-width:992px) {
    .RegisterLeft {
        border-radius: 1rem 0 0 1rem;
    }

    .reg-card {
        border-radius: 0 1rem 1rem 0;
    }
}

.form-floating>label.error {
    position: relative;
    padding: 0;
    color: red !important;
    transform: none !important;
}


/* Step indicator */
.step-indicators {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-top: 1rem;
}

.step-dot {
    width: 100%;
    height: 2px;
    border-radius: 50%;
    background: #D9D9D9
}

.step-dot.active {
    background: var(--primary);
}

/* Validation error styling */
.UserReg .form-label {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 500;
}

.UserReg .form-control {
    font-size: 15px;
}

.form-control.error,
.form-select.error {
    border-color: #dc3545;
}

label.error {
    color: #dc3545;
    font-size: .8rem;
    margin-top: .25rem;
    display: block;
}

.valid-feedback-custom {
    color: #198754;
    font-size: .8rem;
}

/* Password strength */
.strength-bar {
    height: 4px;
    border-radius: 2px;
    transition: width .3s, background .3s;
}

dt,
dd {
    margin: 0;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.breadcrumb-item {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 500;
}

.breadcrumb-item.active {
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--primary-dark);
    text-decoration: none;
}