html {
  font-size: 14px;
}

/* Standardize edit/details actions outside DataTables */
a[href*="/Edit"].btn-warning {
    color: #2563eb;
    border-color: #2563eb;
    background-color: transparent;
}

a[href*="/Edit"].btn-warning:hover,
a[href*="/Edit"].btn-warning:focus-visible {
    color: #fff;
    border-color: #2563eb;
    background-color: #2563eb;
}

a[href*="/Details"].btn-success {
    color: #64748b;
    border-color: #64748b;
    background-color: transparent;
}

a[href*="/Details"].btn-success:hover,
a[href*="/Details"].btn-success:focus-visible {
    color: #fff;
    border-color: #64748b;
    background-color: #64748b;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Compact DataTables */
table.dataTable {
    font-size: .72rem;
}

table.dataTable thead th {
    position: static;
    padding: .35rem .45rem !important;
    border-bottom: 1px solid #cbd5e1;
    color: #334155;
    background: #f8fafc !important;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

table.dataTable tbody td {
    height: 28px;
    padding: .22rem .45rem !important;
    line-height: 1.15;
    vertical-align: middle;
}

table.dataTable thead th,
table.dataTable tbody td {
    box-sizing: border-box;
}

table.dataTable thead th.text-end,
table.dataTable tbody td.text-end {
    text-align: right !important;
}

table.dataTable thead th:not(.text-end),
table.dataTable tbody td:not(.text-end):not(.actions) {
    text-align: left;
}

table.dataTable tbody tr {
    height: 28px;
}

table.dataTable tbody tr:nth-of-type(odd) > * {
    background-color: #fbfcfe;
}

table.dataTable tbody tr:hover > * {
    background-color: #eef4ff !important;
}

div.dataTables_wrapper,
div.dt-container {
    font-size: .72rem;
}

div.dataTables_wrapper .form-control,
div.dataTables_wrapper .form-select,
div.dt-container .form-control,
div.dt-container .form-select,
div.dataTables_wrapper .dt-button,
div.dt-container .dt-button {
    min-height: 28px;
    padding: .2rem .45rem;
    font-size: .72rem;
}

table.dataTable td.actions,
table.dataTable td:has(.icon-action) {
    text-align: center !important;
    white-space: nowrap;
}

table.dataTable td.actions {
    vertical-align: middle !important;
    text-align: center !important;
    padding-left: .2rem !important;
    padding-right: .2rem !important;
}

table.dataTable td.actions .icon-action,
table.dataTable td:has(.icon-action) .icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
}

.icon-action {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 1px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: .25rem;
    background: transparent;
    line-height: 1;
    vertical-align: middle;
}

.icon-action:hover,
.icon-action:focus-visible {
    color: #fff;
    outline: none;
}

.icon-action--edit {
    color: #2563eb;
}

.icon-action--edit:hover,
.icon-action--edit:focus-visible {
    background: #2563eb;
}

.icon-action--details {
    color: #64748b;
}

.icon-action--details:hover,
.icon-action--details:focus-visible {
    background: #64748b;
}

.icon-action--delete {
    color: #dc2626;
}

.icon-action--delete:hover,
.icon-action--delete:focus-visible {
    background: #dc2626;
}

.icon-action svg {
    width: 14px;
    height: 14px;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    table.dataTable tbody td {
        height: auto;
    }

    .icon-action {
        width: 28px;
        height: 28px;
    }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}




/* 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. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}


.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@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
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-top: 60px; /*ktk for nav bar fixed*/
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.backgroundWhite {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.login-form {
    width: 340px;
    margin: 50px auto;
}

    .login-form form {
        margin-bottom: 15px;
        background: #fff;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
        padding: 30px;
    }



    .login-form h2 {
        margin: 0 0 15px;
    }



.form-control, .btn {
    min-height: 38px;
    border-radius: 2px;
}






#logreg-forms {
    width: 412px;
    margin: 10vh auto;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

    #logreg-forms form {
        width: 100%;
        max-width: 410px;
        padding: 15px;
        margin: auto;
    }

    #logreg-forms .form-control {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 10px;
        font-size: 16px;
    }

        #logreg-forms .form-control:focus {
            z-index: 2;
        }

    #logreg-forms .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    #logreg-forms .form-signin input[type="password"] {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    #logreg-forms .social-login {
        width: 390px;
        margin: 0 auto;
        margin-bottom: 14px;
    }

    #logreg-forms .social-btn {
        font-weight: 100;
        color: white;
        width: 190px;
        font-size: 0.9rem;
    }

    #logreg-forms a {
        display: block;
        padding-top: 10px;
        color: lightseagreen;
    }

