@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
    --background-color: #1a1a2e; /* Dark blue-purple */
    --block-color: #101030;   /* Dark Navy Blue */
    --block-color-rgb: 16, 16, 48; /* RGB for #101030 */
    --primary-color: #FFFFFF;   /* Vibrant red-pink */
    --primary-color-rgb: 255, 255, 255; /* RGB for #FFFFFF */
    --secondary-color: #4169e1;  /* Deeper blue */
    --text-color-base: #E0E0E0; /* Default light grey for text */
    --text-color-base-rgb: 224, 224, 224; /* RGB for #E0E0E0 */
    --text-color: var(--text-color-base);      /* Light grey */
    --text-color-dark: var(--block-color); /* For buttons with light background, now uses block color */
    --border-color: #533483;    /* Purple border */
    --slot-item-bg: #2e3b5e;    /* Slot item background */
    --slot-highlight: #ffbe0b;  /* Slot highlight color (orange-yellow) */
    --hover-color: #E0E0E0;     /* Button hover color */
    --hover-color-rgb: 224, 224, 224; /* RGB for #E0E0E0 */
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    background-image: url('img/MLRSbg.svg');
    background-repeat: repeat;
    background-size: 100px 100px; /* Adjust size as needed, e.g., 100px for tiling */
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#app-container {
    width: 100%;
    position: relative;
    flex-grow: 1;
}

.app-header {
    width: 100%;
    padding: 10px 20px;
    background-color: var(--block-color);
    box-shadow: 0 2px 10px var(--block-color);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-sizing: border-box;
    height: 70px; /* Set a fixed height for the header */
}

.header-logo-container {
    height: 100%; /* Make container fill header height */
    display: flex;
    flex-direction: row; /* Changed to row for horizontal display */
    align-items: baseline; /* Vertically center items */
    justify-content: flex-start; /* Align logo and beta tag to the left */
    gap: 10px; /* Add gap between logo and beta tag */
    cursor: pointer; /* Indicate clickable element */
}

.header-logo {
    height: 100%; /* Make logo fill the container height */
    width: auto;
    filter: drop-shadow(0 0 5px var(--background-color)) drop_shadow(0 0 15px var(--background-color));
}

.beta-tag-container {
    /* Style for the container wrapping Beta版 text */
    /* margin-top: 0; Removed as it's now horizontal */
    /* margin-left: 10px; Removed as gap is now used */
    /* text-align: center; Removed as it's now horizontal */
}

.beta-tag {
    font-size: 1em;
    color: #FFD700; /* Gold color for beta tag */
    font-weight: bold; /* Make it bold */
}

/* --- Header Visibility Control --- */
.header-hidden .app-header {
    display: none;
}
.header-hidden .app-view {
    padding-top: 20px; /* Reset padding when header is hidden */
}

.app-view {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align to start for content */
    padding: 20px;
    padding-top: 90px; /* Header height (70px) + original top padding (20px) */
    box-sizing: border-box;
    transition: opacity 0.5s ease-in-out;
    overflow-y: auto; /* Allow scrolling for content */
    min-height: calc(100vh - 36px);
}

.app-view.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

/* --- Buttons --- */
button {
    padding: 10px 20px; /* More generous default padding for all buttons */
    font-size: 1.2em; /* Slightly larger default font size */
    font-weight: 700;
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin: 5px;
    box-shadow: 0 4px 15px rgba(var(--block-color-rgb), 0.4);
}

button:hover {
    background-color: var(--hover-color); /* Slightly lighter primary */
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    background-color: var(--secondary-color);
    cursor: not-allowed;
    box-shadow: none;
}

