﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
html {
    font-family: DroidArabicKufi;
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    /*background: url("/images/SyeImg/pos-system.jpg") no-repeat center center fixed;*/
    /* background-size: cover;*/
    font-family: DroidArabicKufi;
    width: 100%;
    height: 100%;
    z-index: -3;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #5a7a8a;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c3e50;
}

.btn-primary {
    color: #fff;
    background-color: #3498db;
    border-color: #2980b9;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #1f618d;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #3498db;
    border-color: #2980b9;
}

/* Sticky footer styles
-------------------------------------------------- */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

body {
    /* Margin bottom by footer height */
    /*    background-image: url('../Images/SyeImg/pos-system.jpg');
    background-repeat:no-repeat;
    background-size:cover;
*/ margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

topnav {
    overflow: hidden;
    background-color: black;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.active {
    background-color: #4CAF50;
    color: white;
}

.topnav .icon {
    display: none;
}

.dropdown11 {
    float: left;
    overflow: hidden;
}

    .dropdown11 .dropbtn {
        font-size: 17px;
        border: none;
        outline: none;
        color: white;
        padding: 14px 16px;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
    }

.dropdown11-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown11-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

.topnav a:hover, .dropdown11:hover .dropbtn {
    background-color: #555;
    color: white;
}

.dropdown11-content a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown11:hover .dropdown11-content {
    display: block;
}

@media screen and (max-width: 600px) {
    .topnav1 a:not(:first-child), .dropdown11 .dropbtn {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .topnav1.responsive {
        position: relative;
    }

        .topnav1.responsive .icon {
            position: absolute;
            right: 0;
            top: 0;
        }

        .topnav1.responsive a {
            float: none;
            display: block;
            text-align: left;
        }

        .topnav1.responsive .dropdown11 {
            float: none;
        }

        .topnav1.responsive .dropdown11-content {
            position: relative;
        }

        .topnav1.responsive .dropdown11 .dropbtn {
            display: block;
            width: 100%;
            text-align: left;
        }
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.totdisconn {
    position: fixed;
    top: 10vh;
    right: 0;
    width: 18%;
    background-color: darkcyan;
    color: white;
    text-align: right;
    padding: 8px 1% 2px 1%;
}

.cotainer {
    width: 98%;
    float: left;
}

@font-face {
    font-family: 'DroidArabicKufi';
    src: url('../fonts/DroidArabicKufi.woff') format('woff');
}

@font-face {
    font-family: 'NotoKufiArabic';
    src: url('../fonts/NotoKufiArabic-Bold.woff') format('woff');
}

.txtLine {
    background-color: transparent;
    border-style: solid;
    border-width: 0px 0px 1px;
    border-color: darkblue;
    outline: 0;
}

.bgimg {
    width: 100%;
    z-index: 100;
}

.btncontainer {
    z-index: 300;
    margin-top: 50px;
    margin-right: 4vw;
    width: 30%;
}

.registerbtn {
    width: 45vw;
    background-color: #2ecc71;
    height: 5vw;
    color: white;
    font-size: 2vw;
    border: 1px solid #27ae60;
    text-align: center;
    padding-top: 1vw;
    transition: all 0.3s ease;
}

.registerbtn1 {
    width: 28.5vw;
    background-color: #2ecc71;
    height: 5vw;
    color: white;
    font-size: 2vw;
    border: 1px solid #27ae60;
    text-align: center;
    padding-top: 1vw;
    transition: all 0.3s ease;
}

.registerbtn:hover {
    background-color: #27ae60;
    color: white;
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
    padding-top: 0.5vw;
    cursor: pointer;
    font-size: 3vw;
}

.registerbtn1:hover {
    background-color: #27ae60;
    color: white;
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
    padding-top: 0.5vw;
    cursor: pointer;
    font-size: 3vw;
}

.registerbtn:active {
    background-color: #2ecc71;
    color: white;
    box-shadow: 0 2px 4px rgba(46, 204, 113, 0.2);
    cursor: pointer;
}


@media screen and (max-width: 600px) {
    tbl {
        border: 1px solid #000000;
        border-collapse: collapse;
        margin: 0 auto;
        padding: 0px;
        table-layout: fixed;
        min-width: 100%;
    }

        tbl td {
            padding: 8px;
            border: 1px solid #000000;
            display: block;
            text-align: left;
            width: 100%\9;
            float: left\9;
        }

        tbl tr {
            background-color: #dddddd;
            color: #000000;
            text-align: left;
            margin: 8px
        }

            tbl tr:first-child {
                display: none;
            }

        tbl tr {
            display: block;
        }

        tbl td:not(:first-child) {
            border-top: 0px;
        }

        tbl .mobile-head {
            font-weight: bold;
            color: #000000;
            float: left;
            text-align: left;
            display: block
        }
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 700ms linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinner1 {
    border: 20px solid silver;
    border-top: 16px solid #ff0000;
    border-radius: 50%;
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 48%;
    animation: spin 700ms linear infinite;
}

.lblspinner1 {
    position: absolute;
    top: 30%;
    left: 44%;
    width: 150px;
    font-size: 30px;
}

.item-img {
    display: none;
    width: 30px;
    height: 30px;
    border-radius: 50%
}

.custom-file-label {
    cursor: pointer;
}

.imglogin {
    position: fixed;
    float: right;
    width: 25vw;
    height: 25vw;
    top: 10%;
    right: 20px;
}

#ExpPeriod {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: .1;
    }
}

.BtnSys {
    height: 25px;
    width: 45px;
    background-color: cadetblue;
    padding: 0 5px 3px 5px;
    color: white;
    font-size: 11px;
    border-radius: 5px;
}

    .BtnSys:hover {
        background-color: #1861ac;
        color: white;
        box-shadow: 2px 2px 8px;
    }

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

    /* Style the buttons inside the tab */
    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
        font-size: 17px;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #ddd;
        }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: #ccc;
        }

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu > li:hover {
        background-color: #f1f1f1
    }

        .dropdown-menu > li:hover > .submenu {
            display: block;
        }
}
/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }
}

