@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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");

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&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");

.inter-200 {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

.inter-400 {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

.inter-700 {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.open-sans-700 {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}
.open-sans-400 {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.open-sans-200 {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.head-title {
    color: #1e3264;
    font-size: 32px;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.head-title-white {
    color: white;
    font-size: 32px;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.card {
    border: none;
}

.card-custom {
    width: fit-content;
    padding: 16px;
}

.card-img-custom {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.canvas-img-card {
    width: 460px;
    height: 300px;
}

.card-body-custom {
    padding: 0;
}

.form-text-custom {
    color: white;
}

.card-text-custom,
.card-title-custom {
    max-width: 460px;
}

.card-title-custom {
    margin: 16px 0;
    font-size: 24px;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: #1e3264;
}

.card-text-custom {
    font-size: 24px;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #1e3264;
}

.form-control-custom {
    padding: 16px;
}

.form-label-custom {
    color: white;
    font-size: 20px;
}

.form-control-section {
    padding: 7px;
}

.btn-primary-custom {
    background-color: #a30d04;
    border: none;
}

.btn-primary-custom:hover {
    background-color: #a30d04;
    border: none;
}

.required:after {
    content: "*";
    color: white;
}

.trumbowyg-editor-box {
    background-color: white;
}

/* Loader container for positioning and backdrop */
.loader-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it appears above all other elements */
}

/* Existing custom loader styles */
.custom-loader {
    width: 50px;
    height: 50px;
    display: grid;
    color: #a30d04;
    background: radial-gradient(
        farthest-side,
        currentColor calc(100% - 6px),
        #0000 calc(100% - 5px) 0
    );
    -webkit-mask: radial-gradient(
        farthest-side,
        #0000 calc(100% - 13px),
        #000 calc(100% - 12px)
    );
    border-radius: 50%;
    animation: s9 2s infinite linear;
}

.custom-loader::before,
.custom-loader::after {
    content: "";
    grid-area: 1/1;
    background: linear-gradient(currentColor 0 0) center,
        linear-gradient(currentColor 0 0) center;
    background-size: 100% 10px, 10px 100%;
    background-repeat: no-repeat;
}

.custom-loader::after {
    transform: rotate(45deg);
}

@keyframes s9 {
    100% {
        transform: rotate(1turn);
    }
}

@media (max-width: 1000px) {
    .canvas-img-card {
        width: 350px;
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .canvas-img-card {
        width: 250px;
        height: 150px;
    }
}

@media (max-width: 450px) {
    .card-title-custom {
        font-size: 16px;
    }

    .card-text-custom {
        font-size: 16px;
    }
}
