﻿.navbar-expand-lg{
	background-color: #071d49 !important;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

input:focus, button:focus, select:focus, textarea:focus, a:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ced4da !important;
}

.site-title {
    font-size: 1.25rem;
    color: #000;
}

.maincontainer {
    max-width: 1120px;
    padding-bottom: 1.5rem !important;
}

/* --Layout page styling-- */

.navbar-nav {
    margin-left: auto;
}

    .navbar-nav .nav-item {
        display: flex;
        align-items: center;
    }

    .navbar-nav .nav-link {
        font-weight: 500;
        color: #333;
        display: flex;
        align-items: center;
    }

        .navbar-nav .nav-link:hover {
            color: #b80000;
        }

        .navbar-nav .nav-link img {
            height: 32px;
            width: 32px;
            padding: 3px;
            object-fit: cover;
        }

.nav-back {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 1.5rem !important;
    color: #ffc107 !important;
    font-weight: 500 !important;
    gap: 2px !important;
    line-height: 1 !important;
}

    .nav-back .material-icons {
        font-size: 2rem !important;
        position: relative !important;
        top: 1px !important;
    }

.header-profile-user {
    height: 32px;
    width: 32px;
    padding: 3px;
}

.offcanvas-body .dropdown-menu {
    position: absolute !important;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 2000;
}

body.offcanvas-backdrop {
    overflow: hidden;
}

.app-logo {
    height: 82px;
    width: auto;
}

/* --ReportList page styling-- */

.reportcontainer {
    margin-top: 3rem;
}

.bg {
    color: #34516C !important;
}

.bottom-link {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 16px;
}

    .bottom-link a {
        color: #0a58ca;
        text-decoration: none;
        cursor: pointer;
    }

        .bottom-link a:hover {
            color: #084298;
            text-decoration: underline;
        }

.intro-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 1rem 0;
    min-height: 500px;
    display: block;
}

    .intro-section .overlay {
        background: rgba(243, 244, 246, 0.9);
        width: 100%;
        height: 100%;
        padding: 2rem 0;
    }

    .intro-section .container {
        position: relative;
        z-index: 2;
    }

    .intro-section h1 {
        max-width: 500px;
        margin: 0 auto 1rem auto;
        text-align: left;
    }

    .intro-section p {
        max-width: 500px;
        margin: 0 auto 1rem auto;
        text-align: justify;
    }

.reportcontent {
    text-align: center;
    margin: 2rem 0 2rem 0;
    font-size: 2rem;
    font-weight: 500;
}

.report-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    /*justify-content: flex-start;*/
    justify-content: center;
    align-items: center;
    text-align: center;
}

.report-button {
    /*flex: 1 1 calc(25% - 1.5rem);*/
    flex: 0 0 auto;
    max-width: 280px;
    min-width: 180px;
    padding: 2rem 2rem;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    background-color: #34516c;
    color: #a1d3f2;
    border-radius: 0.4rem;
    transition: background-color 0.3s;
}

    .report-button:hover {
        background-color: #34516c;
        color: #fff;
    }

.or {
    /* width: 5%;*/
    font-size: 2rem;
    flex: 0 0 2rem;
    margin: 0 3%;
    text-align: center;
    font-weight: 500;
    color: #555;
}

@media (max-width: 768px) {
    .report-buttons {
        flex-direction: column;
    }

        .report-buttons .or {
            margin: 0.5rem 0;
        }
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
}

.loader-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #213446;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 990px) {
    .offcanvas-body .dropdown-menu.dropdown-menu-end {
        left: 0 !important;
        right: auto !important;
    }
}

/* --Footer page styling-- */

.app-footer {
    background: #000;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    margin-right: 15px;
}

    .footer-link:hover {
        color: #fff;
        text-decoration: underline;
    }

.app-footer-logo {
    height: 40px;
}

.uad {
    color: #6c757d;
    margin-bottom: 0.15rem !important;
}

.iconlg {
    font-size: 2rem;
}

.footer-link {
    text-decoration: underline;
    color: #6c757d;
}

    .footer-link:hover {
        color: white;
    }

.back-to-top-btn {
    background: none;
    border: 1px solid #6c757d;
    color: #6c757d;
    padding: 0.3rem 0.8rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.875rem;
}

    .back-to-top-btn:hover {
        background-color: black;
        color: white;
    }

/* --TabsList page styling-- */

.fw-semibold {
    width: 100%;
    font-weight: 600 !important;
    background-color: #223b57;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.reportTitle {
    background-color: #ffc107;
    text-align: left;
    margin-bottom: 3px;
    margin-top: 20px;
    height: 45px;
}