#logreg-form .lines {
    width: 200px;
    border: 1px solid red;
}


#logreg-forms button[type="submit"] {
    margin-top: 10px;
}

#logreg-forms .facebook-btn {
    background-color: #3C589C;
}

#logreg-forms .microsoft-btn {
    background-color: #2672ec;
}

#logreg-forms .form-reset, #logreg-forms .form-signup {
    display: none;
}

    #logreg-forms .form-signup .social-btn {
        width: 210px;
    }

    #logreg-forms .form-signup input {
        margin-bottom: 2px;
    }

.form-signup .social-login {
    width: 210px !important;
    margin: 0 auto;
}

input[type='number'] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Login page */
.login-page {
    min-height: calc(100vh - 170px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem 3rem;
    background: #f7f9fc;
}

.login-card {
    width: min(100%, 430px);
    padding: 2.5rem 2.75rem 2rem;
    border: 1px solid #e7ebf2;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 45px rgba(27, 51, 84, .08);
    text-align: center;
}

.login-brand {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: .9rem;
    color: #fff;
    background: #1d4ed8;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.login-eyebrow {
    margin: 0 0 .45rem;
    color: #1d4ed8;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.login-card h1 {
    margin: 0;
    color: #162033;
    font-size: 1.75rem;
    font-weight: 700;
}

.login-subtitle {
    margin: .55rem 0 2rem;
    color: #697586;
    font-size: .92rem;
}

.login-form {
    text-align: left;
}

.login-field {
    margin-bottom: 1.2rem;
}

.login-field label {
    display: block;
    margin-bottom: .45rem;
    color: #344054;
    font-size: .85rem;
    font-weight: 600;
}

.login-field .form-control {
    min-height: 48px;
    padding: .7rem .85rem;
    border: 1px solid #d5dce7;
    border-radius: .55rem;
    color: #162033;
    background: #fff;
    box-shadow: none;
    font-size: .95rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.login-field .form-control::placeholder {
    color: #a0a9b8;
}

.login-field .form-control:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 .2rem rgba(29, 78, 216, .12);
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap .form-control {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: .35rem;
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: .4rem;
    color: #7b8798;
    background: transparent !important;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: #1d4ed8;
    background: #eff4ff;
    outline: none;
}

.password-eye {
    width: 1.2rem;
    height: 1.2rem;
}

.login-validation,
.field-validation-error {
    display: block;
    margin-top: .4rem;
    color: #c0392b;
    font-size: .78rem;
}

.login-validation:empty,
.field-validation-error:empty {
    display: none;
}

.login-options {
    margin: -.1rem 0 1.35rem;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #667085;
    cursor: pointer;
    font-size: .85rem;
}

.remember-option input {
    width: 1rem;
    height: 1rem;
    accent-color: #1d4ed8;
}

.login-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: .55rem;
    color: #fff;
    background: #1d4ed8;
    font-size: .95rem;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.login-submit:hover,
.login-submit:focus-visible {
    background: #1e40af;
    box-shadow: 0 7px 16px rgba(29, 78, 216, .2);
    outline: none;
    transform: translateY(-1px);
}

.login-footer {
    margin: 1.75rem 0 0;
    color: #98a2b3;
    font-size: .75rem;
}

@media (max-width: 480px) {
    .login-page {
        align-items: flex-start;
        padding-top: 1.5rem;
    }

    .login-card {
        padding: 2rem 1.35rem 1.75rem;
    }
}
