@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

/*
font-family: "Poppins", sans-serif;
*/

body {
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: #282828;
    font-family: "Poppins", sans-serif;
    background: #F1F1F1;
}

a, button {
    outline: none !important;
    text-decoration: none;
    box-shadow: none;
    transition: all .4s ease-in-out;
}

a:hover, a:focus, select:focus, button:focus, .btn:focus, btn.focus {
    outline: none;
    text-decoration: none;
    box-shadow: none;
}

* {
    margin: 0;
    padding: 0;
}

img {
    border: none;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

li {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    outline: none !important;
}

input, select, textarea, button {
    outline: none !important;
    box-shadow: none;
}

input, textarea, select { /*-moz-appearance: none; -webkit-appearance: none;*/
    box-shadow: none !important;
}

.container-diamond {
    width: 97%;
    margin: 0 auto;
    padding: 0;
}

/*--------------------
	GLOBAL END HERE	
--------------------*/

/*=================================
 		SECTION START HERE 
=================================*/
section {
    padding: 0;
    margin: 0;
}

.diamond_sec {
    margin: 0;
    padding: 20px 0;
}

.diamond_sec .nav-tabs {
    margin: 0;
    padding: 0;
    border: none;
    filter: drop-shadow(0 0 9px rgba(0, 0, 0, 0.11));
}

.diamond_sec .nav-tabs .nav-link {
    margin: 0 -12px 0 0;
    padding: 11px 36px 10px;
    border: none;
    background: #fff;
    color: #45494D;
    box-shadow: none;
    position: relative;
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    border-radius: 0;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.diamond_sec .nav-tabs .nav-link:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #F7A051 0%, #EF8142 100%);
    z-index: -1;
    opacity: 0;
    transition: all .3s ease-in-out;
}

.diamond_sec .nav-tabs .nav-link:nth-child(2):before {
    background: linear-gradient(90deg, #00BFD2 0%, #01D2AB 100%);
}

.diamond_sec .nav-tabs .nav-link:nth-child(3):before {
    background: linear-gradient(90deg, #6EA4E3 0%, #8E71CD 100%);
}

.diamond_sec .nav-tabs .nav-link.active {
    color: #fff;
    position: relative;
    z-index: 55;
}

.diamond_sec .nav-tabs .nav-link.active::before {
    opacity: 1;
}

.diamond_sec .tab-content {
    margin: 0;
    padding: 55px 21px 10px;
    background: #fff;
    border: 1px solid #DEDEDE;
    border-radius: 0 0 10px 10px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.diamond_sec .grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -13px;
}

.diamond_sec .grid .column {
    flex: 0 0 20%;
    padding: 0 13px;
}

.diamond_sec .collapse_card {
    background: #fff;
    border: 1px solid #DDDDDD;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
    border-radius: 7px;
    margin-bottom: 27px;
}

.diamond_sec .collapse_card > button {
    width: 100%;
    margin: 0;
    padding: 9px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #1A1A1A;
    display: flex;
    border: none;
    background: #fff linear-gradient(to bottom, #FFFFFF 0%, rgba(233, 238, 242, 0.61) 100%);
    border-radius: 7px 7px 0 0;
    align-items: center;
}

.diamond_sec .collapse_card > button.collapsed {
    border-radius: 7px;
}

.diamond_sec .collapse_card > button::after {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-left: auto;
    content: "";
    background: url(../images/CaretDown.png) no-repeat center center;
    transition: all .3s ease-in-out;
}

.diamond_sec .collapse_card > button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.diamond_sec .collapse_card .card-body {
    padding: 13px 14px 11px 20px;
    border-top: 1px solid #DDDDDD;
}

.diamond_sec .collapse_card .select_info {
    display: block;
    text-align: right;
    font-size: 14px;
    color: #45494D;
    margin-bottom: 14px;
}

.fancy_check {
    margin: 0 0 13px;
    padding: 0;
    width: 100%;
    display: block;
}

.fancy_check .cbx {
    font-size: 15px;
    color: #45494D;
    line-height: normal;
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.fancy_check .cbx span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}

.fancy_check .cbx span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid #898F94;
    transition: all 0.2s ease;
    top: 3px;
}

.fancy_check .cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.fancy_check .cbx span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #FE6C4E;
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
}

.fancy_check .cbx:hover span:first-child {
    border-color: #FE6C4E;
}

.fancy_check .inp-cbx:checked + .cbx span:first-child {
    background: #FE6C4E;
    border-color: #FE6C4E;
    animation: wave 0.4s ease;
}

.fancy_check .inp-cbx:checked + .cbx span:first-child svg {
    stroke-dashoffset: 0;
}

.fancy_check .inp-cbx:checked + .cbx span:first-child:before {
    transform: scale(3.5);
    opacity: 0;
    transition: all 0.6s ease;
}

.fancy_check .inp-cbx:checked + .cbx span:last-child {
    color: #FE6C4E;
}

#Gemstones-tab-pane .fancy_check .cbx span:first-child:before {
    background: #8383D5;
}