.tab-form-section {
    background: #f4f5f7;
    min-height: 60vh;
    padding: 60px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-form-container {
    /*max-width: 720px;*/
    width: 100%;
    padding: 20px;
}

.tab-form-content .tab-form-heading {
    font-size: 1.9rem;
    font-weight: 700;
    color: #223b57;
    margin-bottom: 1rem;
}

.tab-form-content .tab-form-description {
    margin-bottom: 1rem;
}

.tab-form-content .tab-form-questions {
    margin-top: 1.5rem;
}

.tab-form-buttons-wrapper {
    /*background-color: #fff;*/
    width: 100%;
    padding: 15px 20px;
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.tab-form-buttons {
    display: flex;
    gap: 2rem;
}

.tab-form-btn {
	
	background-color: #071D49 !important;
    border-radius: 0px !important;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
	
    padding: 14px 48px;
    width: 210px;
    border-radius: 6px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

    .tab-form-btn:hover {
        background: #1a2d42;
    }

.tab-form-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tab-form-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

    .tab-form-description.text-muted {
        font-size: 1.05rem;
        color: #6c757d;
        margin-bottom: 1.2rem;
    }

.tab-form-question .form-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.tab-form-question .form-check-label {
    font-size: 1.05rem;
    font-weight: normal;
}

.tab-form-question {
    margin-bottom: 1.5rem;
}

    .tab-form-question .form-check {
        margin-bottom: 0.8rem;
    }

    .tab-form-question .form-check-input {
        width: 1.5rem;
        height: 1.5rem;
        margin-right: 1rem;
    }

.form-check-input:checked {
    background-color: #34516c;
    border-color: #34516c;
}

.steps-container {
    position: relative;
    width: 100%;
    /* height: 10px; */
    /*margin: 20px auto;*/
}

.steps-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 6px;
    background: #ccc;
    transform: translateY(-50%);
    border-radius: 3px;
}

.steps-progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 6px;
    width: 0%;
    background: #34516c;
    transform: translateY(-50%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.finish-popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #ccc;
    padding: 30px 40px;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border-radius: 12px;
    min-width: 500px;
    max-width: 90%;
    min-height: 300px;
    max-height: 80%;
    display: flex;
    flex-direction: column;
}

.finish-popup-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

    .toggle-switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 28px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 24px;
        width: 24px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }

.toggle-switch input:checked + .slider {
    background-color: #0d6efd;
}

    .toggle-switch input:checked + .slider:before {
        transform: translateX(22px);
    }

.popupFinishBtn {
    padding: 12px 0;
    font-size: 16px;
}

.tab-form-question.error {
    border-left: 2px solid #a53c2d;
    padding-left: 10px;
}

.form-check {
    position: relative;
    overflow: visible;
}

.tooltip-required {
    position: absolute;
    right: 100%;
    transform: translateY(-20%);
    margin-right: 1px;
    background: #fff;
    border: 1px solid #ccc;
    color: black;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 10;
    display: flex;
    align-items: center;
}

    .tooltip-required .tooltip-icon {
        background: #dfa701;
        color: #fff;
        padding: 4px 12px;
        margin-right: 5px;
        font-size: large;
        line-height: 1;
    }

/* --ReportTabs page styling-- */

.list-card {
    background-color: #f3f4f6e6;
    border-radius: 8px;
    border: 1px solid #f3f4f6e6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

    .list-card .card-header {
        background-color: #f3f4f6e6;
        border-bottom: 1px solid #dee2e6;
    }

.table-responsive {
    max-height: 70vh;
    overflow-y: auto;
}

.table thead th {
    border-bottom: 1px solid #dee2e6 !important;
}

.table td {
    white-space: normal;
    word-wrap: break-word;
    max-width: 300px;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

.tpag {
    padding: 6px 12px;
    background-color: #f3f4f6e6;
}

    .tpag .page-link {
        padding: 8px 14px;
        font-size: 15px;
    }

    .tpag .page-item.active .page-link {
        background-color: #007bff;
        border-color: #007bff;
        color: white;
    }

    .tpag .page-item .page-link {
        color: #007bff;
    }

.action-icon {
    color: inherit;
    transition: color 0.2s ease;
}

.action-edit .action-icon {
    color: #0d6efd;
}

.action-delete .action-icon {
    color: #dc3545;
}

.action-edit:hover .action-icon {
    color: #0b5ed7;
}

.action-delete:hover .action-icon {
    color: #bb2d3b;
}

/* --AddTab page styling-- */

.form-card {
    background-color: #f3f4f6e6;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.select2-search--inline .select2-search__field {
    box-sizing: border-box;
    border: none;
    font-size: 100%;
    margin-left: 5px;
    max-width: 100%;
    resize: none;
    height: 22px;
    line-height: 20px;
    vertical-align: middle;
    font-family: sans-serif;
    overflow: hidden;
    word-break: keep-all;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem;
    padding: 0.25rem 1.5rem 0.25rem 0.25rem;
    min-height: 38px;
    position: relative;
    cursor: pointer !important;
}

    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        background-color: #cbcbcb;
        border: none !important;
        border-radius: 0.25rem;
        padding: 2px 8px;
        margin-top: 4px;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
        color: black;
        margin-right: 4px;
        border: none !important;
        padding-right: 0 !important;
    }

.select2-container .select2-selection::after {
    content: "▼";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: #6c757d;
    pointer-events: none;
}

.select2-container {
    position: relative;
    width: 100% !important;
}

/* --QuestionsList page styling-- */

.qpag {
    padding: 6px 12px;
    background-color: #f3f4f6e6;
}

    .qpag .page-link {
        padding: 8px 14px;
        font-size: 15px;
    }

    .qpag .page-item.active .page-link {
        background-color: #007bff;
        border-color: #007bff;
        color: white;
    }

    .qpag .page-item .page-link {
        color: #007bff;
    }

/* --Login page styling-- */

.login-label {
    font-weight: 500;
    margin-bottom: .5rem;
}

.card-bg {
    background-color: #556ee640 !important;
    color: #556ee6 !important;
}

.fc {
    font-size: 0.8125rem !important;
}

.toggelicon {
    border-color: #ced4da !important;
}

.btn-primary {
    color: #fff;
    background-color: #556ee6;
    border-color: #556ee6;
}

.alert-custom {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

    .alert-custom .alert-icon {
        font-size: 1.1rem;
        color: #924040;
    }

.alert-dismissible .btn-close {
    position: static;
    margin-left: 0.75rem;
    padding: 0;
    width: 1rem;
    height: 1rem;
    align-self: center;
}
