/* Login page adjustments */
.nhwr-login-image {
    margin-top: -80px;
}

.field-icon {
    float: right;
    margin-left: -21px;
    margin-top: 11px;
    position: relative;
    z-index: 2;
}

body.logged-in .container {
    padding-top: 50px;
}
.full-page.login-page {
  position: relative;
  background-image: linear-gradient( #002d1994 ), url('/white/img/DOHOFFICE.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.fa-eye::before {
    content: "\f06e";
    margin-left: -20px;
}

.fa-eye-slash::before {
    content: "\f070";
}

/* Input group styles */
.input-group {
    border-radius: 10px;
    margin-bottom: 9px;

}
.input-group.has-danger {
    margin-bottom: -1px !important;
}

.username-error.has-danger::after {
    content: none !important;
    color: #ec250d;     /* red */
    font-size: 14px;    /* custom size just for this one */
    position: absolute; /* optional positioning */
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }



#password-login,
#username-login {
    border: none !important;
    margin-right: 18% !important;
    padding: 20px !important;
}

.pass-border {
    border: none !important;
    padding: 5px !important;
}

.pass-text {
    border: none !important;
    padding: 5px !important;
}

.username-pass {
    padding-left: 10px !important;
    border: none !important;
    padding-right: 10px !important;
}

/* Validation feedback */
.field-feedback {
    color: #e3342f;      /* Laravel default error red */
    font-size: 0.875rem; /* small text */
    margin-top: 2px;
    margin-bottom: 2px;

}
#common, #length, #letter, #capital, #number, #special {
  margin-left: 1rem;
}
#validationModal {
  backdrop-filter: blur(5px);

}
.modal-title {
  color: white !important;
}

.col-xxl-auto,
.col-xxl-1,
.col-xxl-2,
.col-xxl-3,
.col-xxl-4,
.col-xxl-5,
.col-xxl-6,
.col-xxl-7,
.col-xxl-8,
.col-xxl-9,
.col-xxl-10,
.col-xxl-11,
.col-xxl-12 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

/* Custom xxl breakpoint for grid classes */
@media (min-width: 1440px) {
.col-xl {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}
.col-xxl-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}
.col-xxl-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}
.col-xxl-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}
.col-xxl-3 {
    flex: 0 0 25%;
    max-width: 25%;
}
.col-xxl-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}
.col-xxl-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}
.col-xxl-6 {
    flex: 0 0 50%;
    max-width: 50%;
}
.col-xxl-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}
.col-xxl-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}
.col-xxl-9 {
    flex: 0 0 75%;
    max-width: 75%;
}
.col-xxl-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}
.col-xxl-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}
.col-xxl-12 {
    flex: 0 0 100%;
    max-width: 100%;
}
.order-xxl-first {
    order: -1;
}
.order-xxl-last {
    order: 13;
}
.order-xxl-0 {
    order: 0;
}
.order-xxl-1 {
    order: 1;
}
.order-xxl-2 {
    order: 2;
}
.order-xxl-3 {
    order: 3;
}
.order-xxl-4 {
    order: 4;
}
.order-xxl-5 {
    order: 5;
}
.order-xxl-6 {
    order: 6;
}
.order-xxl-7 {
    order: 7;
}
.order-xxl-8 {
    order: 8;
}
.order-xxl-9 {
    order: 9;
}
.order-xxl-10 {
    order: 10;
}
.order-xxl-11 {
    order: 11;
}
.order-xxl-12 {
    order: 12;
}
.offset-xxl-0 {
    margin-left: 0;
}
.offset-xxl-1 {
    margin-left: 8.333333%;
}
.offset-xxl-2 {
    margin-left: 16.666667%;
}
.offset-xxl-3 {
    margin-left: 25%;
}
.offset-xxl-4 {
    margin-left: 33.333333%;
}
.offset-xxl-5 {
    margin-left: 41.666667%;
}
.offset-xxl-6 {
    margin-left: 50%;
}
.offset-xxl-7 {
    margin-left: 58.333333%;
}
.offset-xxl-8 {
    margin-left: 66.666667%;
}
.offset-xxl-9 {
    margin-left: 75%;
}
.offset-xxl-10 {
    margin-left: 83.333333%;
}
.offset-xxl-11 {
    margin-left: 91.666667%;
}
}


.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    backdrop-filter: blur(5px);
}
.modal-container {
    width: 90%;
    max-width: 450px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    margin: 0;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .modal-container {
        max-width: 600px;
    }
}

@media (max-width: 576px) {
    .modal-container {
        width: 95%;
        max-width: none;
        top: 10%;
        left: 50%;
        transform: translate(-50%, 0) !important; /
    }

    .modal-body-custom {
        padding: 1rem;
        font-size: 0.9rem;
    }
        .modal-header-custom {
        padding: 0.75rem 1rem;
    }
    .modal-title-custom {
        font-size: 1.1rem;
    }
    .close-modal-btn-custom {
        font-size: 1.25rem;
    }
}