#Gemstones-tab-pane .fancy_check .cbx:hover span:first-child {
    border-color: #8383D5;
}

#Gemstones-tab-pane .fancy_check .inp-cbx:checked + .cbx span:first-child {
    background: #8383D5;
    border-color: #8383D5;
}

#Gemstones-tab-pane .fancy_check .inp-cbx:checked + .cbx span:last-child {
    color: #8383D5;
}

#Lab-tab-pane .fancy_check .cbx span:first-child:before {
    background: #01C9BC;
}

#Lab-tab-pane .fancy_check .cbx:hover span:first-child {
    border-color: #01C9BC;
}

#Lab-tab-pane .fancy_check .inp-cbx:checked + .cbx span:first-child {
    background: #01C9BC;
    border-color: #01C9BC;
}

#Lab-tab-pane .fancy_check .inp-cbx:checked + .cbx span:last-child {
    color: #01C9BC;
}

@keyframes wave {
    50% {
        transform: scale(0.9);
    }
}


.setting_btn {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #DDDDDD;
    position: absolute;
    right: 20px;
    top: 10px;
    background: #fff linear-gradient(to bottom, #FFFFFF 0%, rgba(233, 238, 242, 0.61) 100%);
    border-radius: 50%;
}

.setting-offcanvas.offcanvas {
    width: 100%;
    max-width: 470px;
    position: absolute;
    border-color: #DEDEDE;
    box-shadow: -12px 0 20px rgba(0, 0, 0, 0.06);
}

.setting-offcanvas .btn-close {
    position: absolute;
    right: 25px;
    top: 15px;
}

.calculate_data {
    margin: 0;
    padding: 22px 29px 13px;
    background: linear-gradient(90deg, #f7a15115 0%, #ef814215 100%);
}

.setting-offcanvas h3 {
    margin: 0 0 9px;
    padding: 0;
    font-size: 20px;
    color: #1A1A1A;
    font-weight: 500;
}

.form_block {
    margin: 0 0 17px;
    padding: 0;
}

.form_block label {
    font-size: 15px;
    color: #45494D;
    margin: 0 0 4px;
    padding: 0;
    display: block;
}

.form_block .form-control {
    width: 100%;
    height: 40px;
    border-color: #D7D7D7;
    font-size: 15px;
    color: #45494D;
    border-radius: 7px;
    padding: 0 20px;
    box-shadow: none;
}

.form_block .form-control:focus {
    border-color: #FE6C4E;
}

.form-check .form-check-label {
    color: #45494D;
    font-size: 15px;
    margin-bottom: 7px;
}

#Diamonds-tab-pane .form-check .form-check-input:checked {
    background-color: #fff;
    border-color: #FE6C4E;
}