/* ------------------------------------------------------------------ */
/* Calm Bootstrap 5 theme overrides                                   */
/* ------------------------------------------------------------------ */
:root {
    --brand-primary: #3f7cac;          /* soft blue */
    --brand-secondary: #8ab6d6;        /* pale blue */
    --brand-accent: #ffe8a3;           /* soft yellow */
    --bg-page: #f7fbff;                /* off-white with blue tint */
    --bg-card: #ffffff;
    --text-body: #1f2d3d;
    --text-muted: #6c7a8c;
    --border-soft: #e3edf5;
    --shadow-soft: 0 10px 30px rgba(22, 75, 110, 0.08);
}

body {
    background: radial-gradient(circle at 20% 20%, rgba(70, 143, 175, 0.08), transparent 30%), radial-gradient(circle at 80% 0%, rgba(63, 124, 172, 0.08), transparent 25%), var(--bg-page);
    color: var(--text-body);
    line-height: 1.6;
}

a {
    color: var(--brand-primary);
}

a:hover {
    color: #0f4f6a;
}

.app-navbar {
    background: linear-gradient(120deg, rgba(63, 124, 172, 0.92) 0%, rgba(138, 182, 214, 0.95) 50%, rgba(63, 124, 172, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1045;
}

.app-nav-shell {
    gap: 1.25rem;
}

.app-nav-links .nav-link,
.app-nav-user .nav-link {
    position: relative;
    color: #f7fbff;
    padding: 0.65rem 1rem;
    border-radius: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.app-nav-links .nav-link:hover,
.app-nav-links .show > .nav-link,
.app-nav-user .nav-link:hover,
.app-nav-user .show > .nav-link {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-1px);
}

.app-nav-links .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.25rem;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 232, 163, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 999px;
}

.app-nav-links .nav-link:hover::after,
.app-nav-links .show > .nav-link::after {
    opacity: 1;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.75rem;
    padding: 0.45rem 0.55rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.45);
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 1.2rem;
}

