:root {
    --black-color: #000;
    --white-color: #fff;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .list-group {
        width: 305px !important;
    }

}

.montserrat-font {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    /* font-weight: <weight>; */
    font-style: normal;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
}


body {
    display: flex;
    flex-direction: column;

    /* montserrat-font */
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-style: normal;
    overflow-x: hidden;
}


.content {
    flex: 1;
}

footer {
    background: #f7f7f9;
    text-align: center;
    padding: 10px;
}

.navbar {
    background-color: var(--black-color);
}

.navbar-brand {
    color: var(--white-color);
}

.navbar-brand:focus,
.navbar-brand:hover {
    color: #fff !important;
}

.btn-signin {
    font-size: 15px;
    padding-left: 20px;
    padding-right: 20px;
    border: solid var(--white-color);
    color: var(--white-color);
}

.btn-signin:hover {
    background-color: var(--white-color);
    color: var(--black-color);
}

.btn-signup {
    font-size: 15px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--white-color);
    color: var(--black-color);
}

.btn-signup:hover {
    color: var(--white-color);
    border: solid var(--white-color);
}

.btn-search {
    font-size: 15px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--black-color);
    color: var(--white-color);
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;

}

.btn-search:hover {
    font-size: 15px;
    padding-left: 20px;
    padding-right: 20px;
    border: solid var(--black-color);
    color: var(--black-color);
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.search_input {
    background-color: #f7f7f9 !important;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    border: #f7f7f9;
    width: 500px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.search_input_save_domain {
    background-color: #f7f7f9 !important;
    border: #f7f7f9;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.search_input_query {
    background-color: #f7f7f9 !important;
    border: #f7f7f9;
}

@media only screen and (max-width: 600px) {
    .search_input {
        width: 100%;
    }
}

.btn-save {
    background-color: var(--black-color);
    color: var(--white-color);
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 40%;
}

.btn-save:hover {
    background-color: var(--white-color);
    color: var(--black-color);
    border: solid var(--black-color);

}

.btn-first {
    border: solid var(--black-color);
    background-color: var(--black-color);
    color: var(--white-color);
}

.btn-first:hover {
    border: solid var(--black-color);
    background-color: var(--black-color);
    color: var(--white-color);
}

.btn-domain {
    font-size: 15px;
    border: solid var(--white-color);
    color: var(--white-color);
}

.btn-domain:hover {
    font-size: 15px;
    border: solid var(--white-color);
    color: var(--white-color);
}


.btn-profile {
    font-size: 15px;
    background-color: var(--white-color);
    color: var(--black-color);
}

.dropdown-menu[data-bs-popper] {
    top: 100%;
    left: -50px !important;
    margin-top: var(--bs-dropdown-spacer);
}

.hero {
    background-color: var(--black-color);
    color: var(--white-color);
    height: 450px;
}

.hero h2 {
    padding-top: 80px;
}


.hero button {
    background-color: var(--white-color);
    color: var(--black-color);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: bolder;
    font-size: 20px;
}

.hero button:hover {
    background-color: #c4c4c5;
    color: var(--black-color);
}

.hero img {
    width: 300px;
    position: absolute;
    top: 230px;
    right: 200px;
}


.dropdown-text {
    font-size: 15px;
}

.dropdown-item a {
    font-size: 14px;
    text-decoration: none;
}

.doamin-search-section {
    height: 300px;
    margin-top: 10px;
}

.doamin-search-section h3 {
    margin-top: 50px;
}


.bg-black {
    background-color: var(--black-color) !important;
    border: var(--black-color);
}

.border-none {
    border: none !important;
}

.footer-auth {
    position: fixed;
    bottom: 0px;
    width: 100%;
}

.footer-panel {
    position: fixed;
    bottom: 0px;
    width: 100%;
    margin-left: -120px;
}

@media screen and (max-width: 768px) {
    .footer-panel {
    margin-left: 0px;
}
}

.manage-domanis-home {
    margin-top: 30px;
}

.manage-domanis-home button {
    background-color: var(--black-color);
    color: var(--white-color);
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.manage-domanis-home button:hover {
    background-color: var(--white-color);
    border: solid var(--black-color);
    color: var(--black-color);
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.black-pagination .page-link {
    color: black;
}

.black-pagination .page-link:hover {
    color: white;
    background-color: black;
    border-color: black;
}

.black-pagination .active .page-link {
    color: white;
    background-color: black;
    border-color: black;
}

/* 
.form-check-input {
    display: none;
}

.form-check-label {
    cursor: pointer;
    width: 100%;
}

.card-transition {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-check-input:checked + .form-check-label .card {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
} */

.btn-first:disabled {
    background-color: var(--white-color);
    border: solid var(--black-color);
    color: var(--black-color);
    font-weight: bold;
}

.subscription-icon {
    font-size: 10px;
    padding: 3px;
    border: solid #c4c4c5;
}

.subscription-text-one {
    margin-top: 3px;
    margin-left: 5px;
    font-size: 13px;
    font-weight: 500;
    height: 120px !important;
}

.subscribe-button {
    font-size: 13px;
    border: #f7981f solid 1.2px;
    background-color: #fff;
    color: #f7981f;
    font-weight: 600 !important;
}

.subscribe-button:hover {
    border: #f7981f solid 1px;
    background-color: #f7981f;
    color: #fff;
}


.tick-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 70vh;
}

.tick-container {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
}

.tick-mark {
    width: 100%;
    height: 100%;
}

.tick-mark-circle {
    stroke: #4caf50;
    stroke-width: 2;
    stroke-linecap: round;
    animation: draw-circle 0.5s ease-in-out forwards;
}

.tick-mark-check {
    stroke: #4caf50;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: draw-check 0.5s 0.5s ease-in-out forwards;
}

@keyframes draw-circle {
    0% {
        stroke-dasharray: 0, 157;
    }

    100% {
        stroke-dasharray: 157, 157;
    }
}

@keyframes draw-check {
    0% {
        stroke-dasharray: 0, 50;
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dasharray: 50, 50;
        stroke-dashoffset: 0;
    }
}


.no-bullets {
    list-style-type: none;
    padding-left: 0;
}

.red-color-strock {
    stroke: red !important;
}

.font-size-14px {
    font-size: 14px !important;
}

.font-size-15px {
    font-size: 15px !important;
}

@media (max-width: 768px) {
    .sm-mt-12 {
        margin-top: 12px;
    }
}


.card-radius {
    border-radius: 20px !important;
}

.plan-header {
    background-color: #f7981f !important;
    font-weight: 700;
    color: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    font-size: 20px;
}

.font-weight-600 {
    font-weight: 600 !important;
}

textarea::placeholder {
    font-size: .875em !important;
}


.pricing li {
    display: flex !important;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
}


ul {
    list-style: none;
    margin-top: 10px;
    padding-left: 0;
    margin-bottom: 0rem !important;
}

.pricing li:before {
    background: #000;
    border-radius: 50%;
    color: #fff;
    content: "✔";
    display: inline-block;
    font-size: 10px;
    height: 18px;
    margin-right: 10px;
    opacity: .7;
    padding: 1px 5px;
    text-align: center;
    width: 18px;
}

.bg-f7981f {
    background-color: #f7981f !important;
}

.color-fff {
    color: #fff;
}

/* ######################################################### */



.input_one {
    background-color: #f7f7f9 !important;
    border: #f7f7f9;
    border-radius: 50px;
}

.btn-auth {
    font-size: 15px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--black-color);
    color: var(--white-color);
    border-radius: 50px;
    width: 100%;
    border: solid var(--black-color);
}

.btn-auth:hover {
    font-size: 15px;
    padding-left: 20px;
    padding-right: 20px;
    border: solid var(--black-color);
    color: var(--black-color);
    border-radius: 50px;
    width: 100%;
}

label {
    font-size: 13px !important;
}

/* Styles for OTP input fields */
.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* Space between OTP inputs */
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    border: 2px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s;
}

.otp-input:focus {
    border-color: black;
    /* Green color on focus */
}

@media only screen and (min-width: 600px) {
    .w-md-50 {
        width: 25% !important;
    }

    .w-md-50:hover {
        width: 25% !important;
    }
}


.tooltip-inner {
    font-size: 15px;
    /* Increase font size */
    padding: 10px 15px;
    /* Increase padding */
}

/* Messages */
/* Container for alerts */
#alerts-container {
    position: fixed;
    left: 50%;
    top: 80px;
    /* Keep it at top */
    transform: translateX(-50%);
    /* Only center horizontally */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    /* gap: 10px;   */
    align-items: center;
}

