@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
* {
   /* resetting */
   box-sizing: border-box;
   padding: 0;
   margin: 0;
}

body {
   font-family: 'DM Sans', serif !important;
   font-optical-sizing: auto !important;
   font-style: normal !important;

   /* this has been added for the easiness for testing and see the UI - we're removing this when we go live */
   background-color: #9bb6ea38;
}

:root {
   --black-text-color: #101828;
   --grey-text-color: #475467;
   --white-color: #ffffff;
}



ul,
ol {
   list-style: none;
}

a {
   text-decoration: none !important;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
   margin: 0 !important;
}
.trp-main-wrapper .trp-sidebar ul li.active {
   box-shadow: 0px 1px 2px 0px #1018280d;
   background: #344054;
   color: var(--white-color);
}

/* Scrollbar Styles */

/* width */
.trp-container::-webkit-scrollbar {
   height: 5px;
   width: 5px;
}
/* Track */
.trp-container::-webkit-scrollbar-track {
   background: #e4e7ec;
   border-radius: 16px;
}

/* Handle */
.trp-container::-webkit-scrollbar-thumb {
   background: #1d2939;
   border-radius: 16px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
   background: #555;
}


/* TRP Forms Styles  */

form.trp-form {
   height: 100%;
   gap: 40px;
}

.trp-form .trp-form-fields {
   gap: 16px;
}
.trp-form .trp-form-section .form-section-title {
   margin-bottom: 6px !important;
   font-weight: 700;
   font-size: 14px;
   line-height: 18px;
   color: #292d35;
}
.trp-form .trp-form-fields label {
   display: flex;
   flex-direction: column;
   gap: 4px;
   font-weight: 400;
   font-size: 16px;
   line-height: 120%;
   letter-spacing: 0%;
   color: #475467;
}

.trp-form .trp-form-fields label input,
.trp-form .trp-form-fields label textarea,
.trp-form .trp-form-fields label select {
   border-radius: 8px;
   padding-top: 10px;
   padding-right: 12px;
   padding-bottom: 10px;
   padding-left: 12px;
   border: 1px solid #d0d5dd;
   box-shadow: 0px 1px 2px 0px #1018280d;
   color: #1d2939;
   font-weight: 400;
   font-size: 16px;
   line-height: 24px;
   outline: none;
}

.trp-form .trp-form-fields label select {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
   background-repeat: no-repeat;
   background-position: calc(100% - 10px) 50%; /* Adjust this value to move the arrow left */
   padding-right: 40px; /* Give space for the arrow */
}

.trp-form .trp-form-fields label input:active,
.trp-form .trp-form-fields label input:focus,
.trp-form .trp-form-fields label textarea:active,
.trp-form .trp-form-fields label textarea:focus,
.trp-form .trp-form-fields label select:active .trp-form .trp-form-fields label select:focus {
   outline: none;
   box-shadow: none;
}

.switch-container {
   display: flex;
   align-items: center;
   gap: 16px;
   cursor: pointer;
}

.switch-container .label-text {
   font-weight: 400;
   font-size: 16px;
   line-height: 120%;
   letter-spacing: 0%;
   color: #475467;
}

.switch-container .switch {
   position: relative;
   display: inline-block;
   width: 48px;
   height: 24px;
}

.switch-container .switch input {
   opacity: 0;
   width: 0;
   height: 0;
}

.switch-container .switch .slider {
   position: absolute;
   cursor: pointer;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: #e2e8f0;
   transition: 0.3s;
   border-radius: 24px;
}

.switch-container .switch .slider:before {
   position: absolute;
   content: '';
   height: 18px;
   width: 18px;
   left: 3px;
   bottom: 3px;
   background-color: #2c3e50;
   transition: 0.3s;
   border-radius: 50%;
}

.switch-container .switch input:checked + .slider {
   background-color: #353535;
}

.switch-container .switch input:checked + .slider:before {
   transform: translateX(24px);
   background-color: white;
}

.trp-form .trp-form-fields label input::placeholder,
.trp-form .trp-form-fields label textarea::placeholder {
   font-weight: 400;
   font-size: 16px;
   line-height: 24px;
}

.trp-form .trp-form-fields label input:focus,
.trp-form .trp-form-fields label textarea:focus {
   outline-color: #1d2939;
   outline-width: 1px;
}

.trp-form .trp-form-submit {
   gap: 9px;
}
.trp-form .trp-form-submit input[type='submit'] {
   font-weight: 500;
   font-size: 14px;
   line-height: 20px;
   border-radius: 8px;
   padding-top: 12px;
   padding-right: 24px;
   padding-bottom: 12px;
   padding-left: 24px;
   background: #101828;
   box-shadow: 0px 1px 2px 0px #1018280d;
   color: #ffffff;
   border: none;
}

.trp-form .trp-form-submit button.trp-cancel-btn {
   border: 1px solid #f04438;
   box-shadow: 0px 1px 2px 0px #1018280d;
   border-radius: 8px;
   padding-top: 12px;
   padding-right: 24px;
   padding-bottom: 12px;
   padding-left: 24px;
   background: #f04438;
   font-weight: 500;
   font-size: 14px;
   line-height: 20px;
   background: #fef3f2;
}

.trp-form .trp-form-fields .addContactNumberB2B {
   gap: 8px;
   background: #ffffff;
   border: 1px solid #d0d5dd;
   border-radius: 8px;
   padding-top: 12px;
   padding-right: 16px;
   padding-bottom: 12px;
   padding-left: 16px;
   font-weight: 400;
   font-size: 14px;
   line-height: 20px;
   color: #475467;
   height: 44px;
}

.trp-form .trp-form-fields .trp-repetitive-contact-number .trp-repetitive-contact-number-label {
   margin-bottom: 12px;
}

.trp-form .trp-form-fields .addContactNumberB2B {
   margin-bottom: 12px;
}
.trp-form .trp-form-fields .addContactNumberB2B::before {
   content: url(../imgs/plus-icon-grey.svg);
   display: inline-block;
   width: 20px;
   height: 20px;
}

.trp-form .trp-form-fields .trp-new-contact-number-container {
   position: relative;
   margin-bottom: 12px;
}
.trp-form .trp-form-fields .trp-new-contact-number-container:last-child {
   margin-bottom: 0px !important;
}

.trp-form .trp-form-fields .trp-new-contact-number-container input {
   width: 100%;
   z-index: 99;
   position: relative;
}

.trp-form .trp-form-fields .trp-new-contact-number-container button {
   position: absolute;
   right: 0px;
   top: 50%;
   transform: translateY(-50%);
   display: flex;
   z-index: 99999;
   cursor: pointer;
}

.trp-main-wrapper .trp-right-col {
   overflow: auto !important;
}

.trp-bottom-flex-footer {
   display: flex !important;
   gap: 5px;
}
