.closeBox {
    width: 29px;
    height: 24px;
    font-size: 1.0em;
    font-weight: 600;
    text-align: center;
    float: right;
    border-radius: 100%;
    background-color: #999;
    padding-top: 5px;
}

.actionHeader {
    font-size: 2em;
    font-weight: 600;
    text-align: center;
}

.actionLabel {
    margin-top: 20px;
}

.actionField {
    margin-top: 10px;
    width: 100%;
    height: 34px;

    &:focus {
        border: 2px solid var(--border-color);
        box-shadow: 0 0 10px var(--smart-text-color);
        outline: none;
    }
}

.actionInput {

    width: 100%;
    height: 100%;
    border: 1px solid #ccc !important;
}

.blur-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.actionConfirm {
    background-color: #3dafe5;
    border-radius: 8px;
    font-size: 1.0em;
    font-weight: 400;
    text-align: center;
    padding: 8px 2px;
    width: 100px;
    cursor: pointer;
    margin: auto;
}


.sideNavigation {

    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    letter-spacing: 0.18px;
    padding: 7px 13px;


    text-decoration: none;

    border-radius: 7px;

    transition: color 0.4s ease;
    transition: font-size 0.01s ease-in-out;

}

.sideNavigation:hover {
    background-color: var(--button-color-hover);
}

.sideNavigation:active {
    background-color: var(--button-color-active);
}

.selected {
    background-color: #3dafe5;
    color: var(--background-color);
}

.selected:active {
    background-color: #3dafe5;

}

.selected:hover {
    background-color: #3dafe5;

}

.actionButton {
    float: right;
    background-color: var(--button-color);
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: 200;
    text-align: center;
    padding: 8px 2px;
    width: 140px;

    cursor: pointer;
}

.actionDialog {

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 500px;
    height: 400px;
    margin: auto;

    border: 1px solid #ccc !important;
    border-radius: 20px;
    background-color: var(--frosted-background-color);

    z-index: 10;
}

.actionDropDownInput {
    width: 400px;
    height: 50px;
    border-radius: 10px;
    padding: 10px;
}

.actionDropDown {
    margin-top: 10px;
    width: 400px;
    height: 50px;


}


input {
    color: var(--smart-text-color);
    transition: color 0.1s ease 0s;

    background-color: var(--background-color);

    border: 2px solid var(--border-color);
    border-radius: 7px;
    padding: 10px;
    font-size: 1.2em;

    outline: none;

    &:focus {

        box-shadow: none;
        outline: none;
    }

    &:hover {

        box-shadow: none;
        outline: none;
    }

    &:invalid {
        border: 2px solid red;
    }

    &:disabled {
        background-color: lightgrey;
    }

}

input[type=file]::file-selector-button {
    border: 2px solid #6c5ce7;
    padding: .2em .4em;
    border-radius: .2em;
    background-color: #a29bfe;
    transition: 1s;
}

input[type=file]::file-selector-button:hover {
    background-color: #81ecec;
    border: 2px solid #00cec9;
}

