
/* Global Styles */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures full screen height */
    margin: 0;
    padding: 0;
    background: #000 url('gokstad-tyr_output_20241230_235935.png') no-repeat center center fixed;
    background-size: auto 100vh;
    color: #ccc;
}

/* Links */
a {
    text-decoration: none;
    color: #fff;
}

a:hover {
    text-decoration: underline;
}

/* Logo */
.logo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 35px auto;
    display: block;
}

/* Hamburger Menu */
#hamburgerIcon {
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    width: 30px;
    height: auto;
    z-index: 1001;
}

/* Dropdown Menu */
#menuDropdown {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1000;
    top: 50px;
    left: 10px;
    width: 200px;
}

#menuDropdown.show {
    display: block;
}

#menuDropdown ul {
    padding: 0;
    margin: 0;
    text-align: left;
    list-style: none;
}

#menuDropdown ul li {
    margin: 10px 0;
}

#menuDropdown ul li a {
    text-decoration: none;
    color: #fff;
}

/* Support Bar */
#supportBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #000;
    background-color: #333;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Theme Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 0 0 auto;
    padding-left: 20px;
}

#toggleIcon {
    max-height: 30px;
    width: 57px;
    height: auto;
}

/* Support Address */
.support-address {
    text-align: center;
    flex: 1;
    font-size: 14px;
    color: #000;
}

/* Privacy & Ethics Link */
#privacyEthicsLink {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #333;
    color: #ccc;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000; /* Ensures it stays above other elements */
}

.privacy-content {
    text-align: center;
}


/* Centered Text Box */
#centeredTextBox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7); /* Transparent dark background */
    color: #ccc;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    text-align: center;
}

#centeredTextBox a {
    color: #00c8ff;
    text-decoration: none;
}

#centeredTextBox a:hover {
    text-decoration: underline;
}

/* Settings Page Styles */
.settings-container {
    flex: 1; /* Pushes the footer to the bottom */
    max-width: 600px;
    margin: 80px auto 50px; /* Adds bottom margin to prevent overlap */
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #ccc;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.settings-container h1 {
    font-size: 24px;
    color: #00c8ff;
    margin-bottom: 20px;
}

.settings-section {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(50, 50, 50, 0.8);
    border-radius: 8px;
}

.settings-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #00c8ff;
}

.settings-section input {
    width: 100%;
    max-width: 100%; /* Ensures input does not exceed container */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #777;
    border-radius: 5px;
    font-size: 14px;
    background: #222;
    color: #ccc;
    box-sizing: border-box; /* Prevents padding from increasing the width */
}


.settings-section button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #00c8ff;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.settings-section button:hover {
    background: #008CBA;
}

/* Danger Zone */
.danger-zone {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff4d4d;
}

.delete-btn {
    background: #ff4d4d;
}

.delete-btn:hover {
    background: #cc0000;
}

/* PASSWORD COMPARES */
.hidden {
    display: none;
}

.password-match {
    color: green;
    font-size: 14px;
}

.password-mismatch {
    color: red;
    font-size: 14px;
}

.error-message {
    color: red;
    font-size: 0.9em;
}

.success-message {
    color: green;
    font-size: 1em;
}


/* Mobile Responsive */
@media only screen and (max-width: 599px) {

    #centeredTextBox {
        width: 90%;
        max-width: none;
        left: 50%;
        transform: translateX(-50%); /* Only center horizontally */
        top: 30%; /* Adjust vertical position for mobile */
        padding: 15px;
    }

    #centeredTextBox p {
        font-size: 16px;
        line-height: 1.4;
    }


    
    #supportBar {
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 5px 10px;
    }

    .theme-switch-wrapper {
        margin-left: 0;
    }

    #toggleIcon {
        max-height: 20px;
    }

    .logo img {
        max-width: 80%;
    }

    #privacyEthicsLink, #supportBar {
        font-size: 12px;
    }

    .settings-container {
        width: 90%;
        padding: 15px;
    }

    .settings-section input {
        font-size: 16px;
    }

    .settings-section button {
        font-size: 16px;
    }
}