/* --- Input Fields --- */
input[type="text"], textarea { /* General input style */
    background-color: var(--block-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px; /* Adjusted horizontal padding, vertical will be set specifically */
    border-radius: 5px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
}

/* Specific styles for add-item-group elements */
.add-item-group .new-item-input {
    margin-bottom: 0; /* Ensure no extra margin */
    box-sizing: border-box; /* Ensure padding is included in height */
}

.add-item-group .add-item-button {
    display: flex;
    align-items: center;
    justify-content: center; /* Center content horizontally within the button */
}

input[type="text"]:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(var(--block-color-rgb), 0.5);
}

/* --- Splash View --- */
#splash-view {
    justify-content: center;
    flex-direction: column; /* Default to column for overall stacking */
    align-items: center; /* Center items horizontally */
    gap: 30px; /* Space between top section and info section */
    min-height: calc(100vh - 36px);
}

.splash-top-section {
    display: flex;
    flex-direction: row; /* Desktop: row layout for logo on left, buttons on right */
    align-items: center; /* Vertically center content */
    gap: 50px; /* Space between logo and buttons */
    max-width: 800px; /* Max width for this section */
}

#splash-view .splash-logo-container {
    display: flex;
    flex-direction: column; /* For logo and beta tag stacking */
    align-items: flex-start; /* Left-align logo and beta tag */
    margin-bottom: 0; /* Remove bottom margin when next to buttons */
}

#splash-view .splash-logo {
    height: auto; /* Adjust size as needed */
    width: 100%;
    max-width: 500px; /* Limit logo width for desktop */
    filter: drop_shadow(0 0 5px var(--background-color)) drop_shadow(0 0 15px var(--background-color));
    margin: 0; /* Remove auto margin when next to buttons */
}

.splash-actions {
    display: flex;
    flex-direction: column; /* Buttons stacked vertically */
    align-items: center;
    justify-content: center;
    gap: 15px; /* Gap between vertical buttons */
    width: auto; /* Allow width to be determined by content */
    max-width: 250px; /* Max width for button group */
}

#splash-view button {
    padding: 15pxx; /* Larger padding for main action buttons */
    font-size: 1.1em; /* Larger font size */
    width: 100%; /* Full width within its container */
    white-space: nowrap; /* Prevent text wrapping */
    box-sizing: border-box;
    flex: none; /* Remove flex: 1 to allow width: 100% to take effect */
}

.splash-info {
    max-width: 800px;
    margin-top: 0; /* Adjusted from 30px to 0 as gap is handled by parent */
    padding: 20px;
    background-color: var(--block-color);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(var(--block-color-rgb), 0.5);
    text-align: left;
}

.splash-instruction-img {
    width: 100%;
    max-width: 550px; /* Ensure image scales down to fit container */
    height: auto;    /* Maintain aspect ratio */
    display: block;  /* Remove extra space below image */
    margin: 40px auto; /* Center image and add vertical spacing */
    border-radius: 8px; /* Slightly rounded corners for aesthetics */
    box-shadow: 0 0 15px rgba(var(--block-color-rgb), 0.5); /* Soft shadow */
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #splash-view {
        flex-direction: column; /* Mobile: stack logo group and info section vertically */
        gap: 20px;
    }

    .splash-top-section {
        flex-direction: column; /* Mobile: stack logo and buttons vertically */
        gap: 20px; /* Space between logo and buttons in mobile */
        max-width: 90%; /* Adjust width for mobile */
    }

    #splash-view .splash-logo-container {
        align-items: center; /* Center logo and beta tag in mobile */
    }

    #splash-view .splash-logo {
        max-width: 90%; /* Adjust logo width for mobile */
        margin-bottom: 20px; /* Add margin below logo on mobile */
    }

    .splash-actions {
        width: 100%; /* Full width buttons on mobile */
        max-width: 300px; /* Limit button group width for mobile */
        flex-direction: column; /* Ensure buttons are vertical on mobile */
        gap: 10px; /* Adjust gap for mobile */
    }

    #splash-view button {
        font-size: 1.1em; /* Smaller font for mobile buttons */
        padding: 12px 25px; /* Adjust padding for mobile */
        width: 100%; /* Full width buttons on mobile */
        max-width: none; /* Remove max-width for full width mobile buttons */
    }
}

