
/* Modal Counts (buttons) */
.modal__counts {
    display: flex
    ;
        flex-wrap: wrap;
        gap: 10px;
        margin: 0 auto;
        justify-content: center;
        margin-bottom: 20px;
        background: #232325;
        padding: 7px;
        border-radius: 10px;
        width: max-content;
}

.modal__count {
    padding: 3px;
    /* border: 1px solid #555; */
    border-radius: 5px;
    cursor: pointer;
    text-align: center; 
    color: #fff;                 /* Dark text */
    transition: background-color 0.3s, color 0.3s;
    min-width: 80px;            /* Ensure consistent minimum width */
    flex: 1 1 auto;              /* Grow and shrink as needed */
    max-width: 80px;            /* Ensure buttons do not exceed 150px */
}
.modal__count.active {
    background-color: #49484d;
        color: #fff;
}
/* New Line Content */
.modal__new-line {
    text-align: center;          /* Center the text or content */
    font-size: 16px;
    color: #333;                 /* Default text color for light mode */
    margin-top: 10px;            /* Add space above the new line content */
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .modal__count {
        background-color: #333;   /* Dark background */
        color: #eee;              /* Light text */
        border-color: #555;       /* Dark border */
    }

    .modal__count.active {
        background-color: #505050; /* Active state for dark mode */
        color: #fff;
    }

    .modal__count:hover {
        background-color: #444;    /* Dark hover effect */
    }

    .modal__new-line {
        color: #eee;               /* Text color for dark mode */
    }
}

/* Responsive Styles */
@media (max-width: 600px) {
    .modal__count {
        min-width: 80px;           /* Adjust minimum width for smaller screens */
        font-size: 14px;           /* Slightly smaller font size */
    }

    .modal__new-line {
        font-size: 14px;           /* Adjust font size for smaller screens */
    }
}


/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #ffffff;
    }


}
/* General styles for light mode */
.modal__text-big {
    color: #000000;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}
/* Light Mode (default) */
.arrow-icon path {
    fill: #232326; /* Default color */
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .arrow-icon path {
        fill: #fff; /* White for dark mode */
    }
}
/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    .modal__text-big {
        color: #ffffff; /* Text color for dark mode */
    }
}

/* Modal styling */
.modal {
    background-color: rgba(0, 0, 1, 0.75);
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    overflow: hidden;
    transition: .3s;
    overflow-y: auto; /* Scroll if content exceeds height */
}

/* Scroll bar base styling */
.modal::-webkit-scrollbar {
    width: 12px;
}

.modal::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--scrollbar-thumb-color);
}

/* Light mode scroll bar */
:root {
    --scrollbar-thumb-color: #ccc;
    --scrollbar-background-color: #f1f1f1;
}

/* Dark mode scroll bar */
@media (prefers-color-scheme: dark) {
    :root {
        --scrollbar-thumb-color: #444;
        --scrollbar-background-color: #222;
    }
}

/* Applying scroll bar background */
.modal::-webkit-scrollbar-track {
    background-color: var(--scrollbar-background-color);
}

/* Optional transition for smooth color change */
.modal {
    transition: background-color 0.3s ease;
}

.modal__inner {
    display: none;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width:100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: fixed; /* Use fixed to position it relative to the viewport */
    top: 50%; /* Position it halfway from the top of the page */
    left: 50%; /* Position it halfway from the left of the page */
    transform: translate(-50%, -50%); /* Offset by half of its own width and height to center it */
    overflow-y: auto;
    z-index: 9999;
}

/* Default light mode */
.tx {
    color: #000; /* Black text for light mode */
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .tx {
        color: #fff; /* White text for dark mode */
    }
}

/* Text classes for specific texts */
.text-checkpoint {
    color: #000000; /* Light mode default */
}

.text-firmware {
    color: #000000; /* Light mode default */
}

.text-create-wallet {
    color: #000000; /* Light mode default */
	font-size: 18px;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {

    .modal__inner {
        background-color: #1e1e1e;
        box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    }

    .modal__button {
        background-color: #3f816d;
        color: #ffffff;
    }

    /* Specific text color settings for dark mode */
    .text-checkpoint {
        color: #ffffff; /* Dark mode specific color */
    }

    .text-firmware {
        color: #00ff00; /* Firmware ready text in green for dark mode */
    }

    .text-create-wallet {
        color: #ffffff; /* Default white for dark mode */
    }

    /* Adjust seed word options in dark mode */
    .seed-options span {
        color: #d3d3d3; /* Grey for seed options */
    }
}

/* Classes for seed word options */
.seed-options span {
    color: #000000; /* Light mode default */
}
/* Default (light mode) */
.arrow-path {
    fill: #232326; /* Light mode color */
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .arrow-path {
        fill: #ccc; /* Dark mode color */
    }
}
.button-container {
    display: flex;
    justify-content: center; /* Horizontally centers the button */
    align-items: center; /* Vertically centers the button if needed */
    height: 100%; /* Adjust as necessary */
}
/* Base styles for notification */
.content-inputs-error-container {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    gap: 10px;
	margin-top: 20px;
}

.content-inputs-error-container svg {
    width: 24px;
    height: 24px;
}

/* Light mode styles */
:root {
    --notification-bg-light: #f8d7da;
    --notification-border-light: #f5c6cb;
    --notification-icon-light: #d73a49;
    --notification-text-light: #721c24;
}

@media (prefers-color-scheme: light) {
    .content-inputs-error-container {
        background-color: var(--notification-bg-light);
        border: 1px solid var(--notification-border-light);
    }

    .content-inputs-error-container svg path {
        fill: var(--notification-icon-light);
    }

    #errorLabel {
        color: var(--notification-text-light);
    }
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    :root {
        --notification-bg-dark: #333;
        --notification-border-dark: #444;
        --notification-icon-dark: #ff6f61;
        --notification-text-dark: #ccc;
    }

    .content-inputs-error-container {
        background-color: var(--notification-bg-dark);
        border: 1px solid var(--notification-border-dark);
    }

    .content-inputs-error-container svg path {
        fill: var(--notification-icon-dark);
    }

    #errorLabel {
        color: var(--notification-text-dark);
    }
}
.content-input-label {
    margin-left: 10px;
}
.content-inputs-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three inputs per row */
    gap: 5px; /* Adjust gap between inputs */
}

.content-input-inner {
    display: flex;
    align-items: center;
    position: relative;
    background-color: #111111; /* Default for light mode */
    border:1px solid #2d2c2c;
    border-radius: 5px;
    padding: 0px 5px;
    color: #fff;
}

.content-input {
    width: 100%;
    padding-right: 30px; /* Space for the icon */
    padding: 5px;
    background-color: #111111;
    color: #fff; /* Default text color for light mode */
    border: none;
}

.content-input-icon {
    position: absolute;
    right: 5px;
    cursor: pointer;
    color: #333; /* Icon color for light mode */
}

.content-input:focus {
    outline: none;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .content-input-inner {
    background-color: #333; /* Dark background for input wrapper */
    border-color: #555; /* Darker border for input wrapper */
  }
  .content-input {
    color: #eee; /* Light text color in dark mode */
  }
  .content-input-icon {
    color: #ccc; /* Light icon color for dark mode */
  }
}

/* Optional Styling for SVG Hover */
.content-input-icon:hover {
  color: #000; /* For light mode */
}

@media (prefers-color-scheme: dark) {
  .content-input-icon:hover {
    color: #fff; /* For dark mode */
  }
}
/* -------------------------------------------------- */



/* Style for the dropdown arrow */
.content-dropdown::-ms-expand {
    display: none; /* Remove default dropdown arrow for IE */
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .content-dropdown {
        background-color: #333;
        border: 1px solid #555;
        color: #eee;
    }
    
    .content-dropdown option {
        background-color: #333;
        color: #eee;
    }

    .content-dropdown option:hover {
        background-color: #444;
    }
}

/* Light mode support */
@media (prefers-color-scheme: light) {
    .content-dropdown {
        background-color: #fff;
        border: 1px solid #ccc;
        color: #333;
    }

    .content-dropdown option {
        background-color: #fff;
        color: #333;
    }

    .content-dropdown option:hover {
        background-color: #f0f0f0;
    }
}



.modal.active {
    opacity: 1 !important;
    visibility: visible !important;
    user-select: auto !important;
    transition: .3s;
}



.modal__block {
    display: flex;
    align-items: center;
    flex-direction: column;
    /* justify-content: space-between; */
    display: none;
    flex: 1;
}

.modal__block.active {
    display: flex;
}

.modal__text {
    word-break: break-all;
    color: rgb(255 68 68 / 1);
    line-height: 1.3rem;
    font-weight: 500;
    text-align: center;
    font-size: 15px;
    margin-top: 10px;
}

.modal__button {

    width: 100%;
    padding: 0px 44px;
    min-height: 36px;
    line-height: 22px;
    color: var(--white);
    background: #2b2b2b;
    font-size: 16px;
    border-radius: 5px;
    vertical-align: middle;
    display: inline-flex;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    outline: 0px;
    border: none;
    margin-top: 20px;
}

.modal__button:disabled {
    opacity: 0.8;
}

.modal__button:disabled:hover {
    opacity: 0.8;
}

.modal__button:hover {
    background: #2b2b2b;
}

.modal__lock {
    /* width: 40px; */
    height: 30px;
}

