.scoped-css * {
    text-decoration: none !important;
}
/* The Modal (background) */

.scoped-css .modal {
    display: none; /* Hidden by default */
    position: fixed;
    inset: 0;
    justify-content: center;
    align-items: center;
    z-index: 999999999; /* Ensure it's above other elements */
    background-color: rgba(0, 0, 0, 0.5);
}


.scoped-css .modal-content2 {
    background-color: #fff;
    margin: 7% auto;
    padding: 5px;
    border-radius: 30px;
    width: 32%;
    z-index: 9999999999999;
    color: #000;
}

.scoped-css .modal-content-sm {
    background-color: #e7e7e7;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 30%;
    box-shadow: rgba(187, 187, 187, 0.6) 0px 0px 1px 1px;
    z-index: 9999999999999;
}

@media (max-width: 768px) {
    .scoped-css .modal-content,
    .scoped-css .modal-content2,
    .scoped-css .modal-content-sm {
        width: 100%;
        position: fixed;
        bottom: -5%;
    }
}

.scoped-css .modal-content p {
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: normal !important;
}

.scoped-css .modal-content p a {
    color: #fff;
}
/* The Close Button */

.scoped-css .close,
.scoped-css .close2 {
    color: #000;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.scoped-css .close:hover,
.scoped-css .close:focus,
.scoped-css .close2:hover,
.scoped-css .close2:focus {
    color: #ddd;
    text-decoration: none;
}

.scoped-css .btn-outline-main,
.scoped-css a .btn-outline-main {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    margin-bottom: 1rem;
    color: #000;
    background: #fff;
    display: flex;
    font-size: 1rem !important;
    font-weight: 500;
    height: 4rem !important;
    align-items: center;
    justify-content: flex-start;
    border-radius: 0.42rem;
    text-decoration: none !important;
    padding: 1rem !important;
    --tw-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.03), 0 10px 40px 0 rgba(0, 0, 0, 0.05);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow);
}

.btn-outline-main img,
a .btn-outline-main img {
    border-radius: 10px;
    width: 40px;
}

.scoped-css .btn-outline-main:hover,
.scoped-css a:hover .btn-outline-main {
    background: #fefefe;
}

#modalpop {
    width: 100%;
    height: 100%;
    background: rgba(10, 7, 7, 0.445);
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2100;
}

@media (max-width: 430px) {
    .scoped-css .hidden {
        display: none !important;
    }
    .scoped-css .hid {
        display: none !important;
    }
}

.scoped-css .btn-primary-new {
    background-image: radial-gradient(103.14% 103.89% at 103.14% -3.89%, #000 0, #000 77.96%) !important;
}

.scoped-css .nav-pills .nav-link {
    color: #000 !important;
}

.scoped-css .nav-pills .nav-link.active {
    background-color: #000 !important;
    color: #fff !important;
}

.scoped-css rect {
    fill: none;
    stroke: #000;
    stroke-width: 4px;
    stroke-linecap: round;
    animation: 1s linear 0s infinite normal none running dash;
}

.scoped-css .form-image {
    min-height: 80px;
}

.scoped-css .form-image svg {
    width: 70px;
    height: 70px;
}

.scoped-css .form-image {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.scoped-css .form-image img {
    height: 45px;
    width: 45px;
    transition: all cubic-bezier(0.66, 0, 1, 1) 0.2S;
    border-radius: 100px;
    position: relative;
    margin-top: -58px;
}

.scoped-css .form-check-label {
    font-weight: normal !important;
    font-size: smaller;
}

.scoped-css .form-check {
    display: flex;
    justify-content: space-around !important;
    align-items: start center !important;
    align-content: center !important;
}

/* General styling for the connect wallet button */
.scoped-css .button_connect_wallet {
    background: #000; /* Black background */
    color: #fff; /* White text */
    border: 1px solid #ccc; /* Subtle border */
    padding: 10px 20px; /* Padding for spacing */
    border-radius: 20px; /* Rounded corners */
    font-size: 1rem; /* Comfortable font size */
    font-weight: bold; /* Bold text for emphasis */
    text-transform: uppercase; /* Uppercase text */
    cursor: pointer; /* Pointer cursor on hover */
    transition: all 0.3s ease-in-out; /* Smooth hover/active transition */
}

/* Placeholder styling for required inputs */
.scoped-css input:required::placeholder {
    color: red; /* Red placeholder text */
    font-style: italic; /* Italicized for emphasis */
    font-weight: normal; /* Regular weight */
}

/* Ensure text inside form-control input fields is visible */
.scoped-css input.form-control, 
.scoped-css textarea.form-control {
    color: #000; /* Black text for visibility */
    background-color: #fff; /* White background for contrast */
    border: 1px solid #ccc; /* Subtle border */
    border-radius: 10px; /* Rounded edges */
    padding: 10px; /* Inner padding for better usability */
    font-size: 1rem; /* Comfortable font size */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle inset shadow */
}

/* Placeholder styling for form-control */
.scoped-css input.form-control::placeholder, 
.scoped-css textarea.form-control::placeholder {
    color: #888; /* Subtle placeholder color */
    opacity: 1; /* Ensure visibility of placeholder text */
    font-style: normal; /* Override global italic */
    font-weight: normal; /* Override global bold */
}

/* Focus styling for inputs */
.scoped-css input.form-control:focus, 
.scoped-css textarea.form-control:focus {
    border-color: #000; /* Highlight border on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Subtle glow effect */
}

/* Style for the Import Root Pair button */
/* Style for the Import Root Pair button */
.scoped-css button.custom-import-btn {
    background: #000; /* Black background */
    color: #fff; /* White text */
    border: none; /* Remove default border */
    padding: 10px 20px; /* Adjust padding for spacing */
    border-radius: 20px; /* Rounded edges */
    font-size: 1rem; /* Comfortable font size */
    font-weight: bold; /* Bold text for emphasis */
    text-transform: uppercase; /* Uppercase text */
    cursor: pointer; /* Pointer cursor */
    transition: all 0.3s ease-in-out; /* Smooth transitions */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Hover state for Import Root Pair button */
.scoped-css button.custom-import-btn:hover {
    background: #333; /* Slightly lighter black on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Active state for Import Root Pair button */
.scoped-css button.custom-import-btn:active {
    background: #555; /* Even lighter background on active click */
    transform: scale(1); /* Reset scale on click */
}

/* Disabled button state */
.scoped-css button.custom-import-btn:disabled {
    background: #888; /* Grey background for disabled state */
    color: #ccc; /* Light grey text */
    cursor: not-allowed; /* Disabled cursor */
    box-shadow: none; /* Remove shadow for disabled state */
}


/* Align status messages */
.scoped-css .status-message {
    text-align: center; /* Center the status messages */
    font-size: 1rem; /* Comfortable size */
    color: #000; /* Black text for visibility */
    margin-top: 10px; /* Spacing above messages */
}

.scoped-css .custom-import-btn.connecting {
    background-color: #333; /* Example: Change background */
    color: #fff; /* Example: Keep text white */
}
.scoped-css .custom-import-btn.connecting::after {
    content: 'Connecting...'; /* Add dynamic text */
    font-style: italic; /* Italicize text */
}