.config-tabs {
    width: 90%;
    max-width: 1000px;
    background-color: var(--block-color);
    border-radius: 10px;
    box-shadow: 0 0 20px var(--block-color);
    padding: 20px;
    box-sizing: border-box;
}

.tab-buttons {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--secondary-color);
}

.tab-buttons li {
    padding: 10px 15px;
    margin-right: 5px;
    background-color: #FFFFFF; /* Changed */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: var(--block-color); /* Changed */
    font-weight: bold;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tab-buttons li:hover:not(.active):not(.add-tab-button) {
    background-color: #f0f0f0; /* Changed */
}

.tab-buttons li.active {
    background-color: var(--secondary-color); /* Changed */
    color: var(--text-color); /* Changed */
    margin-bottom: -2px; /* Overlap border */
    border-bottom: 2px solid var(--secondary-color); /* Changed */
    z-index: 1;
}

.tab-buttons li.add-tab-button {
    background-color: #4a4a6e;
    font-size: 1.5em;
    padding: 10px;
    margin-left: auto;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    min-height: 25px; /* Added */
    min-width: 25px; /* Added */
}

.tab-buttons li.add-tab-button:hover {
    background-color: #6a6a9e;
}

.tab-close-button {
    background: none;
    border: none;
    color: inherit; /* Changed */
    font-size: 1em;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.tab-close-button:hover {
    opacity: 1;
    color: inherit; /* Changed */
}

/* --- Drag and Drop Feedback --- */
.tab-button.dragging,
.item-list li.dragging {
    opacity: 0.5;
    background-color: rgba(var(--block-color-rgb), 0.7);
}

.tab-button.drag-over-top,
.item-list li.drag-over-top {
    border-top: 2px solid var(--primary-color);
}

.tab-button.drag-over-bottom,
.item-list li.drag-over-bottom {
    border-bottom: 2px solid var(--primary-color);
}

/* --- Draggable Icon --- */
.draggable-handle {
    width: 1em;
    height: 1em;
    margin-right: 5px;
    fill: currentColor; /* Inherit color from parent text */
    cursor: grab;
}

.tab-content-pane {
    display: none;
    padding: 15px 0;
    border-top: 2px solid var(--primary-color);
}

.tab-content-pane.active {
    display: block;
}

.tab-content-pane h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.item-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    background-color: var(--background-color);
}

.item-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px dashed var(--secondary-color);
}

.item-list li:last-child {
    border-bottom: none;
}

.item-list li .remove-item-button {
    background-color: #cc3333;
    color: white;
    padding: 5px 8px;
    font-size: 0.8em;
    border-radius: 4px;
    box-shadow: none;
}

.item-list li .remove-item-button:hover {
    background-color: #ff4d4d;
    transform: none;
}

.add-item-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.add-item-group input {
    flex-grow: 1;
}

.config-actions {
    margin: 30px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Main View (Single Slot) --- */
#main-view {
    justify-content: center;
    gap: 20px;
    min-height: calc(100vh - 36px);
}

#slot-machine-wrapper {
    width: 700px; /* Adjusted width for user request */
    height: 90%;
    max-height: 500px; /* Taller for vertical scrolling */
}