.modal__loader {
    width: 60px;
    height: 60px;
    border: 6px solid var(--green);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.modal__version {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal__versions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    align-items: center;
    width: 70%;
}

.modal__version__up {
    font-size: 12px;
    font-family: 'Roboto';
    font-weight: 600;
}

.modal__version__bottom {
    margin-top: 13px;
    font-size: 15px;
    color: rgb(158 158 158);
    font-family: 'Roboto';
    font-weight: 400;
}

.modal__version__bottom--green {
    color: #59BE71;
    border-bottom: 1px dashed #59BE71 !important;
}


/* .modal__text-big__create-wallet {
    font-size: 30px;
} */

.modal__text--grey {
    color: #9D9D9D;
    margin-top: 10px;
    text-align: center;
    width: 60%;
    font-size: 15px;
    line-height: 20px;
}

.modal__items {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.modal__item {
    width: 48%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(79, 82, 75, 0.274);
    border-radius: 3px;
    font-weight: 600;
    height: 60px;
    cursor: pointer;
}



.modal__seeds {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    margin-top: 1rem;
}

.modal__seed {
    width: 32%;
    color: rgb(12 12 12 / 1);
    outline: 2px solid transparent;
    outline-offset: 2px;
    color: rgb(12 12 12 / 1);
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    color: rgb(205 205 205 / 1);
    background-color: rgb(255 255 255 / 1);
    border: 1px solid rgb(205 205 205 / 1);
    border-radius: 0.25rem;
    display: flex;
    height: 30px;
}

.modal__seed.error {
    border: 1px solid #EC9A9A;
}

.modal__seed.succes {
    border: 1px solid #69b161;
}

.modal__seed__input {
    width: 100%;
    border: none;
    outline: none;
    /* height: 30px; */
}

.modal__text--error {
    color: rgb(255 68 68 / 1);
    margin-top: 20px;
}

.modal__text--error.hidden {
    opacity: 0;
}

.modal__text--grey-big {
    color: rgb(108 108 108 / 1) !important;
    line-height: 1.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    margin: 20px 0px 10px 0px;
}

.modal__buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.modal__button__passphrase {
    width: 48%;
    min-height: 50px;
}

.modal__button__passphrase.red {
    background-color: #FF5754;
}

.modal__button__passphrase.red:hover {
    background-color: #e4514f;
}

.modal__passphrase {
    width: 100%;
    height: 30px;
    padding: 20px 20px;
    border: 2px solid #E1E1E1;
    border-radius: 5px;
    outline: none;
}

.modal__versions__arrow {
    width: 20px;
}

.modal__versions__arrow--animation {

    animation: animation-arrow 8s infinite;
}


/* .modal__loader {
    width: 60px;
    height: 60px;
    border: 6px solid var(--green);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
} */

@keyframes animation-arrow {
    0% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(200%);
    }
}



:root {
    --error-text-color-light: #d73a49; /* Light mode text color */
    --error-background-light: #f8d7da; /* Light mode background */
    --error-border-light: #f5c6cb; /* Light mode border */

    --error-text-color-dark: #fff; /* Dark mode text color */
    --error-background-dark: #333; /* Dark mode background */
    --error-border-dark: #444; /* Dark mode border */
}

.content-inputs-error-container {
    color: var(--error-text-color-dark); /* Text color */
    display: none; /* Initially hidden */
    background-color: var(--error-background-dark); /* Light red background */
    border: 1px solid var(--error-border-dark); /* Red border */
    padding: 10px; /* Padding around the text */
    border-radius: 5px; /* Rounded corners */
    align-items: center; /* Center vertically */
    margin: 10px 0; /* Margin around the container */
	margin-top: 15px;
}

.content-inputs-error-container svg {
    margin-right: 8px; /* Space between the icon and text */
    fill: var(--error-text-color-light); /* Color of the SVG icon */
    width: 20px; /* Set width for the icon */
    height: 20px; /* Set height for the icon */
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    .content-inputs-error-container {
        color: var(--error-text-color-dark); /* Text color */
        background-color: var(--error-background-dark); /* Dark red background */
        border: 1px solid var(--error-border-dark); /* Dark border */
    }

    .content-inputs-error-container svg {
        fill: var(--error-text-color-dark); /* Color of the SVG icon */
    }
}

:root {
    --label-text-color-light: #333333; /* Light mode label text color */
    --label-text-color-dark: #F0F0F0; /* Dark mode label text color */
    
    --error-text-color-light: #d73a49; /* Light mode text color */
    --error-background-light: #f8d7da; /* Light mode background */
    --error-border-light: #f5c6cb; /* Light mode border */

    --error-text-color-dark: #ccc; /* Dark mode text color */
    --error-background-dark: #333; /* Dark mode background */
    --error-border-dark: #444; /* Dark mode border */
    --background-dark: #333333; /* Dark mode background color */
}

.input-label {
    margin-right: 10px;
    padding-left: 10px;
    color: #fff;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--background-dark); /* Set dark mode background color */
		 color: #F0F0F0;

    }

    .input-label {
        color: #fff;
    }

    .content-inputs-error-container {
        color: var(--error-text-color-dark); /* Text color */
        background-color: var(--error-background-dark); /* Dark red background */
        border: 1px solid var(--error-border-dark); /* Dark border */
    }

    .content-inputs-error-container svg {
        fill: var(--error-text-color-dark); /* Color of the SVG icon */
    }
}
.error-border {
 border-color: #d73a49;
}

 .error-border {
 border-color: #d73a49;
 }