@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;

body {
    font-family: "Syne", sans-serif;
}
.hero {
    position: relative;
    background-image: url("../images/heroBg.png");
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center center, center center;
}
.cardbg {
    position: relative;
    background-image: url("../images/cardBg.png");
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center center, center center;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.65;
}

ul li.active {
    color: #fb8e3a;
    font-weight: 600;
}
ul li.active svg path {
    fill: #fb8e3a;
}

nav ul li .subLinks {
    transform: translateY(-30px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
}

nav ul li:hover .subLinks {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.steps .step span {
    color: #9a9c9f;
    border-color: #9a9c9f;
}
.steps .step.active span {
    color: #012912;
    border-color: #012912;
}

.steps .arrowsvg .arrow {
    fill: #9a9c9f;
}
.steps .arrowsvg.active .arrow {
    fill: #012912;
}
.loadingIconWhite {
    border: 3px solid #fff;
    border-top: 3px solid transparent;
    animation: rotate 1.5s infinite linear;
}
.spin {
    animation: spin 1s linear infinite;
}

.stepper_indicators div.active {
    background-color: #fb8e3a;
}

::backdrop {
    background: rgba(0, 0, 0, 0.681);
}
.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

#loginInBtn.disabled,
#supportBtn.disabled,
#next_btn.disabled,
#submit_btn.disabled,
#downloadPolicy.disabled,
#saveClaimBtn.disabled,
#getUserDetailsBtn.disabled {
    background-color: #fb8e3a80;
}

.sort-btn.active {
    color: #fff;
    background-color: #fb8e3a;
    border-color: #fb8e3a;
}

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

.product__cards img {
    transition: scale 100ms linear;
}

.product__cards:hover img {
    scale: 1.1;
}

#productDescription p {
    font-size: 14px;
    line-height: 24px;
    color: #939393;
}
#productDescription ul {
    display: flex;
    flex-direction: column;
    padding-left: 12px;
    list-style: disc;
}
#productDescription ul li {
    font-size: 12px;
    color: #939393;
}

.hide {
    display: none !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;
}

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

.honeypot {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

/* datatabkes overiding */
#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,
#ticketsTable_wrapper .dt-layout-row:first-of-type,
#clientsTable_wrapper .dt-layout-row:first-of-type,
#usersTable_wrapper .dt-layout-row:first-of-type,
#inventoryTable_wrapper .dt-layout-row:first-of-type {
    display: none !important;
}

.dt-paging nav {
    display: flex !important;
    align-items: center !important;
}

#breathingLogo img {
    animation: breathe 1.5s alternate infinite;
}

.truncate-2-lines {
    display: -webkit-box; /* For WebKit-based browsers like Safari and older Chrome */
    display: flex; /* Recommended for future-proofing */
    -webkit-line-clamp: 2;
    line-clamp: 2; /* This is the standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#claimsModal svg {
    rotate: 90deg;
}

@keyframes breathe {
    0%,
    100% {
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.1);
    }
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 500px) {
    .hide {
        display: none !important;
    }
}
