@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
    font-size: 1rem;
    font-family: Poppins;
    font-weight: 500;
    margin: 0 !important;
}

#employment-form {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 40px;
    margin: 20px auto 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

input,
textarea,
select {
    border: none;
}

th,
td {
    border: 1px solid #6c757d;
    padding: 8px;
    text-align: left;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea {
    background-color: #f3f9fd;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    padding: 8px;
    border-radius: 5px;
    outline: none !important;
}

input.jfit-rtl {
    direction: rtl;
}

input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    accent-color: #0466c8;
}

input[type="radio"] {
    cursor: pointer;
    accent-color: #0466c8;
}

label {
    display: block;
    font-size: 0.9rem;
}

.ctj-table-title {
    text-align: center;
}

#employment-form thead tr th {
    background-color: transparent;
    border: 0;
}

.ctj-linear-options {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 0.5rem;
}

.justify-between {
    justify-content: space-between;
}

.justify-evenly {
    justify-content: space-evenly;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.grid {
    display: grid;
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.w-fit {
    width: fit-content;
}

.w-full {
    width: 100%;
}

.w-20 {
    width: 5rem;
}

.\!w-20 {
    width: 5rem !important;
}

.w-\[80\%\] {
    width: 80% !important;
}

.w-\[100px\] {
    width: 100px !important;
}

.\!w-\[150px\] {
    width: 150px !important;
}

.\!w-\[120px\] {
    width: 120px !important;
}

.\!w-\[200px\] {
    width: 200px !important;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

.cell-title {
    font-size: 0.9rem;
    font-weight: 600;
    background: #e9ecef;
    text-align: center;
    white-space: nowrap;
}

.hidden {
    display: none;
}

.navbar-register {
    width: 100%;
    padding: 1rem;
    position: sticky;
    top: 80px;
    margin-top: 100px;

}

.navbar-register.label {
    color: #2e226a !important;
    font-weight: 600;
}

#ginou-jisshu-form tbody th,
.cell-header-title {
    color: #0466c8;
    border: 0;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #dbeaf6 !important;
}

.nav-container {
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1199px) {
    .nav-container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .nav-container {
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    .nav-container {
        max-width: 540px;
    }
}

@media (max-width: 576px) {
    .nav-container {
        max-width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }
}

.navbar-brand {
    display: inline-block;
    padding-top: .32rem;
    padding-bottom: .32rem;
    margin-right: 1rem;
    font-size: 1.125rem;
    line-height: inherit;
    white-space: nowrap;
}

.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.125rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

.footer {
    background-color: #dbeaf6 !important;
    text-align: center;
    padding: 2rem;
}

.footer p {
    margin-bottom: 90px;
}

.footer a {
    text-decoration: none;
}

.gradient-bg {
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, #dbeaf6, transparent);
    position: absolute;
    z-index: -1;
}

.tabs {
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.required::after {
    --tw-text-opacity: 1;
    color: #ff3434;
    content: " ※";
    font-size: 0.9rem;
    font-family: sun-extA;
    font-weight: 700;
}

.checked-mark::before {
    color: #0466c8;
    content: "☑ ";
}

.unchecked-mark::before {
    color: #0466c8;
    content: "☐ ";
}

.whitespace-nowrap {
    white-space: nowrap;
}

.ctj-error-box {
    height: 100%;
    margin-top: 5px;
    margin-bottom: 0;
    color: red;
    font-size: 11px;
    text-align: left;
    vertical-align: middle;
    background-size: 18px 18px;
}

.ctj-error-box::before {
    content: '* ';
    color: red;
    vertical-align: middle;
}

@keyframes loader {

    0%,
    10%,
    100% {
        width: 80px;
        height: 80px;
    }

    65% {
        width: 150px;
        height: 150px;
    }
}

@keyframes loaderBlock {

    0%,
    30% {
        transform: rotate(0);
    }

    55% {
        background-color: #F37272;
    }

    100% {
        transform: rotate(90deg);

    }
}

@keyframes loaderBlockInverse {

    0%,
    20% {
        transform: rotate(0);
    }

    55% {
        background-color: #F37272;
    }

    100% {
        transform: rotate(-90deg);
    }
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%) rotate(45deg) translate3d(0, 0, 0);
    animation: loader 1.2s infinite ease-in-out;

    span {
        position: absolute;
        display: block;
        width: 40px;
        height: 40px;
        background-color: #EE4040;
        animation: loaderBlock 1.2s infinite ease-in-out both;

        &:nth-child(1) {
            top: 0;
            left: 0;
        }

        &:nth-child(2) {
            top: 0;
            right: 0;
            animation: loaderBlockInverse 1.2s infinite ease-in-out both;
        }

        &:nth-child(3) {
            bottom: 0;
            left: 0;
            animation: loaderBlockInverse 1.2s infinite ease-in-out both;
        }

        &:nth-child(4) {
            bottom: 0;
            right: 0;
        }
    }
}

.hidden {
    display: none !important;
}

.ctj-preloader {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.text-\[0\.8rem\] {
    font-size: 0.8rem;
}

.text-center {
    text-align: center;
}

.jfit-unit {
    color: #4b5563;
    font-size: 1rem;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.left-0 {
    left: 0px;
}

.top-0 {
    top: 0px;
}

.h-full {
    height: 100%;
}

.h-\[98\%\] {
    height: 98%;
}

.m-2 {
    margin: 0.5rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.cell-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.5rem;
    box-sizing: border-box;
}

.full-size-textarea {
    height: 100%;
    resize: none;
}

.flash-message-backdrop {
    position: fixed;
    left: 0px;
    top: 0px;
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    --tw-bg-opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.flash-message-dialog {
    position: relative;
    display: flex;
    width: 40rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-radius: 0.5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    padding: 1rem;
    padding-top: 4rem;
}

.flash-message-dialog .message {
    text-align: center;
    font-weight: 600;
}

.flash-message-animation-container {
    position: absolute;
    top: -5rem;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flash-message-animation-container .wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}

.flash-message-animation-container .wrapper .backdrop {
    position: absolute;
    z-index: -10;
    height: 400px;
    width: 240px;
    --tw-bg-opacity: 1;
    padding: 0.5rem;
}

.flash-message-animation-container .wrapper .animation {
    width: 150px;
    height: 150px;
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flash-message-dialog .message.success {
    color: #22c55e;
}

.ctj-demand-cancel {
    background-color: #778da9 !important;
}

.ctj-demand-submit {
    position: relative;
    transition: all 0.3s ease-in-out;
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    background-color: #0466c8;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffff;
    gap: 10px;
    font-weight: bold;
    border: 2px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 15px;
}

.ctj-demand-submit-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease-in-out;
}

.ctj-demand-submit:hover {
    transform: scale(1.05);
    border-color: #fff9;
}

.ctj-demand-submit:hover .ctj-demand-submit-icon {
    transform: translate(4px);
}

.ctj-demand-submit:hover::before {
    animation: shine 1.5s ease-out infinite;
}

.ctj-demand-submit::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

.text-primary {
    color: #0466c8;
    width: 16px;
    height: 16px;
    display: inline-block;
    padding-top: 3px;
}

.jfit-tooltip {
    cursor: pointer;
    width: 16px;
    height: 16px;
    display: inline-block;
    overflow: hidden;
}

.pdf-footer {
    background-color: #dbeaf6 !important;
    text-align: justify;
    padding: 1rem;
}

.card {
    padding-right: 1rem;
}

.card-container {
    padding: 5px 10px;
    background-color: white;
}