#dt-length-0 {
  height: 40px !important;
}
.dataTables_wrapper .dataTables_length select {
  height: 40px !important;
}

.doh-footer {
    background-color: #A6A6A6;
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    padding: 30px 50px;
    font-size: 18px;
}

.doh-footer .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
}

.doh-footer .footer-section {
    padding: 0 15px;
}

.doh-footer .logo-section {
    display: flex;
    align-items: flex-start;
    flex: 1.5;
    min-width: 300px;
}

.doh-footer .doh-seal {
    width: 80px;
    height: 80px;
    filter: invert(1);
    margin-right: 20px;
}

.doh-footer .republic-info {
    line-height: 1.4;
    padding-top: 5px;
    color: #fff !important;
    font-size: 18px;
    width: 1000px;
    margin-top: 5rem;

}
.footer-section.quicklinks-section {
  max-width: 300px !important;
}

.doh-footer .republic-text {
    font-size: 18px;
    margin: 0;
    color: #fff !important;
    font-size: 18px;
}

.doh-footer .department-text {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #fff !important;
    font-size: 18px;
}

.doh-footer .bureau-text {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #fff !important;
}

.doh-footer .contact-section {
    flex: 2;
    line-height: 1.4;
}

.doh-footer .section-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff !important;
}

.doh-footer .detail-label {
    font-weight: bold;
    margin-bottom: 2px;
    margin-top: 10px;
    line-height: 1.2;
    color: #fff !important;
}
.doh-footer .detail-label:first-child {
    margin-top: 0;
}

.doh-footer .detail-value {
    margin: 0 0 10px 0;
    color: #fff !important;
}

.doh-footer .quicklinks-section {
    flex: 1;
}

.doh-footer .quicklinks-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doh-footer .quicklink {
    color: #ffffff;
    text-decoration: none;
    line-height: 1.8;
    display: block;
}

.doh-footer .quicklink:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .doh-footer .footer-container {
        flex-wrap: wrap;
    }

    .doh-footer .logo-section {
        flex: 1 100%;
        margin-bottom: 20px;
    }

    .doh-footer .contact-section,
    .doh-footer .quicklinks-section {
        flex: 1 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .doh-footer .contact-section,
    .doh-footer .quicklinks-section {
        flex: 1 100%;
        padding: 0 15px;
    }
    .doh-footer {
        padding: 20px 15px;
    }
}


.user-layout {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.user-photo img {
    width: 40px;
    height: 40px;
    border-radius: 20%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.user-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
}

.user-role {
    font-size: 12px;
    opacity: 0.8;
}

.sidebar .nav p, .off-canvas-sidebar .nav p {
font-family: 'Inter', sans-serif !important;
}

.nav-link.user-layout {
  margin-bottom: 2rem !important;
}

.sidebar {
  padding: 14px;
}



.sidebar-wrapper {
    position: relative;
    padding-bottom: 120px;
}

.sidebar .bottom-nav-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    list-style: none;
    padding-left: 0;
    margin: 0;
    background: inherit;
}
.nav.bottom-nav-links {
    margin-top: auto;
    padding-bottom: 1rem;
}

.custom-shadow {
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.27) !important;
}

.card1.custom-shadow.border-0.h-100 {
  background-color: white;
}

.mb-1 big {
    font-size: 20px;

}

@media (max-width: 700px) {
    .footer-section img {
    width: 93px !important;
    height: 93px !important;
    margin-right: 0 !important;
    margin-top: 42px;

    }
    .doh-footer .republic-text{
        font-size: 14px;
    }

    .doh-footer .department-text{
        font-size: 14px;
    }
    .doh-footer .bureau-text{
        font-size: 14px;
    }
}

@media (max-width: 1620px) {
    .footer-section img {
    width: 130px !important;
    height: 130px !important;
    margin-right: 0 !important;
    margin-top: 42px;

    }
}
@media (max-width: 1430px) {
    .footer-section img {
    width: 110px !important;
    height: 110px !important;
    margin-right: 0 !important;
    margin-top: 42px;

    }
}