.alert {
    padding: 15px;
    color: white;
    opacity: 1;
    transition: opacity 0.6s;
    border-radius: 4px;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alert.success {
    background-color: #04AA6D;
}

.alert.danger {
    background-color: #f44336;
}

.alert.info {
    background-color: #2196F3;
}

.alert.warning {
    background-color: #ff9800;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

/* Disable the suggestion color */
input:-webkit-autofill {
    /* background-color: #e0f7fa !important;
    color: #00796b !important;     */
    -webkit-box-shadow: 0 0 0px 1000px #f7f7f9 inset !important;
    /* Ensure background is filled */
}


/* Password change */
/* Style for the password container */
.card-mine {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Style for the form fields */
.form-field {
    margin-bottom: 10px;
}

/* Style for labels */
label {
    font-weight: bold;
}

.form-field input {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Style for input fields */
input {
    width: 100%;
    /* padding: 8px; */
    border: 1px solid #ccc;
    background-color: #f7f7f9 !important;
    border-radius: 50px;
    font-size: 14px;
}

/* Style for error messages */
.errorlist {
    list-style: none;
    padding: 0;
    color: red;
    font-size: 12px;
}

/* Style for the submit button */
.btn-mine {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    border-radius: 50px;
}

/* Style for help text */
.helptext {
    font-size: 12px;
    color: #777;
}

/* Style for the unordered list in help text */
.helptext ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

/* Style for list items in help text */
.helptext li {
    margin-bottom: 5px;
}


/* Feedback form */
/* Feedback Button */
.feedback-button {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: #111827;
    /* Changed to black */
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.feedback-button:hover {
    background-color: #1F2937;
    /* Darker shade of black */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Feedback Form */
.feedback-popup {
    display: none;
    position: fixed;
    bottom: 150px;
    right: 32px;
    width: 380px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 24px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.feedback-popup.active {
    opacity: 1;
    transform: translateY(0);
}

.feedback-header {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
    padding-right: 20px;
}

.feedback-popup textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    resize: none;
    height: 120px;
    transition: border-color 0.3s ease;
    margin-bottom: 16px;
}

.feedback-popup textarea:focus {
    outline: none;
    border-color: #111827;
    /* Changed to black */
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

.feedback-popup textarea::placeholder {
    color: #9CA3AF;
}

.submit-btn {
    width: 100%;
    background-color: #111827;
    /* Changed to black */
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #1F2937;
    /* Darker shade of black */
    transform: translateY(-1px);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #6B7280;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-btn:hover {
    color: #111827;
    transform: rotate(90deg);
}

@media only screen and (max-width: 600px) {

    /* Feedback Button */
    .feedback-button {
        bottom: 115px !important;

    }

    /* Feedback Form */
    .feedback-popup {
        right: 20px !important;
        width: 330px !important;
    }
}


/* Navbar */
.dropdown-menu[data-bs-popper] {
    top: 100%;
    left: -70px !important;
}

.dropdown-item:active {
    color: black;
    text-decoration: none;
    background-color: white;
}

@media only screen and (max-width: 600px) {
    .dropdown-menu[data-bs-popper] {
        top: 100%;
        left: -90px !important;
        margin-top: 20px;
    }
}


/* Customer settings */

.settings-card {
    background: white;
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.settings-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.settings-icon {
    width: 40px;
    height: 40px;
    background: #f7981f15;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7981f;
    font-size: 1.2rem;
}

.settings-link {
    text-decoration: none;
    color: #2d3748;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.settings-link:hover {
    color: #f7981f;
}

.settings-link:hover .settings-icon {
    background: #f7981f;
    color: white;
}

.settings-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.settings-description {
    color: #718096;
    font-size: 0.9rem;
}



/* Notification Page */

.bg-gradient-primary {
    background: linear-gradient(135deg, #f7981f 0%, #f7981f 100%);
}

.form-check-input {
    cursor: pointer;
    width: 2.5em;
    height: 1.25em;
}

.form-check-input:checked {
    background-color: #f7981f;
    border-color: #f7981f;
}

.alert-option,
.notification-item {
    transition: all 0.2s ease;
}

.alert-option:hover,
.notification-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1) !important;
}

.notification-item {
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.notification-item:has(.form-check-input:checked) {
    border-left-color: #f7981f;
}

/* Improve Bootstrap Switch Appearance */
.form-check-input:focus {
    box-shadow: none;
}

/* Custom styles to ensure perfect functionality */
.sidebar {
    transition: transform 0.3s ease, width 0.3s ease;
    width: 16rem;
    transform: translateX(0);
}

.sidebar.collapsed {
    transform: translateX(-16rem);
    width: 0;
}

.main-content {
    transition: margin-left 0.3s ease;
}

.main-content.collapsed {
    margin-left: 0;
}

.toggle-btn {
    transition: left 0.3s ease, transform 0.3s ease;
    position: fixed;
    left: 16rem;
}

.toggle-btn.collapsed {
    left: 0;
}

/* Improved toggle button styling */
#desktopToggleBtn {
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff; /* White background */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 35px;
    margin-top: 13px;
  }
  
  #desktopToggleBtn:hover {
    background-color: #f0f0f0; /* Slight gray on hover */
  }
  
  #desktopToggleBtn i {
    color: #000; /* Black icon */
    font-size: 20px;
  }
  
/* Logo container styling */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}

.logo-container img {
    max-height: 36px;
    width: auto;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 40;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0 !important;
    }

    .toggle-btn {
        display: none;
    }
    #desktopToggleBtn {
        display: none !important;
    }
}


/* Messages */
@keyframes notification-shrink {
    from { width: 100%; }
    to { width: 0%; }
}

.notification-progress {
    animation: notification-shrink 5s linear forwards;
}

@keyframes notification-slide-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes notification-slide-out {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.notification-container {
    animation: notification-slide-in 0.3s forwards;
}

.notification-slide-out {
    animation: notification-slide-out 0.3s forwards;
}


.form-check-input:checked {
    background-position: right center;
    background-color: #f7981f !important;
}
.form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.pattern-dots {
    background-image: radial-gradient(currentColor 1px, transparent 1px);
    background-size: calc(10 * 1px) calc(10 * 1px);
}

/* ///// */

.rounded-pill-start {
  border-top-left-radius: 50rem !important;
  border-bottom-left-radius: 50rem !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Custom scrollbar for the select element */
#domain_ids {
  scrollbar-width: thin;
  scrollbar-color: #f7981f #f3f4f6;
}

#domain_ids::-webkit-scrollbar {
  width: 8px;
}

#domain_ids::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 10px;
}

#domain_ids::-webkit-scrollbar-thumb {
  background: #f7981f;
  border-radius: 10px;
}

#domain_ids::-webkit-scrollbar-thumb:hover {
  background: #e08a1a;
}

/* Selection highlighting */
#domain_ids option:checked {
  background: #fef5e9 !important;
  color: #9a3412;
}

.sidebar-open-modal {
  margin-left: 8rem; /* 32 * 0.25rem = 8rem */
}
@media (max-width: 768px) {
  .sidebar-open-modal {
    margin-left: 0 !important;
  }
}

#tag-suggestions div {
    transition: background-color 0.2s;
  }
  #tag-suggestions div:hover {
    background-color: #f3f4f6;
  }
  #tag-suggestions div:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
  }
  #tag-suggestions div:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }