@font-face {
    font-family: 'repet';
    src: url('repet.ttf') format('truetype');
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

body.light-mode {
    background-color: white;
    color: black;
}

body.dark-mode {
    background-color: black;
    color: white;
}

.menu-bar {
    box-sizing: border-box;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 10px;
    padding-left: 10px;
}

#userCurrency {
    margin-left: 10px;
}

.header {
    width: 100%;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-bar {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.light-mode .header-bar {
    background-color: #000000;
}

body.dark-mode .header-bar {
    background-color: #ffffff;
}

body.light-mode a {
    color: black;
    text-decoration: underline;
}

body.dark-mode a {
    color: white;
    text-decoration: underline;
}

.title-left, .title-right {
    font-weight: 700;
    font-size: 60px;
}

.title-spacer {
    width: 30px;
}

body.light-mode .title-left {
    color: white;
    margin-right: 20px;
}

body.dark-mode .title-left {
    color: black;
    margin-right: 20px;
}

body.dark-mode .title-right {
    color: black;
    margin-left: 20px;
}

body.light-mode .title-right {
    color: white;
    margin-left: 20px;
}

a:hover, a:focus {
    text-decoration: underline;
}


h1 {
    display: flex;
    justify-content: center; /* Center content of .footer */
    flex-wrap: wrap; /* Allow the content to wrap */
    width: 100%; /* Take full width of the parent */
    text-align: center; /* Center text for wrapped lines */
    font-weight: 400; /* Bold text */
    margin: 0px;
    padding: 0px;
}

h2 {
    font-weight: 700; /* Bold text */
    font-size: 20; /* Bold text */
    margin-bottom: 5px;
    margin-top: 10px;
    padding: 0px;
}

.h2-container {
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
}

.container {
    display: flex;
    flex-direction: column;
}

.notify-setup-container {
    margin: 20px;
    display: flex;
    flex-direction: column;
}

.notify-grid-container {
    margin-top: 0px;
//    margin-left: 20px;
//    margin-right: 20px;
    margin-bottom: 0px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns with equal width */
    grid-gap: 20px; /* Spacing between grid items */
    /* Add any additional styling as needed */
}

.notify-container {
    flex-grow: 1; /* Grow to take up all available space */
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: flex-end; /* Vertically align to the bottom */
    margin-bottom: 10px;
}

.notify-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}


.h2-container h2 {
    text-align: center; /* Center the text alignment */
    padding: 0;
    width: 100%; /* Allow the h2 element to take the full width of the container */
}

button, button.small {
    background-color: #ff9031; /* Default orange fill */
    color: black; /* Black text color */
    font-weight: 700; /* Bold text */
    font-size: 25px; /* Adjusted font size */
    font-family: 'Montserrat', sans-serif; /* Montserrat font */
    padding: 0px 15px; /* Padding around the text */
    border-radius: 10px; /* Rounded corners with 10px radius */
    border: 1px solid #ea4f19; /* Most inner border */
    box-shadow:
        0 0 0 5px #ffbe42, /* Middle border */
        0 0 0 7px #ea4f19; /* Most outer border */
    transition: box-shadow 0.3s; /* Transition for smooth color change on hover */
    margin: 10px; /* Additional margin to avoid clipping of box-shadow */
    position: relative; /* Needed for proper box-shadow effect */
    overflow: hidden;
}

button.small {
    font-size: 15px; /* Adjusted font size */
    padding: 0px 10px; /* Padding around the text */
    border-radius: 5px; /* Rounded corners with 10px radius */
    border: 1px solid #ea4f19; /* Most inner border */
    box-shadow:
        0 0 0 5px #ffbe42, /* Lighter middle border on hover */
        0 0 0 7px #ea4f19; /* Most outer border remains the same */
    margin: 8px; /* Additional margin to avoid clipping of box-shadow */
}

button.cancel {
    background-color: #d10000;
    border: 1px solid #820000; /* Most inner border */
    box-shadow:
        0 0 0 5px #ff4f4f, /* Lighter middle border on hover */
        0 0 0 7px #9c0000; /* Most outer border remains the same */
    margin: 8px;
}

button.cancel:hover {
    box-shadow:
        0 0 0 5px #ff9999, /* Lighter middle border on hover */
        0 0 0 7px #9c0000; /* Most outer border remains the same */
}

button.confirmed, button.confirmed:hover {
    background-color: #00a323;
    border: 1px solid #006311; /* Most inner border */
    box-shadow:
        0 0 0 5px #1cff43, /* Lighter middle border on hover */
        0 0 0 7px #006311; /* Most outer border remains the same */
    margin: 8px;
}

@keyframes fadeAnimation {
    0%, 100% {
    box-shadow:
        0 0 0 5px #ffa700, /* Lighter middle border on hover */
        0 0 0 7px #ea4f19; /* Most outer border remains the same */
    }
    50% {
    box-shadow:
        0 0 0 5px #ffe3a3, /* Lighter middle border on hover */
        0 0 0 9px #ea4f19; /* Most outer border remains the same */
    }
}

@keyframes wiggleAnimation {
    0%, 100% {
        transform: rotate(0deg);
    }
    5% {
        transform: rotate(-20deg);
    }
    10% {
        transform: rotate(20deg);
    }
    15% {
        transform: rotate(-20deg);
    }
    20% {
        transform: rotate(20deg);
    }
    25% {
        transform: rotate(-20deg);
    }
    30% {
        transform: rotate(20deg);
    }
    35% {
        transform: rotate(0deg);
    }
}

.bellIcon {
    animation: wiggleAnimation 2s infinite;
}

button.fadeglow {
    animation: fadeAnimation 1s infinite;
}

button:hover {
    box-shadow:
        0 0 0 5px #fffe8b, /* Lighter middle border on hover */
        0 0 0 7px #ea4f19; /* Most outer border */
}

body.light-mode button.disabled, button.disabled:hover {
    color: #ffffff;
    background-color: #e6e6e6;
    border: 1px solid #ededed; /* Most inner border */
    box-shadow:
        0 0 0 5px #f0f0f0, /* Lighter middle border on hover */
        0 0 0 7px #ededed; /* Most outer border */
    margin: 8px;
}

body.dark-mode button.disabled, button.disabled:hover {
    color: #000000;
    background-color: #333333;
    border: 1px solid #0d0d0d; /* Most inner border */
    box-shadow:
        0 0 0 5px #212121, /* Lighter middle border on hover */
        0 0 0 7px #0d0d0d; /* Most outer border */
    margin: 8px;
}

select {
    max-width: 100%; /* Ensures the select box doesn't force the modal to expand */
    box-sizing: border-box;
    background-color: #ff9031; /* Default orange fill */
    color: black; /* Black text color */
    font-weight: 700; /* Bold text */
    font-size: 25px; /* Adjusted font size */
    font-family: 'Montserrat', sans-serif; /* Montserrat font */
    padding: 0px 15px; /* Padding around the text */
    border-radius: 10px; /* Rounded corners with 10px radius */
    border: 1px solid #ea4f19; /* Most inner border */
    box-shadow:
        0 0 0 5px #ffbe42, /* Middle border */
        0 0 0 7px #ea4f19; /* Most outer border */
    margin: 10px; /* Additional margin */
    position: relative; /* Needed for proper box-shadow effect */
    -webkit-appearance: none; /* Removes default styling on webkit browsers */
    -moz-appearance: none; /* Removes default styling on Firefox */
    appearance: none; /* Removes default styling */
    cursor: pointer; /* Cursor to pointer */
}

select.small {
    font-weight: 400; /* Bold text */
    font-size: 16px; /* Adjusted font size */
}

select:focus {
    outline: none; /* Removes the default focus outline */
    box-shadow:
        0 0 0 5px #fffe8b, /* Lighter middle border on focus */
        0 0 0 7px #ea4f19; /* Most outer border remains the same */
}

.custom-radio {
    display: flex;
    align-items: center;
    margin: 10px;
    cursor: pointer;
//    font-weight: 700; /* Bold text */
//    font-size: 16px; /* Adjusted font size */
    font-family: 'Montserrat', sans-serif; /* Montserrat font */
}

.custom-radio input[type="radio"] {
//    display: none; /* Hide the actual radio button */
    opacity: 0;
    margin: 0;
}

.custom-radio .radio-style {
    left: -10px;
    display: inline-block;
    width: 10px;
    min-width: 10px;
    height: 10px;
    border-radius: 50%; /* Circular shape */
    background-color: #ff9031; /* Orange fill */
    border: 1px solid #ea4f19; /* Border */
    margin-right: 10px;
    margin-top: 0px;
    box-shadow: 0 0 0 5px #ffbe42, /* Middle border */
                0 0 0 7px #ea4f19; /* Most outer border */
    position: relative; /* Needed for proper box-shadow effect */
}

.custom-radio input[type="radio"]:checked + .radio-style {
    background-color: #000000; /* Change color when checked */
    box-shadow: 0 0 0 5px #fffe8b, /* Lighter middle border on focus */
                0 0 0 7px #ea4f19; /* Most outer border remains the same */
}

.custom-radio input[type="radio"]:focus + .radio-style {
    box-shadow: 0 0 0 5px #fffe8b, /* Lighter middle border on focus */
                0 0 0 7px #ea4f19; /* Most outer border remains the same */
}

body.dark-mode input[type='datetime-local']::-webkit-calendar-picker-indicator {
    filter: invert(100%);
}

body.dark-mode input[type='time']::-webkit-calendar-picker-indicator {
    filter: invert(100%);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.no-trigger {
    color: red;
    font-weight: bold;
}

.full-width {
    padding: 0px;
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    width: 100%; /* Ensure full width */
}

.footer {
    display: flex;
    justify-content: center; /* Center content of .footer */
    flex-wrap: wrap; /* Allow the content to wrap */
    width: 100%; /* Take full width of the parent */
    text-align: center; /* Center text for wrapped lines */
}


.grid-container {
    margin: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns with equal width */
    grid-gap: 20px; /* Spacing between grid items */
    /* Add any additional styling as needed */
}

.container {
    margin-top: 15px;
    border: 6px solid black; /* Black border */
    border-radius: 10px; /* Rounded corners */
    position: relative; /* For positioning the header */
    padding-top: 20px; /* Extra space for the header */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* Adding drop shadow */
    /* Add more styling as needed */
}


.container-header {
    position: absolute; /* Absolute position */
    top: -27px; /* Half outside the top border */
    left: 50%; /* Centered horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%); /* Adjust for exact center */
    background-color: white; /* Background of the header */
    border: 4px solid black; /* Border of the header */
    border-radius: 10px; /* Rounded corners for the header */
    padding: 5px 10px; /* Padding inside the header */
    /* Add more styling for the header as needed */
}

body.light-mode .container-header {
    background-color: #ffffff; /* Light mode color for the bar */
    border: 4px solid black; /* Border of the header */
}

body.dark-mode .container-header {
    background-color: #000000; /* Dark mode color for the bar */
    border: 2px solid white; /* Border of the header */
    top: -25px; /* Half outside the top border */
}

body.light-mode .container {
    background-color: #ffffff; /* Light mode color for the bar */
    border: 6px solid black; /* Border of the header */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* Adding drop shadow */
}

body.dark-mode .container {
    background-color: #000000; /* Dark mode color for the bar */
    border: 4px solid white; /* Border of the header */
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.5); /* Adding drop shadow */
}

.content {
    padding-left: 8px;
    padding-right: 8px;
}

.content p {
    margin-top: 0px;
    margin-bottom: 5px;
}

/* For Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

body.light-mode .styled-input {
    font-family: repet, sans-serif;
    font-size: 25px;
    color: #000000;
    line-height: 1;
    /* Additional styles */
    border: 1px solid #cccccc; /* Example of additional input-specific styling */
    padding: 2px;
    padding-right: 5px;
    margin: 0px 0;
    margin-right: 5px;
    background-color: transparent;
    text-align: right;
    width: 90%;

}

body.dark-mode .styled-input {
    font-family: repet, sans-serif;
    font-size: 25px;
    color: #ffffff;
    line-height: 1;
    /* Additional styles */
    border: 1px solid #404040; /* Example of additional input-specific styling */
    padding: 2px;
    padding-right: 5px;
    margin: 0px 0;
    margin-right: 5px;
    background-color: transparent;
    text-align: right;
    width: 90%;
}

.fa-pen-to-square {
    color: #7f7f7f;
}

.key-icon-active {
    color: #ff8800;
}

body.light-mode .fa-delete-left, body.dark-mode .fa-delete-left {
    color: grey;
    cursor: pointer;
}

body.light-mode .fa-delete-left:hover, body.dark-mode .fa-delete-left:hover {
    color: red;
    cursor: pointer;
}

body.light-mode .key-field, body.dark-mode .key-field {
font-family: 'Fira Code', monospace;
margin-right: 10px;
color: inherit;
width: 90%;
background-color:
transparent;
resize: none;
}

body.light-mode .fa-circle-arrow-left, body.dark-mode .fa-circle-arrow-left {
display: inline-block;
}
body.light-mode .fa-circle-arrow-up, body.dark-mode .fa-circle-arrow-up {
display: none;
}

@media (max-width: 800px) {
	body.light-mode .fa-circle-arrow-left, body.dark-mode .fa-circle-arrow-left {
	display: none;
	}
	body.light-mode .fa-circle-arrow-up, body.dark-mode .fa-circle-arrow-up {
	display: inline-block;
	}

    .header {
        height: 160px;
    }

    .header-bar {
        height: 50px;
    }

    .header-bar img {
        width: 150px; /* Adjust the width as needed for smaller screens */
        /* You can also set a max-width of 100% to ensure it doesn't overflow its container */
        max-width: 100%;
    }

    body.light-mode .title-left, body.dark-mode .title-left {
        margin-right: 10px;
        font-size: 20px;
    }
    body.light-mode .title-right, body.dark-mode .title-right {
        margin-left: 10px;
        font-size: 20px;
    }

    .title-spacer {
        width: 5px;
    }

    button, select {
        font-size: 18.75px; /* 75% of 25px */
        padding: 0px 11.25px; /* 75% of 15px */
        margin: 7.5px; /* 75% of 10px, if needed */
        border-radius: 7.5px; /* 75% of 10px */
//        box-shadow:
//            0 0 0 3.75px #ffbe42, /* 75% of 5px */
//            0 0 0 5.25px #ea4f19; /* 75% of 7px */
    }

//    button:hover, select:focus {
//        box-shadow:
//            0 0 0 3.75px #fffe8b, /* 75% of 5px for lighter border */
//            0 0 0 5.25px #ea4f19; /* Outer border remains same */
    }

    .grid-container {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }

    .notify-grid-container {
        grid-template-columns: 1fr; /* 1 columns with equal width */
    }
}

body.light-mode .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

body.dark-mode .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

body.light-mode .modal-content, body.dark-mode .modal-content {
    background-color: #ffffff; /* White background for light mode */
    color: #000; /* Text color for light mode */
    margin: 15% auto;
    margin-top: 15% auto;
    padding: 20px;
    padding-top: 10px;
    border: 2px solid #000; /* Adds a border */
    border-radius: 10px; /* Rounded corners */
    width: auto;
    display: inline-block;
    box-sizing: border-box;
    position: relative; /* Added for centering */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust horizontal position */
}

body.dark-mode .modal-content {
    background-color: #000000; /* Black background for dark mode */
    color: #fff; /* Text color for dark mode */
    border: 2px solid #fff; /* Adds a border */
    /* Other properties remain the same */
}



.modal-header {
    margin-top: 0px;
    width: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.table {
    display: grid;
    grid-template-columns: 40px 1fr; /* Fixed width for the first column */
    grid-gap: 1px; /* Gap between rows and columns */
}

.fee-table {
    display: grid;
    grid-template-columns: 85px 1fr; /* Fixed width for the first column */
    grid-gap: 1px; /* Gap between rows and columns */
}

.fee-notify-table {
    display: grid;
    grid-template-columns: 130px 1fr; /* Fixed width for the first column */
    grid-gap: 1px; /* Gap between rows and columns */
}

.block-table {
    display: grid;
    grid-template-columns: 30px 1fr; /* Fixed width for the first column */
    grid-gap: 1px; /* Gap between rows and columns */
}

.cell {
    display: flex;
    align-items: center;
    justify-content: center;
}