@media (max-width: 1200px) {
    .footer-section img {
    width: 90px !important;
    height: 90px !important;
    margin-right: 0 !important;
    margin-top: 42px;
    }
        .doh-footer .republic-text{
        font-size: 16px;
    }

    .doh-footer .department-text{
        font-size: 16px;
    }
    .doh-footer .bureau-text{
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .header-bar {
      height: 100px !important;
      padding: 20px 15px !important;
    }
  }


@media (max-width: 991.98px) {
    .card-body .rounded-circle:first-child {
        width: 120px !important;
        height: 120px !important;
    }
    .card-body .rounded-circle:first-child .fa-9x {
        font-size: 5em !important;
    }

    .row.g-4 .card-body .rounded-circle {
        width: 150px !important;
        height: 150px !important;
    }

    .row.g-4 .card-body .rounded-circle .fa-9x {
        font-size: 5em !important;
    }

    .row.g-4 .card-body > .d-flex {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
    .row.g-4 .card-body > .d-flex > div:first-child {
        margin-bottom: 1rem;
    }
    }
    .sidebar li.active a,
    .sidebar li.active .nav-link-text,
    .sidebar li.active i {
        color: white !important;
    }

    .sidebar li.active p {
        color: white !important;
    }


    .nhwr-reg-form-card table.table tbody tr:nth-child(odd) {
        background-color: #ffffff;
    }

    .nhwr-reg-form-card table.table tbody tr:nth-child(even) {
        background-color: #f5f5f5;
    }

    .nhwr-reg-form-card table.table tbody tr:hover {
        background-color: #eaeaea;
    }
    .white-content .sidebar li a p {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }


    #errorModal .modal-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    margin: 0;
    height: auto;
    }

    #errorModalLabel {
    padding: 0px 0px 20px;
    }

    #errorModal {
    backdrop-filter: blur(5px);
    }


    .icon-circle {
        width: 244px;
        height: 244px;
        background-color: #2CBA7A;
        border: 2px solid #2CBA7A;
    }

    .icon-size {
        color: #fff;
        font-size: 9rem;
    }

    .icon-size1 {
        bottom: 89px;
        right: 72px;
        font-size: 3rem;
        color: #fff;
        text-shadow: 0 0 8px rgba(0,0,0,0.7);
    }

    .icon-minus {
        bottom: 99px;
        right: 85px;
        font-size: 3rem;
        color: #fbb03b;
        background-color: white;
        border-radius: 50px;
    }
    .icon-action {
        margin-left: 15%;
    }

    .icon-x {
        color: #dc3545;
        bottom: 94px;
        right: 81px;
        font-size: 3rem;
        background-color: white;
        border-radius: 50%;
    }

    @media (max-width: 1600px) {
        .icon-circle {
            width: 180px;
            height: 180px;
            font-size: 6rem;
        }
        .icon-size {
            font-size: 7rem ;
        }

        .icon-size1 {
            bottom: 114px;
            right: 55px;
            font-size: 2rem ;
        }

       .icon-minus {
        bottom: 115px;
        right: 57px;
        font-size: 3rem;

    }

        .icon-x {
            bottom: 115px;
            right: 57px;
            font-size: 3rem;

        }

    }

    @media (max-width: 1400px) {
        .icon-circle {
            width: 150px;
            height: 150px;
            margin-left: -38px;
        }

        .icon-size {
            font-size: 6rem ;
        }

        .icon-size1 {
            bottom: 151px;
            right: 47px;
            font-size: 2rem ;
        }

       .icon-minus {
            bottom: 153px;
            right: 57px;
            font-size: 2.5rem;

        }

      .icon-x {
            bottom: 153px;
            right: 57px;
            font-size: 2.5rem;

        }
    }

    @media (max-width: 1300px) {
        .icon-circle {
            margin-left: -143px;
            margin-top: 6%;
        }
        .icon-minus {
            bottom: 123px;
            right: 57px;
            font-size: 2.5rem;

        }

        .icon-x {
                bottom: 123px;
                right: 57px;
                font-size: 2.5rem;

            }
    }

    @media (max-width: 1100px) {
        .icon-circle {
            margin-left: -188px;
        }
    }



    @media (max-width: 991px) {
        .icon-circle {
            margin-left: 0px;
        }
        .icon-size {
            font-size: 5rem ;
        }
    .icon-size1 {
        bottom: 89px;
        right: 72px;
        font-size: 1rem;
        color: #fff;
    }

    .icon-minus {
        bottom: 36px;
        right: 174px;
    }

    .icon-x {
        bottom: 36px;
        right: 174px;
    }
    }


    @media (max-width: 500px) {
    .icon-minus {
        bottom: 18px;
        right: 108px;
        font-size: 2.5rem;
    }

    .icon-x {
        bottom: 18px;
        right: 108px;
        font-size: 2.5rem;

    }

}


.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.sidebar-wrapper .nav:first-of-type {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-wrapper .nav:first-of-type::-webkit-scrollbar {
    width: 4px;
}
.sidebar-wrapper .nav:first-of-type::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.bottom-nav-links {
    margin-top: auto;
    background: inherit;
    padding-bottom: 20px;
    z-index: 10;
}
.caret.mt-1 {
  right: 0px !important;
}
