@font-face {
    font-family: "Figtree";
    src: url("./fonts/Figtree-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Figtree";
    src: url("./fonts/Figtree-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Figtree";
    src: url("./fonts/Figtree-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Figtree";
    src: url("./fonts/Figtree-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Figtree";
    src: url("./fonts/Figtree-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

.primary-plus-btn {
    font-size: 16px;
    font-weight: 400;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #ffffff !important;
    background-color: #e61e26 !important;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.0509803922);
    border-radius: 8px;
    padding: 8px 18px;
    border: none;
}

.status-draft {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #475467;
    background-color: #f6f6f6;
    border-radius: 100px;
    padding: 6px 24px;
}

.status-published {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #027a48;
    background-color: #ecfdf3;
    border-radius: 100px;
    padding: 6px 24px;
}

.status-trash {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #a3151b;
    background-color: #fde9e9;
    border-radius: 100px;
    padding: 6px 24px;
}

button.back-btn,
a.back-btn {
    font-size: 18px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 28px;
    letter-spacing: -0.01em;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-default {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #007caa;
    background-color: #e6f7fd;
    border-radius: 100px;
    padding: 6px 24px;
}

.blog-container {
    background: #f9fafb;
    height: 100vh;
}

.blog-container .blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-container .blog-header h5 {
    font-size: 24px;
    font-weight: 600;
    font-family: "Figtree", serif;
    line-height: 28px;
    letter-spacing: 0.005em;
    color: #1d2939;
}

.blog-container .blog-header p {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #475467;
}

@media (max-width: 767px) {
    .blog-container .blog-header {
        flex-wrap: wrap;
        gap: 8px;
    }
}

.blog-container .outline-btn-filter {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #344054 !important;
    background-color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dbdee5;
    border-radius: 6px;
    padding: 7px 16px;
    appearance: none !important;
}

.blog-container .search-field {
    border: 1px solid #d0d5dd;
    background: #ffffff;
    border-radius: 6px;
    padding: 7px 14px 7px 40px;
    width: 50%;
}

.blog-container .search-field:focus {
    box-shadow: none;
}

@media (min-width: 981px) {
    .blog-container .search-field {
        width: 30%;
    }

    .blog-container .blog-listing .blog-card {
        width: 25%;
    }
}

.blog-container .blog-listing {
    background-color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 1rem;
    border: 1px solid #eaecf0;
}

@media (max-width: 767px) {
    .blog-container .blog-listing {
        flex-wrap: wrap;
        gap: 12px;
    }

    .blog-container .blog-listing .recommend-title {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .blog-container .blog-listing .recommend-title h5 {
        font-size: 18px;
        line-height: normal;
    }

    .blog-container .blog-listing .recommend-wrapper {
        align-items: flex-start !important;
    }

    .sort-filter-buttons {
        width: 100%;
    }

    .sort-filter-buttons .outline-btn-filter {
        width: calc(50% - 12px);
        white-space: nowrap;
        font-size: 12px;
        line-height: normal;
    }

    .primary-plus-btn {
        font-size: 12px;
        line-height: normal;
        padding: 4px 12px;
    }

    .primary-plus-btn svg {
        margin-right: 0 !important;
    }

    .blog-form-container .form-group {
        max-width: 400px;
        width: 100%;
    }

    .blog-inner-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0;
    }

    .new-blog-container h4 {
        font-size: 20px !important;
    }
}

.blog-container .blog-listing .user-img {
    width: 68px;
}

.blog-container .blog-listing h6 {
    font-size: 14px;
    font-weight: 600;
    color: #344054;
    text-transform: capitalize;
}

.blog-container .blog-listing p {
    font-size: 12px;
    color: #475467;
    font-weight: 400;
}

.blog-container .blog-listing .date-box {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #475467;
}

.blog-container .blog-listing .edit-delete-btn button {
    border: 1px solid #dbdee5;
    box-shadow: 0px 1px 3px 0px rgba(16, 24, 40, 0.0705882353);
    border-radius: 6px;
    padding: 10px 16px;
    background-color: #ffffff;
}

.blog-container .pagination {
    justify-content: space-between;
    margin-left: 0;
    border-top: 1px solid #eaecf0;
}

.blog-container .pagination .number-counter a {
    font-size: 16px;
    font-weight: 600;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #fff;
    background: #eaecf0;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-container .pagination .next-previous a {
    background-color: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #475467;
}

.blog-listing.recommendation-list h5 {
    font-size: 24px;
    font-weight: 600;
    font-family: "Figtree", serif;
    line-height: 30px;
    letter-spacing: 0.005em;
}

.blog-listing.recommendation-list p {
    font-size: 18px;
}

.blog-listing.recommendation-detail p {
    font-size: 14px;
}

.blog-listing.recommendation-detail ul li {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #475467;
}

.new-blog-container {
    background-color: #f9fafb;
    padding-bottom: 80px;
    height: calc(100% - 67px);
}

@media (min-width: 1025px) {
    .new-blog-container .blog-inner-container {
        width: 50%;
    }
}

.new-blog-container h4 {
    font-size: 24px;
    font-weight: 600;
    font-family: "Figtree", serif;
    line-height: 30px;
    letter-spacing: 0.005em;
    color: #1d2939;
}

.blog-form, #testimonials {
    border: 1px solid #d0d5dd;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
}

.blog-form h6 {
    font-size: 18px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 28px;
    letter-spacing: -0.01em;
    color: #1d2939;
    text-transform: capitalize;
}

.blog-form p {
    font-size: 14px;
    font-weight: 400;
    font-family: "Figtree", serif;
    line-height: 18px;
    letter-spacing: -0.01em;
    color: #475467;
}

.blog-form .form-label {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #101828;
    margin-bottom: 0;
}

.blog-form .form-control:focus {
    box-shadow: none !important;
    border-color: #d0d5dd;
}

.blog-form .form-control::placeholder {
    font-size: 16px;
    font-weight: 400;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #707e92;
}

.upload-section {
    border: 2px dashed #d0d5dd;
    text-align: center;
    padding: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.0705882353);
}

.upload-section img {
    width: 50px;
    height: 50px;
}

.upload-section input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.action-button {
    border-top: 1px solid #d0d5dd;
    position: fixed;
    background-color: #fff;
    width: 100%;
    bottom: 0px;
    padding-bottom: 20px;
}

.action-button button {
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #475467;
}

.action-button .publish-btn.after::after {
    content: "|";
    border: none;
    position: absolute;
    right: 45px;
}

.editor-toolbar {
    border: 1px solid #eaecf0;
    border-radius: 4px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #fff !important;
}

.editor-toolbar button:hover {
    background-color: #f8f9fa;
    outline: none !important;
}

.editor-container {
    border: 1px solid #ccc;
    min-height: 150px;
    padding: 10px;
    border-radius: 4px;
    background-color: #fff;
    height: 250px;
    overflow-x: hidden;
    overflow-y: visible;
}

.editor-container:focus {
    outline: none;
}

.checkbox-container label {
    font-size: 16px;
    font-weight: 400;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #101828;
}

.medium-modal {
    max-width: 400px;
}

.gender-group button {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #344054;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #eaecf0;
    background: #ffffff !important;
    box-shadow: 0px 0px 2px 0px rgba(16, 24, 40, 0.0509803922);
    width: 50%;
}

.gender-group button:hover {
    border: 1px solid #eaecf0;
    color: #344054;
}

.gender-group button.active {
    color: #1d2939 !important;
    border: 1px solid #1d2939 !important;
}

.form-section {
    border: 1px solid #dbdfe5;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-section .form-section-title {
    font-size: 18px;
    font-weight: 600;
    font-family: "Figtree", serif;
    line-height: 22px;
    letter-spacing: 0.005em;
    color: #1d2939;
}

.form-section .profile-form {
    border: 1px solid #dbdfe5;
    margin-top: 20px;
    padding: 10px;
    background: #fcfcfd;
    border-radius: 6px;
}

.form-section .profile-form .form-label {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #101828;
}

.form-section .profile-form .form-control {
    border: 1px solid #c7cfd9;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.0705882353);
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 12px;
}

.form-section .profile-form .form-control:focus {
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.0705882353);
}

.form-section .profile-form .form-control::placeholder {
    font-size: 16px;
    font-weight: 400;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #2c3a4d;
}

.form-section .profile-form .form-select {
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.0509803922);
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 8px 12px;
}

.form-section .profile-form .form-select::placeholder {
    font-size: 16px;
    font-weight: 400;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #2c3a4d;
}

.form-section .profile-form .cancel-btn {
    font-size: 16px;
    font-weight: 400;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    background-color: #ffffff;
    color: #475467;
    border: 1px solid #475467;
    border-radius: 8px;
    padding: 8px 24px;
}

.form-section .profile-form .update-email {
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.0509803922);
    border-radius: 8px;
    background-color: #e61e26;
    font-size: 16px;
    font-weight: 400;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    padding: 8px 24px;
    border: none;
    color: #ffffff;
}

.form-section .profile-form .update-email:disabled {
    background: #d0d5dd;
}

.invalid-feedback {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Toast CSS */
.toast-container .toast {
    background-color: #fdf7f7;
    border: 1px solid #e61e26;
    padding: 16px;
    border-radius: 12px;
    box-shadow: none;
    width: 480px;
}

.toast-container .toast .toast-body {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 18px;
    letter-spacing: -0.01em;
    color: #d11b23;
}

.toast-container .toast .btn-close {
    filter: invert(32%) sepia(90%) saturate(4275%) hue-rotate(0deg) brightness(99%) contrast(98%);
    opacity: 1;
}

.success-toast .toast {
    background-color: #fbfffa;
    border: 1px solid #6ce9a6;
    padding: 16px;
    border-radius: 12px;
    box-shadow: none;
    width: 480px;
}

.success-toast .toast .toast-body {
    font-size: 14px;
    line-height: 1.5;
    color: #027a48;
}

.success-toast .toast .btn-close {
    filter: invert(20%) sepia(100%) saturate(2000%) hue-rotate(150deg) brightness(95%) contrast(90%);
    opacity: 1;
}

.primary-outline-btn {
    font-size: 16px;
    font-weight: 600;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #d11b23;
    border: 1px solid #d11b23;
    border-radius: 8px;
    padding: 7px 16px;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.0509803922);
    background-color: #ffffff;
}

.primary-outline-btn:hover {
    background-color: #e61e26;
    color: #ffffff;
}

.add-family-modal {
    border-radius: 8px;
}

.add-family-modal .modal-content {
    background-color: #fcfcfd;
    border: none;
}

.add-family-modal .modal-header p {
    font-size: 14px;
    font-weight: 400;
}

.add-family-modal .modal-body {
    max-height: 700px;
    overflow-x: hidden;
    overflow-y: visible;
}

.add-family-modal .modal-body p {
    font-size: 14px;
    font-weight: 400;
}

.report-listing-container .report-title {
    color: #475467;
    font-size: 12px;
    font-weight: 500;
}

.report-listing-container .report-listing {
    border: 1px solid #eaecf0;
    background: #fcfcfd;
    border-radius: 12px;
    padding-block: 16px;
    margin-top: 20px;
}

.report-listing-container .report-listing .member-info h6 {
    font-size: 14px;
    font-weight: 500;
    color: #344054;
}

.report-listing-container .report-listing .member-info span {
    font-size: 12px;
    font-weight: 400;
    color: #475467;
}

.report-listing-container .report-listing .report-data {
    font-size: 14px;
    font-weight: 400;
    color: #344054;
    line-height: 26px;
}

.kit-recommendation-card {
    background: #fcfcfd;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    padding: 12px 16px;
    position: relative;
}

.kit-recommendation-card .icon-container {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kit-recommendation-card h6 {
    font-size: 14px;
    font-weight: 500;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #262f40;
    text-align: start;
}

.kit-recommendation-card .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.kit-recommendation-card .recommendation-text {
    font-size: 14px;
    font-weight: 400;
    color: #475467;
}

.kit-recommendation-card .reorder-link {
    color: #009ed9;
    text-decoration: none;
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
    display: flex;
    align-items: end;
    gap: 8px;
}

.kit-recommendation-card .reorder-link:hover {
    text-decoration: underline;
}

.kit-recommendation-card .reorder-link svg {
    margin-top: 1px;
}

.kit-recommendation-card .timestamp {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 12px;
    font-weight: 400;
    color: #475467;
}

.kit-recommendation-card .timestamp .dot {
    margin: 0 4px;
}

.max-z-index {
    z-index: 9999;
}

.recommendation-list {
    cursor: pointer;
}

.bg-gray {
    background-color: #f9fafb;
}

.empty-state {
    padding: 48px 0px 0px 24px;
}

.empty-state img {
    max-width: 200px;
    height: auto;
}

.empty-state h6 {
    font-size: 18px;
    font-weight: 400;
    font-family: "Figtree", serif;
    line-height: 28px;
    letter-spacing: -0.01em;
    color: #667085;
    text-transform: capitalize;
}

.empty-state p {
    font-size: 12px;
    font-weight: 400;
    color: #667085;
    line-height: 17px;
    padding-bottom: 24px;
}

.empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.empty-state .btn svg {
    width: 20px;
    height: 20px;
}

.empty-state .learn-more-btn {
    background-color: transparent;
    border: 0;
    font-size: 16px;
    font-weight: 600;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #667085;
}

.learn-more-btn-global .learn-more-btn {
    background-color: transparent;
    border: 0;
    font-size: 16px;
    font-weight: 600;
    font-family: "Figtree", serif;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: #667085;
    position: fixed;
    bottom: 10%;
    right: 5%;
}

.empty-learn-about {
    min-height: calc(100vh - 200px);
}

.status-registered,
.status-unregistered {
    color: #475467 !important;
    background-color: rgba(0, 0, 0, 0.175) !important;
    cursor: pointer !important;
}

.status-received,
.status-processing,
.status-qns {
    color: #a86d00 !important;
    background-color: #ffefd5 !important;
    cursor: pointer !important;
}

.status-completed,
.status-published {
    color: #fff !important;
    background-color: green !important;
    cursor: pointer !important;
}

.bg-mark-unread {
    background-color: #f1fafe !important;
    border: 1px solid #009ed9 !important;
}

.bg-mark-read {
    background: #fcfcfd !important;
    border: 1px solid #eaecf0 !important;
}

.hover-btn:hover {
    background-color: #e61e26 !important;
}

.serach-width {
    width: 75%;
}

@media screen and (max-width: 768px) {
    .serach-width {
        width: 100%;
    }

    .kit-recommendation-card .timestamp {
        position: static;
    }

    .blog-form {
        padding: 12px;
    }

    .success-toast .toast {
        width: 100%;
    }

    .kit-recommendation-card .timestamp.timestamp-mobile {
        position: relative;
        top: 0;
        right: 0;
        text-align: left;
        font-size: 12px;
        font-weight: 400;
        line-height: normal;
        margin-top: 8px;
    }

    .kit-recommendation-card h6 {
        font-size: 12px;
        font-weight: 500;
        line-height: normal;
        text-align: start;
        margin-bottom: 0 !important;
    }

    .kit-recommendation-card .recommendation-text {
        font-size: 12px;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 0 !important;
        text-align: left;
    }

    .kit-recommendation-card .reorder-link {
        font-size: 12px;
        font-weight: 500;
        line-height: normal;
        margin-bottom: 0 !important;
    }

    .status-published {
        font-size: 12px;
        line-height: normal;
        padding: 4px 12px;
    }

    .blog-listing.recommendation-detail .recommend-wrapper {
        flex-direction: column !important;
        gap: 10px;
    }
}

@media (max-width: 1024px) {
    .blog-form-container {
        flex-wrap: wrap;
    }

    .add-family-modal {
        max-width: 700px;
    }
}

.hover-btn:hover {
    background-color: #e61e26 !important;
}

.dismiss-notification {
    margin: -23px;
    background-color: #f4e9e9;
    padding: 7px;
    font-size: 9px;
}

.gender-radio .btn-check+.btn {
    background-color: white !important;
    color: black !important;
    border: 1px solid black !important;
}

.gender-radio .btn-check:checked+.btn {
    background-color: #E61E26 !important;
    color: white !important;
    border: 1px solid #E61E26 !important;
}

.btn-check:checked:focus-visible+.btn {
    box-shadow: var(--bs-btn-focus-box-shadow);
}

input::placeholder {
    color: lightgray !important;
}

.icon-input-field.is-invalid {
    padding-right: 40px !important;
}

.video-thumbnail-wrapper {
    position: relative;
    cursor: pointer;
}

.play-button-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.play-button-overlay img {
    transition: transform 0.2s ease;
}

.play-button-overlay img:hover {
    transform: scale(1.1);
}