@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;

body {
    font-family: "Lexend", sans-serif;
}

.hero {
    background-image: url("../images/heroBg.png"), linear-gradient(to right top, #124634, #123628, #10261d, #0b1812, #000201);
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center center, center center;
}
.gradient-bg {
    background-image: url("../images/gradientBg.png"), linear-gradient(to right top, #124634, #123628, #10261d, #0b1812, #000201);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.authBg {
    background-image: url("../images/authBg.png"), linear-gradient(to right bottom, #f9fcff, #c4e3f1, #86ccd7, #45b5ae, #0b9c78);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

ul li.active {
    color: #0b9c78;
    font-weight: 600;
}
.star {
    height: 50px !important;
    width: 50px !important;
}

/* dialog {
    position: relative !important;
} */
.bg-gradient {
    background-image: linear-gradient(to right top, #124634, #123628, #10261d, #0b1812, #000201);
}

.accContainer {
    transition: background-color 0.5s ease-in-out;
}
.accContainer.active {
    background-color: #f1fffb;
    border-bottom: 1px solid #0b9c78;
}
.accContainer.active h1 {
    font-weight: 600;
}
.accContainer.active svg {
    transform: translateY(-50%) rotate(180deg);
}

.accText,
.servicesText {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.accContainer.active .accText {
    max-height: 300px;
}

.servicesContainer.active .servicesText {
    max-height: 800px;
}
.servicesContainer.active button {
    background: #2a3f59;
    color: #fff;
    font-weight: 500;
}
.servicesContainer.active svg path {
    stroke: #fff;
}

.servicesContainer.active svg {
    transform: rotate(180deg);
}

.sort-btns .active {
    color: #fff;
    background-color: #0b9c78;
    border-color: #0b9c78;
}

.spin {
    animation: spin 1s linear infinite;
}

.product_logo_img {
    height: 35px !important;
    width: 40px !important;
}

::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.stepper_indicators div.active {
    background-color: #0b9c78 !important;
}

.loadingIconWhite {
    border: 3px solid #fff;
    border-top: 3px solid transparent;
    animation: rotate 1.5s infinite linear;
}

input.invalid,
select.invalid,
textarea.invalid {
    border-color: red;
    outline: none;
}
span.invalid {
    color: red;
}

.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

button.disabled:not(#cancel_btn) {
    background-color: #0b9c7881;
}

.hide {
    display: none !important;
}
.hide-menu {
    display: none !important;
}

.product__image__container {
    height: 350px !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

#claimsModal svg {
    rotate: 90deg;
}
#downloadDocSvg {
    rotate: 90deg;
}

.show-panel {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  max-width: 90%;
} */

/* datatabkes overide */
#policiesTable thead tr th,
#claimsTable thead tr th {
    text-align: left !important;
}
#policiesTable tbody tr td,
#claimsTable tbody tr td {
    text-align: left !important;
}
#policiesTable_wrapper .dt-layout-row:first-of-type,
#claimsTable_wrapper .dt-layout-row:first-of-type {
    display: none !important;
}

.dt-paging nav {
    display: flex !important;
    align-items: center !important;
}
.dt-info {
    font-size: 14px;
    font-weight: 300;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