.slot-machine {
    width: 100%;
    height: 100%;
    background-color: var(--block-color);
    border-radius: 15px;
    box-shadow: 0 0 25px var(--block-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.slot-header {
    background-color: var(--secondary-color);
    width: 100%;
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    color: var(--text-color);
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: 20px;
}

.slot-display-wrapper {
    height: 300px; /* Height for visible vertical items */
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: var(--slot-item-bg);
    border: 3px solid var(--primary-color); /* Added border for definition */
    border-radius: 10px;
}

.slot-items {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Occupy full width of wrapper */
    display: flex; /* Vertical layout */
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
}

.slot-items.spinning {
    /* State indicator for JS, no transition */
}









@keyframes flash-winner {
    0%, 100% {
        background-color: var(--slot-item-bg);
        color: var(--text-color);
        transform: scale(1);
    }
    50% {
        background-color: var(--slot-highlight);
        color: var(--text-color-dark);
        transform: scale(1.05);
    }
}


.flashing {
    animation: flash-winner 0.5s 2; /* Flash 2 times */
}


.slot-item {
    height: 100px; /* Height of each item */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-size: 1.8em;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--slot-item-bg);
    flex-shrink: 0;
    box-sizing: border-box; /* Added for accurate height calculation */
}

.slot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
        to bottom, /* Changed to bottom for vertical */
        rgba(26, 26, 46, 0.9) 0%,
        rgba(26, 26, 46, 0.2) 20%,
        rgba(26, 26, 46, 0.2) 80%,
        rgba(26, 26, 46, 0.9) 100%
    );
}

.slot-highlight {
    position: absolute;
    top: 50%; /* Changed to top for vertical */
    left: 0;
    width: 100%;
    height: 100px; /* Same as slot-item height */
    transform: translateY(-50%); /* Changed to translateY */
    border-top: 3px solid var(--slot-highlight); /* Changed to top/bottom */
    border-bottom: 3px solid var(--slot-highlight);
    border-left: none; /* Remove left/right borders */
    border-right: none;
    box-shadow: 0 0 15px var(--slot-highlight);
    pointer-events: none;
    z-index: 2;
}

.spin-slot-button {
    margin-top: 25px;
    padding: 15px 40px;
    font-size: 1.3em;
}

#show-final-results-button {
    margin-top: 20px;
    position: absolute;
    bottom: 15px;
    right: 25px;
    z-index: 10;
}

/* --- Custom Popup --- */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100; /* Increased z-index */
    transition: opacity 0.3s ease;
}

#popup-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

#popup-box {
    background-color: var(--block-color);
    padding: 30px 40px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(var(--block-color-rgb), 0.5);
    text-align: center;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#popup-overlay:not(.hidden) #popup-box {
    transform: scale(1);
}

#popup-message {
    font-size: 1.2em;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

#popup-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cancel-button {
    background-color: var(--text-color-base); /* Use variable */
    box-shadow: 0 4px 15px rgba(var(--text-color-base-rgb), 0.4); /* Shadow matches text color */
}

.cancel-button:hover {
    background-color: #bbb; /* Even lighter gray on hover */
}




/* --- Results View --- */
#results-view h1 {
    margin-bottom: 20px;
}

#final-results-list {
    list-style: none;
    padding: 0;
    width: 80%;
    max-width: 600px;
    background-color: var(--block-color);
    border-radius: 10px;
    box-shadow: 0 0 20px var(--block-color);
    margin-top: 20px;
}

#final-results-list li {
    padding: 15px 20px;
    border-bottom: 1px solid var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
}

#final-results-list li:last-child {
    border-bottom: none;
}

#final-results-list li strong {
    color: var(--primary-color);
    font-size: 1.2em;
}

.results-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.results-actions button {
    padding: 10px 20px;
    font-size: 1.2em;
    flex: 1;
    white-space: nowrap;
}

#reset-app-button {
}

/* --- Drag and Drop Feedback --- */
.tab-button.dragging,
.item-list li.dragging {
    opacity: 0.5;
    background-color: rgba(var(--block-color-rgb), 0.7);
}

.tab-button.drag-over-top,
.item-list li.drag-over-top {
    border-top: 2px solid var(--primary-color);
}

.tab-button.drag-over-bottom,
.item-list li.drag-over-bottom {
    border-bottom: 2px solid var(--primary-color);
}

/* --- Draggable Icon --- */
.draggable-handle {
    width: 1em;
    height: 1em;
    margin-right: 5px;
    fill: currentColor; /* Inherit color from parent text */
    cursor: grab;
}