.brand-logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12));
}

.brand-text {
    color: #f7fbff;
    line-height: 1.1;
}

.brand-title {
    letter-spacing: 0.4px;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

.dropdown-menu {
    border: 0;
    border-radius: 14px;
    padding: 0.5rem;
    box-shadow: var(--shadow-soft);
    min-width: 240px;
    z-index: 1060;
}

.dropdown-item {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-body);
}

.dropdown-item:hover {
    background-color: rgba(31, 111, 139, 0.08);
    color: var(--brand-primary);
}

.bodycontainer {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 90px);
    padding: 1.5rem;
    background: var(--bg-page);
    z-index: 1;
}

.app-surface {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.app-footer {
    background: rgba(255, 255, 255, 0.78);
    border-top: 1px solid var(--border-soft);
    backdrop-filter: blur(10px);
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.06);
    padding: 0.45rem 1.5rem;
}

.app-footer .app-social {
    color: var(--brand-primary);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(31, 111, 139, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.app-footer .app-social:hover {
    background: rgba(31, 111, 139, 0.14);
    color: #0f4f6a;
}

.card,
.report {
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    background: var(--bg-card);
}

.table {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.table > :not(caption) > * > * {
    border-color: var(--border-soft);
    vertical-align: middle;
}

.btn-primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: 0 8px 18px rgba(31, 111, 139, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #0f4f6a;
    border-color: #0f4f6a;
}

.btn-outline-primary {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-outline-primary:hover {
    color: #ffffff;
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.table thead th {
    background: rgba(31, 111, 139, 0.08);
    color: var(--text-body);
    border-bottom: 1px solid var(--border-soft);
}

.table tbody tr:hover {
    background-color: rgba(31, 111, 139, 0.05);
}

/* Responsive helpers */
.img-fluid,
img {
    max-width: 100%;
    height: auto;
}

.table-responsive-wrap {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 1199.98px) {
    html {
        font-size: 15px;
    }

    .bodycontainer {
        padding: 1.25rem;
    }

    .navbar .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 0.35rem;
    }
}

@media (max-width: 991.98px) {
    .app-nav-shell {
        padding: 0 0.75rem;
    }

    .app-nav-links .nav-link,
    .app-nav-user .nav-link {
        padding: 0.5rem 0.75rem;
    }

    .app-footer {
        position: static;
    }

    .card,
    .report {
        border-radius: 14px;
    }
}

@media (max-width: 767.98px) {
    html {
        font-size: 14px;
    }

    .bodycontainer {
        padding: 0.85rem;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-title {
        font-size: 0.95rem;
    }

    .navbar-nav.ms-lg-auto {
        padding-top: 0.75rem;
    }

    .table-responsive {
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    .dx-datagrid .dx-datagrid-rowsview {
        overflow-x: auto;
    }

    .dx-datagrid .dx-datagrid-headers .dx-datagrid-text-content {
        white-space: normal;
    }

    .btn {
        white-space: normal;
    }
}

@media (max-width: 575.98px) {
    .app-navbar {
        padding: 0.5rem 0;
    }

    .bodycontainer {
        padding: 0.65rem;
    }

    .app-nav-shell {
        gap: 0.5rem;
    }

    .app-footer {
        padding: 0.5rem 0.75rem;
        text-align: center;
        gap: 0.75rem;
    }

    .card,
    .report {
        border-radius: 12px;
        box-shadow: none;
    }

    .audit-toolbar .row > [class*='col-'] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .ui-dialog {
        width: auto !important;
        max-width: 96vw;
        left: 2% !important;
        right: 2% !important;
    }
}