#Diamonds-tab-pane .form-check .form-check-input:checked[type="radio"] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-3 -3 6 6'%3e%3ccircle r='2' fill='%23FE6C4E'/%3e%3c/svg%3e");
}

#Diamonds-tab-pane .form-check .form-check-input:checked ~ .form-check-label {
    color: #FE6C4E;
}

.add_btn {
    height: 40px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 7px;
    background: linear-gradient(90deg, #F7A051 0%, #EF8142 40%, #EF8142 60%, #F7A051 100%);
    border: none;
    color: #fff;
    background-size: 200% 100% !important;
}

.add_btn:hover {
    background-size: 100% 100% !important;
}

.setting-offcanvas .offcanvas-body {
    padding: 23px 30px 30px;
}

.data_table {
    margin: 0;
    padding: 0;
    width: 100%;
    border: 1px solid #DDDDDD;
    border-radius: 7px;
}

.data_table thead th {
    padding: 9px 10px;
    font-size: 16px;
    font-weight: 500;
    color: #1A1A1A;
    background: #fff linear-gradient(to bottom, #FFFFFF 0%, rgba(233, 238, 242, 0.61) 100%);
    border-color: #DDDDDD;
    vertical-align: middle;
}

.data_table thead th:first-child {
    padding-left: 20px;
    border-radius: 7px 0 0 0;
}

.data_table thead th:last-child {
    border-radius: 0 7px 0 0;
}

.data_table tbody tr:hover td {
    background: #f7f7f7;
}

.data_table tbody td {
    padding: 10px 10px;
    font-size: 14px;
    color: #45494D;
    border-color: #DDDDDD;
    vertical-align: middle;
}

.data_table tbody td:first-child {
    padding-left: 20px;
}

.rest_ic {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FDE9E9;
    border-radius: 5px;
}

.rest_ic:hover {
    background: #ED1F24;
}

.rest_ic img {
    transition: all .4s ease-in-out;
}

.rest_ic:hover img {
    filter: brightness(0) invert(1);
}

.data_table > tbody > tr:hover > * {
    --bs-table-bg-state: #F7F9FB;
}

#Gemstones-tab-pane .calculate_data {
    background: linear-gradient(90deg, #6EA4E315 0%, #8E71CD15 100%);
}

#Gemstones-tab-pane .form_block .form-control:focus {
    border-color: #8E71CD;
}

#Gemstones-tab-pane .form-check .form-check-input:checked {
    border-color: #8E71CD;
}

#Gemstones-tab-pane .form-check .form-check-input:checked[type="radio"] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-3 -3 6 6'%3e%3ccircle r='2' fill='%2301C9BC'/%3e%3c/svg%3e");
}

#Gemstones-tab-pane .form-check .form-check-input:checked ~ .form-check-label {
    color: #8E71CD;
}

#Gemstones-tab-pane .add_btn {
    background: linear-gradient(90deg, #6EA4E3 0%, #8E71CD 40%, #8E71CD 60%, #6EA4E3 100%);
}

#Lab-tab-pane .calculate_data {
    background: linear-gradient(90deg, #00BFD215 0%, #01D2AB15 100%);
}

#Lab-tab-pane .form_block .form-control:focus {
    border-color: #01C9BC;
}

#Lab-tab-pane .form-check .form-check-input:checked {
    border-color: #01C9BC;
}

#Lab-tab-pane .form-check .form-check-input:checked[type="radio"] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-3 -3 6 6'%3e%3ccircle r='2' fill='%238E71CD'/%3e%3c/svg%3e");
}

#Lab-tab-pane .form-check .form-check-input:checked ~ .form-check-label {
    color: #01C9BC;
}

#Lab-tab-pane .add_btn {
    background: linear-gradient(90deg, #00BFD2 0%, #01D2AB 40%, #01D2AB 60%, #00BFD2 100%);;
}
.error {
    color: red;
}