input[type='submit'] {
    background-color: #3498db;
    color: var(--smart-text-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
}

input[readonly] {
    border: 2px solid var(--border-color);
    cursor: default;
    box-shadow: none;
    outline: none;
    color: var(--smart-text-color);
    background-color: var(--frosted-background-color);

    &:hover {
        cursor: default;
    }
}

.hover-lift {
    position: relative;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.color-sweep {
    position: relative;
    overflow: hidden;
}

.color-sweep::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--hover-color, #3498db);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.color-sweep:hover::before {
    left: 0;
    opacity: 0.7;
}

.color-sweep * {
    pointer-events: all;
    position: relative;
    z-index: 2;
}

.button {
    padding: 12px 24px;

    background-color: var(--button-color);
    text-align: center;
    border-radius: 7px;

    margin: 2px;
    color: var(--smart-text-color);
    border-color: var(--smart-border-color);
    outline: none;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 5px 5px 10px var(--smart-boxshadow-color);

    &:hover {
        outline: none;
        background-color: var(--button-color-hover);

        box-shadow: 3px 3px 5px var(--smart-boxshadow-color);
    }

    &:active {
        outline: none;
        background-color: var(--button-color-active);


        box-shadow: 0px 0px 0px var(--smart-boxshadow-color);
    }

    &:disabled {
        background-color: lightgray;
        box-shadow: 0px 0px 0px 0px;

    }

    &:disabled:hover {
        background-color: lightgray;
        box-shadow: 0px 0px 0px 0px;

    }

}

.event-btn {
    padding: 4px 8px;

    background-color: var(--button-color);
    text-align: center;
    border-radius: 7px;


    color: var(--smart-text-color);
    border-color: var(--smart-border-color);
    outline: none;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 5px 5px 10px var(--smart-boxshadow-color);

    &:hover {
        outline: none;
        background-color: var(--button-color-hover);

        box-shadow: 3px 3px 5px var(--smart-boxshadow-color);
    }

    &:active {
        outline: none;
        background-color: var(--button-color-active);


        box-shadow: 0px 0px 0px var(--smart-boxshadow-color);
    }

    &:disabled {
        background-color: lightgray;
        box-shadow: 0px 0px 0px 0px;

    }

    &:disabled:hover {
        background-color: lightgray;
        box-shadow: 0px 0px 0px 0px;

    }
}

.delete-btn {
    background-color: #ff4136;
    transition: background-color 0.3s;





    &:hover {
        background-color: #d0342b;


        box-shadow: 3px 3px 5px var(--smart-boxshadow-color);
    }

    &:active {
        outline: none;

        background-color: #d0332ba2;

        box-shadow: 0px 0px 0px var(--smart-boxshadow-color);
    }
}

body {
    font-family: 'SF Display Pro', system-ui, sans-serif, Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: normal;
}

.center_page {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
    transform: translate(-50%, -50%);

}

.close_button {
    font-size: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #999 0% 0% no-repeat padding-box;

    box-shadow: 5px 5px 10px var(--smart-boxshadow-color);
    transition: all 0.4s;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;

    &:hover {
        background-color: var(--button-color-hover);
        transform: scale(1.1);

    }

    &:active {
        background-color: var(--button-color-active);
        transform: scale(0.95);
    }
}

.close_button svg {
    pointer-events: none;
    /* Ensures clicks go to button, not SVG */
}

input:focus,
select:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

input:disabled:hover {
    /* Remove any hover styles here */

    outline: none;
    -webkit-tap-highlight-color: transparent;

    /* Or use !important to override other hover styles */
    /* background-color: #e9e9e9 !important; */
}

input[readonly]:hover {
    /* Remove any hover styles here */

    outline: none;
    -webkit-tap-highlight-color: transparent;

    /* Or use !important to override other hover styles */
    /* background-color: #f8f8f8 !important; */

}

/* Prevent iOS auto-zoom on input focus — iOS zooms when font-size < 16px */
@media screen and (max-width: 767px) {
    input,
    select,
    textarea {
        font-size: 16px;
    }
}

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

.row {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.profile_row {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

.row_info {

    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    justify-content: space-between;
}

.column {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.label {

    text-align: left;

    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.2px;
    color: #292929;
    opacity: 1;
}

.value {
    color: var(--smart-text-color);

    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    height: 1.5em;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #D0D0D0;
    border-radius: 5px;
    background-color: var(--frosted-background-color);
}

.colvalue {


    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    height: 1.5em;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #D0D0D0;
    border-radius: 5px;
    color: var(--smart-text-color);
    background-color: var(--frosted-background-color);
}

.profile_container {
    width: clamp(600px, 80%, 1200px);
}

@media (prefers-color-scheme: dark) {
    .label {
        color: #bfbfbf;
    }

    .value {
        border-color: #3d3d3d;
    }

    .colvalue {
        border-color: #3d3d3d;
    }

    .formTextArea {
        border-color: #3d3d3d;
    }

    .formTextArea:focus {
        border-color: #6d6d6d;
        box-shadow: 0 0 3px rgba(255, 255, 255, 0.1);
    }

    .submit_row input[type="text"] {
        border-color: #3d3d3d;
    }

    .submit_row input[type="text"]:focus {
        border-color: #6d6d6d;
        box-shadow: 0 0 3px rgba(255, 255, 255, 0.1);
    }
}

.submit_container {
    background-color: var(--frosted-background-color);
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;

    max-width: 700px;
    margin: 0 auto;
}

.submit_row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.submit_row input[type="text"] {
    width: 650px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 90%;
    padding: 8px 10px;
    margin: 5px 0;
    background-color: var(--infoCell-background-color);
}

.submit_row input[type="text"]:focus {
    outline: none;
    border-color: #808080;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    background-color: var(--background-color);
}

.formTextArea {
    color: var(--smart-text-color);
    background-color: var(--infoCell-background-color);

    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 90%;
    margin: 0;
    padding: 8px 10px;
    width: 650px;
    height: 150px;
    resize: none;

}

.choices__inner {
    border-radius: 10px !important;
}

.formTextArea:focus {
    outline: none;
    border-color: #808080;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    background-color: var(--background-color);
}

.super_popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 var(--background-color);
    border: 2px solid var(--smart-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.confirm_button_container {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 30px;

    gap: 30px;
}

.super_popup_no_clickthrough {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.navIcon {
    width: 60px;
    height: 50px;
    margin: 10px;

    border-radius: 12px;
    background-color: var(--background-color);
    cursor: pointer;

}

.selectedNavIcon {
    width: 60px;
    height: 50px;
    margin: 10px;

    border-radius: 12px;
    background-color: #3dafe5;
    color: var(--background-color);
    cursor: pointer;

}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--button-color) var(--frosted-background-color);
}

/* WebKit browsers (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar:horizontal {
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: var(--frosted-background-color);
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--button-color);
}

*::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, var(--button-color), white 25%);
}