/* --- Terms Link --- */
.terms-link-container {
    text-align: right; /* Center the link within the flow */
    width: 100%;
    margin: 20px 0 10px 0;
    position: absolute;
    bottom:35px;
    right: 10px;;
}

.terms-link-container a {
    color: #FFFFFF;
    text-decoration: none;
    padding-right: 15px;
}

.terms-link-container a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #splash-view {
        justify-content: flex-start;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .splash-logo {
        height: auto; /* Reduced height for mobile */
        max-width: 100%; /* Added to ensure it fits on very small screens */
    }
    h1 {
        font-size: 2em;
    }

    button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .config-tabs, #final-results-list {
        width: 100%;
        padding: 15px;
    }

    .tab-buttons {
        flex-wrap: wrap;
    }

    .tab-buttons li {
        padding: 8px 12px;
        font-size: 0.9em;
    }

    #slot-machine-wrapper {
        width: 95%; /* Adjust wrapper width for mobile */
    }

    .slot-machine {
        width: 100%; /* Make slot machine fill its wrapper */
    }

    .slot-display-wrapper {
        height: 360px; /* 120px * 3 items */
    }

    .slot-item {
        height: 120px; /* 40px * 3 */
        font-size: 1.5em; /* 1em * 1.5 */
    }

    .slot-highlight {
        height: 120px; /* Same as slot-item height */
    }
}
/* --- Hamburger Menu --- */
.app-header {
    justify-content: space-between; /* To push hamburger to the right */
}

#hamburger-menu {
    position: relative;
}

#hamburger-btn {
    font-size: 2em;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    box-shadow: none;
    padding: 0 10px;
}

#hamburger-btn:hover {
    background-color: var(--secondary-color);
    transform: none;
}

#dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: var(--block-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: 0 4px 15px var(--block-color);
    display: flex;
    flex-direction: column;
    z-index: 110;
    width: max-content; /* Ensure width is based on content */
}

#dropdown-menu.hidden {
    display: none !important;
}

#dropdown-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 20px;
    border-bottom: 1px solid var(--secondary-color);
    white-space: nowrap;
}

#dropdown-menu a:last-child {
    border-bottom: none;
}

#dropdown-menu a:hover {
    background-color: var(--secondary-color);
}

/* --- Splash Logo --- */
.splash-logo {
    height: auto; /* Adjust size as needed */
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 0 5px var(--background-color)) drop-shadow(0 0 15px var(--background-color));
    margin: 0 auto;
}

/* --- Settings Popup --- */
#settings-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

#settings-popup-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.settings-popup h2 {
    color: var(--primary-color);
    margin-top: 0;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.1em;
}

.setting-item label {
    margin-right: 20px;
}

#theme-color-picker {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
#theme-color-picker::-webkit-color-swatch {
    border-radius: 50%;
    border: 2px solid var(--border-color);
}
#theme-color-picker::-moz-color-swatch {
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

#volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 150px;
    height: 10px;
    background: var(--secondary-color);
    outline: none;
    border-radius: 5px;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid var(--block-color);
}

#volume-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid var(--block-color);
}

#volume-value {
    min-width: 45px; /* Reserve space for "100%" text */
    text-align: right;
    margin-left: 10px;
}

/* LifeWareLab Credit Styles */
.lifewarelab-credit {
    position: static; /* Corrected to static */
    background-color: var(--block-color); /* Use a theme color */
    color: var(--text-color);
    text-align: center;
    padding: 5px 0;
    font-size: 0.8em;
}

.lifewarelab-credit a {
    color: var(--primary-color);
    text-decoration: none;
}

.lifewarelab-credit a:hover {
    text-decoration: underline;
}

.lifewarelab-logo {
    height: 2em; /* Adjust size as needed */
    vertical-align: middle;
    margin-left: 5px;
}
