/* -----------------------------------------
   Base colors from your palette
------------------------------------------ */
:root {
  --body-bg: #cfe8d5;
  --text-body: #333333;
  --font-color: #000000;
  --font-color-input: #000000;

  --bg-tile: #a8d5ba;
  --heading-color: #1c3d26;
  --accent: #4caf50;
  --accent-hover: #3e8e41;
  --border-color: #aaa;
  --focus-border: #007bff;

  --white: #ffffff;
  --black: #000000;


  --navbar-bg: #3d6b47;
  --navbar-link-color: #f0fff4;
  --navbar-link-hover: #ffffff;

  --bg-success: rgba(76, 175, 80, 1);
  --bg-error: rgba(244, 67, 54, 1);

  --tile-coming-soon-bg: rgba(117, 117, 117, 0.5);
  --tile-admin-bg: rgba(255, 247, 100, 0.5);
  --tile-stats-bg: rgba(136, 138, 224, 0.5);
  --tile-footer-bg: rgb(76, 116, 76, 0.35);      /* light green */
  --tile-coming-soon-text: #212121;
  --tile-stats-text: #09305a;

  --btn-bg: #0c4b24;
  --btn-border: #0c4b24;
  --btn-hover-bg: #12a149;
  --btn-coming-soon-bg: #3e4240;
  --btn-coming-soon-hover-bg: #d4e2db;
  --btn-deprecated-bg: #494d4b;
  --btn-deprecated-hover-bg: #8a8b8b;
  
  --legacy-button-bg: #5a8f72;
  --legacy-button-hover-bg: #3d6b47;
  --legacy-button-disabled-bg: #b5ceb8;

  --crud-bg: #d2e9df;
  --crud-border: #bcd5cd;
  --crud-hover: #c3e0d4;
  --editable-hover: #e1f2ec;
  --update-flash: #00ff3c;

  --light-bg: #ffffff;
  --border-light: #ccc;
  --neutral-100: #f0f0f0;

  --alert-success-bg: rgba(76, 175, 80, 0.8);
  --alert-danger-bg: rgba(244, 67, 54, 0.8);
  --success: #28a745;
  --error: red;
  --danger: #dc3545;
  --danger-dark: #a91c2b;
  --warning: #ff9f10;
  --info: #007bff;

  --badge-blue: #007bff;
  --badge-green: green;
  --badge-darkgreen: #3d6b47;
  --badge-yellow: yellow;
  --badge-tag: #17a2b8;
  --badge-grey: #6c757d;

  --tag-badge-bg: #ddd;
  --tag-remove: red;

  --statsdata-bg: rgba(34, 138, 74, 0.4);
  --statsdata2-bg: rgba(34, 138, 74, 0.0);

  --overlay-backdrop: rgba(0,0,0,0.5);
  --modal-backdrop: rgba(0,0,0,0.4);
  --modal-content-bg: #fefefe;
  --overlay-close-bg: rgba(0,0,0,0.6);

  --breadcrumb-bg: #cfe8d5;
  --breadcrumb-scrolled-bg: #e7f7ea;
  --link-default: #1c3d26;
  --link-hover: #1f9141;

  --guest-badge-bg: rgba(255,255,255,0.8);
  --discount-badge-bg: #ff5252;

  --progress-step-border: #4caf50;
  --progress-step-active-bg: #4caf50;
  --progress-step-active-border: #ffffff;

  --highlight-outline: #4caf50;
  --highlight-bg: #e6ffed;

  --bot-comment-color: #111827;
  --bot-comment-bg: rgba(0, 38, 255, 0.25);
  --bot-button-bg: rgba(0, 24, 161, 0.75);
  --bot-button-hover-bg: rgba(0, 38, 255, 0.5);

  --spinner-track: #f3f3f3;
  --spinner-bar: #555;

  --container-max-width: 900px;   
  --container-padding-x: 1rem;    
}

/* Add: Alternate "fun" theme palette */
:root[data-theme="fun"] {
  /* Base */
  --body-bg: #F5F3FF;        /* lilac 50 */
  --text-body: #1F2937;      /* slate 700 */
  --font-color: #111827;     /* gray 900 */
  --font-color-input: #111827;

  --bg-tile: #FFFFFF;
  --heading-color: #111827;
  --accent: #7C3AED;         /* violet 600 */
  --accent-hover: #6D28D9;   /* violet 700 */
  --border-color: #CBD5E1;   /* slate 300 */
  --focus-border: #3B82F6;   /* blue 500 */

  /* Navbar */
  --navbar-bg: #4C1D95;           /* violet 900 */
  --navbar-link-color: #EDE9FE;   /* violet 100 */
  --navbar-link-hover: #FFFFFF;

  /* Status backgrounds */
  --bg-success: #10B981; /* emerald 500 */
  --bg-error: #EF4444;   /* red 500 */

  /* Tiles */
  --tile-coming-soon-bg: rgba(148, 163, 184, 0.35); /* slate */
  --tile-admin-bg: rgba(251, 191, 36, 0.35);        /* amber */
  --tile-stats-bg: rgba(59, 130, 246, 0.25);        /* blue */
  --tile-footer-bg: rgba(196, 181, 255, 0.35);      /* light purple */
  --tile-coming-soon-text: #334155; /* slate 700 */
  --tile-stats-text: #1E3A8A;       /* blue 900 */

  /* Buttons (alt set) */
  --btn-bg: #7C3AED;
  --btn-border: #6D28D9;
  --btn-hover-bg: #6D28D9;
  --btn-coming-soon-bg: #64748B;        /* slate 500 */
  --btn-coming-soon-hover-bg: #475569;  /* slate 600 */
  --btn-deprecated-bg: #9CA3AF;         /* gray 400 */
  --btn-deprecated-hover-bg: #6B7280;   /* gray 500 */

  /* Legacy buttons */
  --legacy-button-bg: #6D28D9;
  --legacy-button-hover-bg: #4C1D95;
  --legacy-button-disabled-bg: #E5E7EB;

  /* CRUD tables */
  --crud-bg: #F8FAFC;       /* slate 50 */
  --crud-border: #E5E7EB;   /* gray 200 */
  --crud-hover: #EEF2FF;    /* indigo 50 */
  --editable-hover: #F3E8FF;/* violet 50 */
  --update-flash: #A7F3D0;  /* emerald 200 */

  /* Surfaces */
  --light-bg: #FFFFFF;
  --border-light: #E5E7EB;
  --neutral-100: #F3F4F6;

  /* Alerts and state */
  --alert-success-bg: rgba(16, 185, 129, 0.85);
  --alert-danger-bg: rgba(239, 68, 68, 0.85);
  --success: #10B981;
  --error: #EF4444;
  --danger: #EF4444;
  --danger-dark: #B91C1C;
  --warning: #F59E0B;
  --info: #3B82F6;

  /* Badges */
  --badge-blue: #3B82F6;
  --badge-green: #10B981;
  --badge-darkgreen: #4C1D95;
  --badge-yellow: #F59E0B;
  --badge-tag: #06B6D4;   /* cyan 500 */
  --badge-grey: #6B7280;

  --tag-badge-bg: #E5E7EB;
  --tag-remove: #EF4444;

  /* Legacy table tints */
  --statsdata-bg: rgba(124, 58, 237, 0.15); /* violet */
  --statsdata2-bg: rgba(124, 58, 237, 0);

  /* Overlays/Modals */
  --overlay-backdrop: rgba(0,0,0,0.5);
  --modal-backdrop: rgba(0,0,0,0.4);
  --modal-content-bg: #FFFFFF;
  --overlay-close-bg: rgba(0,0,0,0.6);

  /* Breadcrumbs/links */
  --breadcrumb-bg: #F5F3FF;
  --breadcrumb-scrolled-bg: #EEF2FF;
  --link-default: #4C1D95;
  --link-hover: #7C3AED;

  /* Misc */
  --guest-badge-bg: rgba(255,255,255,0.9);
  --discount-badge-bg: #F43F5E; /* rose 500 */

  --progress-step-border: #7C3AED;
  --progress-step-active-bg: #7C3AED;
  --progress-step-active-border: #FFFFFF;

  --highlight-outline: #7C3AED;
  --highlight-bg: #EEF2FF;

  --bot-comment-color: #111827;
  --bot-comment-bg: rgba(124, 58, 237, 0.15);
  --bot-button-bg: #7C3AED;
  --bot-button-hover-bg: #6D28D9;

  --spinner-track: #E5E7EB;
  --spinner-bar: #6B7280;

  /* Layout */
  --container-max-width: 900px;
  --container-padding-x: 1rem;
}

/* Add: Night-mode version of the fun theme */
:root[data-theme="fun-night"] {
  --body-bg: #18122B;        /* deep violet */
  --text-body: #E0E7FF;      /* indigo-100 */
  --font-color: #F3F4F6;     /* slate-100 */
  --font-color-input: #18122B;

  --bg-tile: #231942;        /* slightly lighter violet */
  --heading-color: #F8FAFC;  /* almost white */
  --accent: #9F5FFF;         /* fun violet accent */
  --accent-hover: #7C3AED;   /* violet 600 */
  --border-color: #3E2C61;   /* muted violet */
  --focus-border: #38BDF8;   /* blue 400 */

  /* Navbar */
  --navbar-bg: #3E2C61;           /* muted violet */
  --navbar-link-color: #E0E7FF;   /* indigo-100 */
  --navbar-link-hover: #FFFFFF;

  /* Status backgrounds */
  --bg-success: #22D3EE; /* cyan 400 */
  --bg-error: #F43F5E;   /* rose 500 */

  /* Tiles */
  --tile-coming-soon-bg: rgba(71, 85, 105, 0.35); /* slate 700 */
  --tile-admin-bg: rgba(253, 224, 71, 0.25);      /* yellow 300 */
  --tile-stats-bg: rgba(59, 130, 246, 0.18);      /* blue 600 */
  --tile-footer-bg: rgb(196, 181, 255, 0.35);        /* light purple */
  --tile-coming-soon-text: #A5B4FC; /* indigo 200 */
  --tile-stats-text: #60A5FA;       /* blue 400 */

  /* Buttons */
  --btn-bg: #9F5FFF;
  --btn-border: #7C3AED;
  --btn-hover-bg: #7C3AED;
  --btn-coming-soon-bg: #334155;        /* slate 800 */
  --btn-coming-soon-hover-bg: #475569;  /* slate 700 */
  --btn-deprecated-bg: #64748B;         /* slate 500 */
  --btn-deprecated-hover-bg: #475569;   /* slate 700 */

  /* Legacy buttons */
  --legacy-button-bg: #7C3AED;
  --legacy-button-hover-bg: #3E2C61;
  --legacy-button-disabled-bg: #312E81;

  /* CRUD tables */
  --crud-bg: #231942;
  --crud-border: #3E2C61;
  --crud-hover: #312E81;
  --editable-hover: #312E81;
  --update-flash: #22D3EE;

  /* Surfaces */
  --light-bg: #231942;
  --border-light: #3E2C61;
  --neutral-100: #312E81;

  /* Alerts and state */
  --alert-success-bg: rgba(34, 211, 238, 0.85);
  --alert-danger-bg: rgba(244, 63, 94, 0.85);
  --success: #22D3EE;
  --error: #F43F5E;
  --danger: #F43F5E;
  --danger-dark: #BE185D;
  --warning: #FBBF24;
  --info: #38BDF8;

  /* Badges */
  --badge-blue: #38BDF8;
  --badge-green: #22D3EE;
  --badge-darkgreen: #3E2C61;
  --badge-yellow: #FBBF24;
  --badge-tag: #06B6D4;
  --badge-grey: #64748B;

  --tag-badge-bg: #312E81;
  --tag-remove: #F43F5E;

  /* Legacy table tints */
  --statsdata-bg: rgba(159, 95, 255, 0.15); /* accent violet */
  --statsdata2-bg: rgba(159, 95, 255, 0);

  /* Overlays/Modals */
  --overlay-backdrop: rgba(24, 18, 43, 0.95);
  --modal-backdrop: rgba(24, 18, 43, 0.85);
  --modal-content-bg: #231942;
  --overlay-close-bg: rgba(0,0,0,0.6);

  /* Breadcrumbs/links */
  --breadcrumb-bg: #231942;
  --breadcrumb-scrolled-bg: #312E81;
  --link-default: #9F5FFF;
  --link-hover: #22D3EE;

  /* Misc */
  --guest-badge-bg: rgba(71, 85, 105, 0.8);
  --discount-badge-bg: #F43F5E;

  --progress-step-border: #9F5FFF;
  --progress-step-active-bg: #9F5FFF;
  --progress-step-active-border: #F8FAFC;

  --highlight-outline: #9F5FFF;
  --highlight-bg: #312E81;

  --bot-comment-color: #FBBF24;
  --bot-comment-bg: rgba(159, 95, 255, 0.15);
  --bot-button-bg: #9F5FFF;
  --bot-button-hover-bg: #7C3AED;

  --spinner-track: #3E2C61;
  --spinner-bar: #9F5FFF;

  /* Layout */
  --container-max-width: 900px;
  --container-padding-x: 1rem;
}

/*  Main application styles start ////////////////////////////////////////////////////// */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-color: var(--body-bg);
    color: var(--text-body);
}

body, html {
    overflow-x: visible;
}
.container {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.content {
    margin-top: 50px;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}
.content-inner {
    max-width: var(--container-max-width);
    width: 100%;
    margin: 0 auto;
    /* padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x); */
    margin:auto;
    padding:0px;
}
.bg-success {
    background-color: var(--bg-success);
    color: var(--white);
}
.bg-error {
    background-color: var(--bg-error);
    color: var(--white);
}
/*  Main application styles end //////////////////////////////////////////////////////// */

/* Main div design start /////////////////////////////////////////////////////////////// */
/* tile grid functionality */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* default: 1 per row */
    gap: 0.5em; /* spacing between tiles */
}
.tile-grid-max-2 {
    grid-template-columns: repeat(1, 1fr);
}
.tile-grid-max-1 {
    grid-template-columns: repeat(1, 1fr);
}

.tile-wide {
    grid-column: span 1;
}
.tile-narrow {
    grid-column: span 1;
}

/* Main design of different tiles */
.tile {
    background-color: var(--bg-tile);
    border-radius: 10px;
    padding: 0.5em;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.tile-coming-soon {
    background-color: var(--tile-coming-soon-bg);
}
.tile-admin {
    background-color: var(--tile-admin-bg);
    text-align: left;
}
.tile-stats {
    background-color: var(--tile-stats-bg);
    overflow: visible;
    height: auto;   
}
.tile-footer {
    text-align: center;
    font-size:0.8em;
    padding: 0.5em 0;
    background-color: var(--tile-footer-bg);
    color: var(--heading-color);
}


.tile-nopad {
    padding: 0;
    margin-bottom: 1px;
}

.tile h2 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: left;
    color: var(--heading-color);
}
.tile-coming-soon h2 {
    color: var(--tile-coming-soon-text);
}
.tile-stats h2 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: left;
    color: var(--tile-stats-text); 
}

.tile p {
    text-align: left;
    margin: 0 0 15px 0;
    color: var(--heading-color);
}
.tile-coming-soon p {
    color: var(--tile-coming-soon-text);
}
.tile-stats p {
    text-align: left;
    margin: 0 0 15px 0;
    color: var(--tile-stats-text);
}

/* Visibility classes */
.div_hidden {
    display: none;
    visibility: hidden;
    height: 0px;
    overflow: hidden;
}
.div_visible {
    display: flex;
    visibility: visible;
    height: auto;
    overflow: visible;
}

/* tile header and header button formats */
.header-container { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure it spans the full width */
}
.left {
    flex-grow: 1; /* Allows the title to take available space */
}

.right {
    flex-shrink: 0; /* Prevents the button from stretching */
}

/* Tile header pictures */
.tile-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 0 0 80px 0;
  position: relative;
}

.tile-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.tile-image-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  pointer-events: none;
}

/* Responsiveness */
@media (min-width: 768px) {
    .tile-grid {
        grid-template-columns: repeat(2, 1fr); /* tablets */
    }
    .tile-grid .tile-wide {
        grid-column: span 1;
    }
    .tile-grid .tile-narrow {
        grid-column: span 1;
    }
    .tile-grid-max-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .tile-grid-max-2 .tile-wide {
        grid-column: span 1;
    }
    .tile-grid-max-2 .tile-narrow {
        grid-column: span 1;
    }
    .tile-grid-max-1 {
        grid-template-columns: repeat(1, 1fr);
    }
    .tile-grid-max-1 .tile-wide {
        grid-column: span 1;
    }
    .tile-grid-max-1 .tile-narrow {
        grid-column: span 1;
    }   
    .tile-nopad {
        padding: 0.25em;
        margin-bottom: 15px;
    } 
    .tile-image-wrapper {
        height: 250px;
    }
}

@media (min-width: 1200px) {
    .tile-grid {
        grid-template-columns: repeat(3, 1fr); /* desktops */
    }
    .tile-grid .tile-wide {
        grid-column: span 2;
    }
    .tile-grid .tile-narrow {
        grid-column: span 1;
    }
    .tile-grid-max-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .tile-grid-max-2 .tile-wide {
        grid-column: span 1;
    }
    .tile-grid-max-2 .tile-narrow {
        grid-column: span 1;
    }
    .tile-grid-max-1 {
        grid-template-columns: repeat(1, 1fr);
    }
    .tile-grid-max-1 .tile-wide {
        grid-column: span 1;
    }
    .tile-grid-max-1 .tile-narrow {
        grid-column: span 1;
    }   
    .tile-nopad {
        padding: 0.5em;
        margin-bottom: 20px;
    } 
    .tile-image-wrapper {
        height: 300px;
    }
}

/* Main div design end ///////////////////////////////////////////////////////////////// */

/* FORMS - GENERAL FORM FORMATS START ////////////////////////////////////////////////// */

/* -----------------------------------------
   Input fields (text, number, date, etc.)
------------------------------------------ */
.form-input,
input[type="text"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 4px 5px;
  font-size: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--white);
  color: var(--font-color-input);
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--focus-border);
  outline: none;
}

/* -----------------------------------------
   Buttons
------------------------------------------ */
.btn-primary,
button,
input[type="submit"],
input[type="button"] {
  padding: 5px 8px;
  font-size: 12px;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: var(--accent-hover);
}

/* -----------------------------------------
   Textarea
------------------------------------------ */
textarea {
  resize: vertical;
  min-height: 80px;
}

/* -----------------------------------------
   Radio buttons & Checkboxes
------------------------------------------ */
input[type="radio"],
input[type="checkbox"] {
  transform: scale(1);
  margin-right: 5px;
}

/* -----------------------------------------
   Custom Toggle (slider checkbox style)
------------------------------------------ */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.toggle-switch input {
  display: none;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: 0.4s;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  border-radius: 50%;
  transition: 0.4s;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: var(--accent);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}
.toggle-label {
    font-size: 13px;
    font-weight: normal;
}


/* -----------------------------------------
   File upload input
------------------------------------------ */
input[type="file"] {
  font-size: 14px;
  padding: 6px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  width: 100%;
}

/* -----------------------------------------
   Labels
------------------------------------------ */
label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: var(--heading-color);
}
/* -----------------------------------------
   Disabled Input Fields
------------------------------------------ */
input:disabled,
textarea:disabled,
select:disabled {
  background-color: var(--neutral-100); /* light gray */
  color: #888;               /* dimmed text color */
  cursor: not-allowed;
  font-style: italic;
}
/* -----------------------------------------
   Responsive Form Layout
------------------------------------------ */
.form-group {
  margin-bottom: 15px;
}
/* OLD .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}*/ 

/* -----------------------------------------
   Mobile-friendly tweaks
------------------------------------------ */

@media (min-width: 768px) {
    .form-input, input[type="text"], input[type="number"], input[type="date"], input[type="datetime-local"], input[type="email"], input[type="password"], select, textarea {
        padding: 4px 5px;
        font-size: 14px;
    }
    .btn-primary, button, input[type="submit"], input[type="button"] {
        padding: 10px 16px;
        font-size: 14px;
    }
    input[type="radio"], input[type="checkbox"] {
        transform: scale(1.2);
        margin-right: 8px;
    }
}
/* FORMS - GENERAL FORM FORMATS END //////////////////////////////////////////////////// */

/* Navigation Bar styling start //////////////////////////////////////////////////////// */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--white);
    background-color: var(--navbar-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: top;
    justify-content: space-between;
    padding: 10px;
    z-index: 10;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    flex-direction: column;
    width: 100%;
}

.navbar.expanded ul {
    display: flex;
}

.navbar ul li {
    margin: 0.5em 0.5em;
}

.navbar ul li a {
    color: var(--navbar-link-color); /* Light pastel text */
    text-decoration: none;
    font-size: 15px;
}

.navbar ul li a:hover {
    text-decoration: underline;
    color: var(--navbar-link-hover);
}

.navbar-toggle {
    font-size: 24px;
    cursor: pointer;
    margin: 5px;
}
/* Responsiveness */
@media (min-width: 900px) {
    .navbar ul {
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 0.25em;
        display: flex;
        flex-direction: row;
        width: 100%;
    }
}
/* Navigation Bar styling edn ////////////////////////////////////////////////////////// */
/* alternative buttons start /////////////////////////////////////////////////////////// */
.btn {
    display: inline-block;
    background: var(--btn-bg);
    border-color: var(--btn-border);
    color: var(--white);
    padding: 0px 5px;
    border-width: 1px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}
.btn:hover {
    background: var(--btn-hover-bg);
}
.btn-coming-soon {
    background: var(--btn-coming-soon-bg);
    border-color: var(--btn-border);
}
.btn-coming-soon:hover {
    background: var(--btn-coming-soon-hover-bg);
}

.btn-active {
    background: var(--btn-hover-bg);
}
.btn-download {
    display: inline-block;
    background: var(--btn-bg);
    color: var(--white);
    padding: 0px 5px;
}
.btn-download:hover {
    background: var(--btn-hover-bg);
}
.btn-depreciated {
    background: var(--btn-deprecated-bg);
    border-color: var(--btn-deprecated-bg);
}
.btn-depreciated:hover {
    background: var(--btn-deprecated-hover-bg);
}
/* alternative buttons end ///////////////////////////////////////////////////////////// */

/* Flash cards styling start /////////////////////////////////////////////////////////// */ 
.alert-tile {
    text-align: center;
}

.alert-success {
    background-color: var(--alert-success-bg);
    color: var(--white);
}

.alert-danger {
    background-color: var(--alert-danger-bg);
    color: var(--white);
}

/* Flash cards styling end ///////////////////////////////////////////////////////////// */

/* TABLES: General table wrappers start //////////////////////////////////////////////// */
.table-wrapper {
  width: 100%;
  overflow: visible;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smoother scrolling on iOS */
}
/* TABLES: General table wrappers end ////////////////////////////////////////////////// */

/* TABLES: settings tables start /////////////////////////////////////////////////////// */

.settings table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px;
}

.settings td {
    vertical-align: middle;
    font-size: 14px;
}

.settings input,
.settings select {
    width: 100%;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #aaa;
    background-color: var(--white);
    font-size: 14px;
    box-sizing: border-box;
}

.settings input:focus,
.settings select:focus {
    border-color: #007bff;
    outline: none;
}

.settings .btn-add {
    padding: 8px 14px;
    background-color: #007bff;
    color: var(--white);
    border: none;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.settings .btn-add:hover {
    background-color: #0056b3;
}

/* TABLES: settings tables end ///////////////////////////////////////////////////////// */

/* TABLES: CRUD and editable table styles start //////////////////////////////////////// */

.crud-table {
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
    font-size: 12px; /*15px*/
    background-color: var(--crud-bg); /* gentle mint tone */
    border-radius: 6px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .crud-table {
        font-size: 15px;
    }
}

.crud-table input[type="text"] {
  width: 100%;
}

.crud-table-small-font table {
    font-size: 10px !important;
}
.crud-table-small-font th,
.crud-table-small-font td {
    font-size: 10px !important;
    padding: 2px 3px !important; 

}

table.crud-table tr:not(:last-child) {
    /* border-bottom: 1px solid #b5ceb8; */
    border-bottom: none; /* no border for last row */
}
/* no border for tds in last row */
.crud-table tr:last-child td {
    border-bottom: none;
}
/* Table rows */
.crud-table td,
.crud-table th {
    padding: 6px 10px; /* less padding */
    border-bottom: 1px solid var(--crud-border);
    line-height: 1.2;   /* shrink text block height */
    vertical-align: middle;
    font-size: 12px; /*15*/
    cursor: pointer;
}

@media (min-width: 768px) {
    .crud-table td, .crud-table th {
        font-size: 15px;
    }
}

/* Hover effect */
.crud-table tr:hover {
    background-color: var(--crud-hover);
}

/* Editable cell hover */
.editable-task:hover {
    background-color: var(--editable-hover);
    cursor: pointer;
}

.update-flash {
    background-color: var(--update-flash); /* Light green */
    transition: background-color 0.3s ease;
}
.crud-table-bg-light {
    width: 100%;
    font-family: 'Segoe UI', sans-serif;
    border: 0px solid #ffffff;
    font-size: 12px;
    background-color: var(--light-bg);
    overflow: hidden;
}
@media (min-width: 768px) {
    .crud-table-bg-light {
        font-size: 15px;
    }
}


table.crud-table-bg-light tr, table.crud-table-bg-light td {
    border-bottom: 1px solid var(--light-bg);
}
.crud-table-bg-light td, 
.crud-table-bg-light th
{
    background-color: var(--light-bg);
    border: 0px solid var(--light-bg);
}
.myhover:hover tr, .myhover:hover td
{
    background-color: var(--editable-hover);
}
.crud-table-drop {
    background-color: #ffffff;
}
/* TABLES: CRUD and editable table styles start //////////////////////////////////////// */

/* FORMS: CRUD and editable table form element styles end ////////////////////////////// */
.add-input {
    width: 100%;
    padding: 4px 8px;
    font-size: 14px;
    height: auto;
    line-height: 1.2;
    border: 1px solid #aaa;
    border-radius: 5px;
    background-color: var(--white);
    transition: border-color 0.3s;
}

.add-input:focus {
    border-color: #007bff;
    outline: none;
}

.btn-add {
    padding: 7px 14px;
    font-size: 14px;
    background-color: #4caf50;
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-add:hover {
    background-color: #3e8e41;
    cursor: pointer;
}

.delete-btn {
    background: none !important;
    margin: 2px !important;
    border: none;
    color: var(--danger);
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.2s, color 0.3s;
    padding: 4px;
}

.delete-btn:hover {
    background: none !important;  /* keep it clean on hover */
    color: var(--danger-dark);
    transform: scale(1.1);
}

.edit-btn {
    background: none !important;
    margin: 2px !important;
    border: none;
    color: var(--btn-bg);
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.2s, color 0.3s;
    padding: 4px;
}

.edit-btn:hover {
    background: none !important;  /* keep it clean on hover */
    color: var(--btn-hover-bg);
    transform: scale(1.1);
}
/* FORMS: CRUD and editable table form element styles start //////////////////////////// */

/* Notification toaster styles start /////////////////////////////////////////////////// */
.toast-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 10px 15px;
    border-radius: 6px;
    color: var(--white);
    font-size: 14px;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 0.95;
    min-width: 150px;
    max-width: 300px;
}

.toast-success {
    background-color: var(--success);
    color: var(--black);
}
.toast-error {
    background-color: var(--danger);
    color: var(--black);
}
.toast-danger {
    background-color: var(--warning);
    color: var,--black);
}
.toast-info {
    background-color: var(--info);
    color: var,--black);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 0.95; transform: translateY(0); }
}

/* Notification toaster styles end ///////////////////////////////////////////////////// */

/* Autocomplete start ////////////////////////////////////////////////////////////////// */
.autocomplete-dropdown {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    border-top: none;
    z-index: 9999;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.autocomplete-dropdown div {
  padding: 8px;
  cursor: pointer;
}

.autocomplete-dropdown div:hover {
  background-color: var(--neutral-100);
}
.autocomplete-item {
    padding: 6px 10px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background-color: var(--neutral-100);
}
#autocomplete-dropdown {
  position: absolute;
  z-index: 9999;
  background: var(--light-bg);
  border: 1px solid var(--border-light);
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Autocomplete end //////////////////////////////////////////////////////////////////// */

/* Badges start //////////////////////////////////////////////////////////////////////// */
.small-font {
    font-size: 10px;
}
.badge {
  padding: 4px 8px;
  margin: 0px 1px 0px 0px;
  text-align: center;
  border-radius: 5px;
  text-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
.badge-small {
  padding: 2px 4px;
  margin: 0px 1px 0px 0px;
  text-align: center;
  border-radius: 5px;
  text-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
.badge-red {
  background-color: var(--danger);
  color: var(--white);
}
.badge-blue {
  background-color: var(--badge-blue);
  color: var(--white);
}
.badge-green {
  background-color: var(--badge-green);
  color: var(--white);
}
.badge-darkgreen {
  background-color: var(--badge-darkgreen);
  color: var(--white);
}
.badge-yellow {
  background-color: var(--badge-yellow);
  color: var(--black);
}
.badge-tag {
  background-color: var(--badge-tag);
  color: var,--black);
}
.badge-grey {
  background-color: var(--badge-grey);
  color: var(--white);
}
.badge-reduced-padding {
  padding: 2px 4px;
}

/* tags */
.tag-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.tag-badge {
    background-color: var(--tag-badge-bg);
    border-radius: 16px;
    padding: 2px 10px;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
}
.tag-badge-gap {
    margin-right: 6px;
}

.remove-tag {
    margin-left: 6px;
    cursor: pointer;
    color: var(--tag-remove);
}
/* end tags */
/* Badges end ///////////////////////////////////////////////////////////////////////// */

/* -------------------------------------- OLD ------------------------------------------ */
/* -------------------------------------- OLD ------------------------------------------ */
/* -------------------------------------- OLD ------------------------------------------ */



/* OLD --------------- Table styling */ 



table.statsdata, tr.statsdata {
    background-color: var(--statsdata-bg);
}
table.statsdata2, tr.statsdata2 {
    background-color: var(--statsdata2-bg);
    padding: 5px;
}
table.appdata {
    width:100%;
    font-size: 12px;
}
.appdata-fullwidth {
    width:100%;
}

th.highlight, td.highlight {
    font-weight: bold;
}

th.callout, td.callout {
    text-align: right;
    font-size: 24px; /*36*/
    font-weight: bold;
}

@media (min-width: 768px) {
    th.callout, td.callout {
        font-size: 36px;
    }
}

table th, table td {
    padding: 5px;
    text-align: left;
}



        /* Editable Cells */
td.editable, td[contenteditable="true"] {
    background-color: #fff;
    cursor: text;
    transition: background-color 0.3s ease-in-out;
}


        /* When a user clicks to edit */
td[contenteditable="true"]:focus {
    outline: none;
    background-color: #fffae6; /* Light yellow to indicate editing */
}

        /* Checkbox and Select Styling */
input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
}

select.guestlist {
    padding: 3px 0px;
    font-size: 12px;
}

        /* Highlight Changed Cells */
td.changed {
    background-color: #d4edda; /* Light green to indicate a successful change */
    transition: background-color 0.5s ease-in-out;
}

/*  OLD --------------- Form element styling */ 

button.delete-guest {
    display: inline-block;
    background-color: #af4c4c; /* Green */  
    color: var(--white);
    border: none;
    padding: 2px 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
button.save-changes {
    display: inline-block;
    background-color: #4CAF50; /* Green */
    color: var(--white);
    border: none;
    padding: 2px 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.delete-guest:hover {
    background-color: #a04545;
}

button.save-changes:hover {
    background-color: #45a049;
}


button, a.btn {
    background-color: var(--legacy-button-bg);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px auto;
    display: block;
}
a.btn-guestlist {
    margin: 0px 0px 0px 0px; 
    padding: 2px 2px 2px 2px;
    text-align: center;
    display: inline-block;
}

button:hover {
    background-color: var(--legacy-button-hover-bg);
}

button:disabled {
    background-color: var(--legacy-button-disabled-bg);
    cursor: not-allowed;
}

/* Overlays and Modals start /////////////////////////////////////////////////////////// */
#picture-overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--overlay-backdrop); /* Black background with opacity */
  z-index: 200; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */

  display: flex;
  justify-content: center;
  align-items: center;
}
#picture-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#picture-overlay-content img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  border-radius: 5px;
}

.form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-backdrop);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 220;
}

.form-overlay-wrapper {
  max-height: 90vh;
  max-width: 90vw;
  overflow: auto; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-overlay-scroll {
  width: 90%;
  max-height: 90vh;
  /* margin: 0; */
  overflow-y: auto;
  background-color: var(--bg-tile);
  border-radius: 10px;
  padding: 0.5em;
  width: 100%;
  max-width: 700px;
  box-sizing: border-box;

}

/* Ensure the inner tile stretches correctly */
.tile-overlay {
  width: 100%;
  /* max-width: 700px; /* Constrain to a sensible width */
  margin: 0em;
  padding:0em;
  overflow-x: hidden; /* Prevent horizontal scroll */
  box-sizing: border-box;
}

/* Improve form layout inside the overlay table */
.form-overlay-scroll table.crud-table td {
  padding: 10px;
  vertical-align: top;
  border: none;
}
.form-overlay-scroll table.crud-table input[type="text"] {
  width: 100%;
  box-sizing: border-box;
}

/* Responsive tweaks for mobile-first layout */
@media (min-width: 768px) {

}
/* --------- Modals --------- */
/* static/styles.css or in a <style> tag */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

.modal-content {
    background-color: var(--modal-content-bg);
    color: var(--font-color); /* Use your theme's font color */
    margin: 5% auto; /* 5% from the top and centered */
    padding: 20px;
    border: 1px solid var(--border-color, #888); /* Use your theme's border color */
    border-radius: 5px;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 400px; /* Maximum width */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

.modal-close-btn {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
}
.modal-close-btn:hover,
.modal-close-btn:focus {
    color: var(--black);
    text-decoration: none;
    cursor: pointer;
}
.overlay-close {
  background: var(--overlay-close-bg);
  color: var(--white);
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

/* Overlays and Modals end ///////////////////////////////////////////////////////////// */

/* Breadcrumbs start /////////////////////////////////////////////////////////////////// */
ul.breadcrumb {
  position: sticky;
  top: 0;
  background-color: var(--breadcrumb-bg); 
  z-index: 5;
  padding: 0.2em 0.2em;
  margin: 0.2em 0em;
  border-radius: 3px;
  list-style: none;
  transition: box-shadow 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}
ul.breadcrumb.scrolled {    
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  background-color: var(--breadcrumb-scrolled-bg); 
}

/* Display list items side by side */
ul.breadcrumb li {
  display: inline;
  font-size: 14px;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
  padding: 0.5em;
  color: black;
  content: "/\00a0";
}

/* Add a color to all links inside the list */
ul.breadcrumb li a {
  color: var(--link-default);
  text-decoration: none;
}

/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
  color: var(--link-hover);
  text-decoration: underline;
  font-weight:bold;
}
/* Breadcrumbs end ///////////////////////////////////////////////////////////////////// */
/* Template preview styling */
.preview-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.preview-iframe {
  flex: 1;
  width: 100%;
  border: none;
}
.preview-iframe-mobile {
  flex: 1;
  width: 390px;
  height: 800px;
  border: none;
}
.preview-iframe-landscape {
  flex: 1;
  width: 800px;
  height: 390px;
  border: none;
}
/* Guestlist stats ///////////////////////////////////////////////////////////////// */
.guestlist-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    font-size: 0.9em;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5em;
}

.label-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.5em;
}

.label-stats-row > div {
    min-height: 0;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25em;
    margin-top: 0.5em;
}

.guest-badge {
    background: var(--guest-badge-bg);
    border-radius: 999px;
    padding: 0.25em 0.5em;
    font-size: 0.85em;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* -------------------------------------- */

/* PRICING STYLING -------------------------------------- */
.pricing-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2em;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.pricing-card:hover {
  transform: translateY(-2px);
}
.pricing-card.highlight {
  border: 3px solid var(--accent);
  background-color: #e9f7ef;
}

.pricing-card h3 {
  margin: 0.2em 0;
  color: var(--heading-color);
}

.pricing-card .price {
  font-size: 1.6em;
  font-weight: bold;
  margin: 0.3em 0;
}

.price-onetime {
  font-size: 1.6em;
  margin: 0.3em 0;
}

.pricing-card .subtitle {
  color: #555;
  font-size: 0.95em;
  margin-bottom: 1em;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 1em;
}

.pricing-card ul li {
  margin-bottom: 0.5em;
  color: #333;
}

.pricing-badge {
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.7em;
  padding: 0.25em 0.6em;
  border-radius: 10px;
  margin-left: 5px;
  vertical-align: middle;
}

/* Responsive columns */
@media (min-width: 600px) {
  .pricing-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .pricing-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
.has-discount {
  position: relative;
  display: inline-block;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9em;
  display: inline-block;
}

.discounted-price {
  color: var(--accent);
  font-size: 1.6em;
  font-weight: bold;
  margin: 0.3em 0;
}

.discount-badge {
  position: absolute;
  top: -0.6em;
  right: -1.2em;
  background-color: #ff5252;
  color: var(--white);
  font-size: 0.65em;
  padding: 0.25em 0.5em;
  border-radius: 8px;
  transform: rotate(-10deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Registration styling: Progress Tracker -------------------------------------- */

.progress-tracker {
    display: flex;
    justify-content: space-between;
    max-width: 300px;
    margin: 0 auto 1rem;
}

.step {
    background: var(--white);
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    border-color: var(--progress-step-border);
    border-width: 2px;
    border-radius: 50%;
    font-weight: bold;
}

.step.active {
    background: var(--progress-step-active-bg);
    border-color: var(--progress-step-active-border);
    color: var(--white);
}

.reg-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
    margin: auto;
}

.reg-form input, .reg-form select {
    padding: 0.5rem;
    font-size: 1rem;
}

.error-list {
    color: var(--error);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
.fade-transition {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.fade-transition.fade-in {
  opacity: 1;
}
.fade-transition.fade-out {
  opacity: 0;
}

/* Input feedback */
input.regform:valid {
  border-color: var(--accent);
  /* retaining background color literal for clarity; could be var if desired */
}
input.regform:invalid {
  border-color: #f44336;
  /* ...existing code... */
}
input.regform:focus:invalid {
  /* ...existing code... */
  box-shadow: 0 0 5px #f44336;
}
.highlight-flash {
  outline: 2px solid var(--highlight-outline);
  background-color: var(--highlight-bg);
  transition: background-color 0.5s ease-out;
}
.checkbox-container {
  margin-top: 1rem;
  font-size: 0.95em;
}
.checkbox-container input[type="checkbox"] {
  margin-right: 0.5em;
}

/* bot styling */
.bot-comment {
    font-size:14px;
    color:var(--black);
    background-color: var(--bot-comment-bg);
    border-radius: 5px;
    margin:0 0 0.75em 0;
    padding:0.5em;
}
.bot-highlighting {
    color:var(--bot-comment-color) !important;
    background-color: var(--bot-comment-bg) !important;
}
.bot-button {
    color:var(--white) !important;
    background-color: var(--bot-button-bg) !important;
}
.bot-button:hover {
    color:var(--white) !important;
    background-color: var(--bot-button-hover-bg) !important;
}
.bot-loading-spinner {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bot-spinner {
    border: 8px solid var(--spinner-track);
    border-top: 8px solid var(--spinner-bar);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* -----------------------------------------
   Custom Toggle (slider checkbox style)
------------------------------------------ */
.bot-toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.bot-toggle-switch input {
  display: none;
}
.bot-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: 0.4s;
}
.bot-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  border-radius: 50%;
  transition: 0.4s;
}
.bot-toggle-switch input:checked + .bot-toggle-slider {
  background-color: rgba(0, 38, 255, 0.25);
}
.bot-toggle-switch input:checked + .bot-toggle-slider:before {
  transform: translateX(22px);
}
.bot-toggle-label {
    font-size: 13px;
    font-weight: normal;
}

/* Example prompts styling */
.example-prompts {
    margin-top: 0.5em 0;
    padding: 0.5em 0.5em;
    background: var(--tile-coming-soon-bg, #f3f4f6);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(124,58,237,0.07);
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

/* .example-prompts::before {
    content: "Example ideas:";
    font-weight: bold;
    color: var(--accent, #7C3AED);
    margin-bottom: 0.5em;
    font-size: 1.1em;
    letter-spacing: 0.5px;
} */

.example-prompt {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
    padding: 0.25em 0;
}

.add-prompt {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(124,58,237,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    margin:0;
}
.add-prompt:hover {
    background: var(--accent-hover, #6D28D9);
    transform: scale(1.1);
}

.example-prompt span {
    font-size: 0.9em;
    color: var(--heading-color, #111827);
    background: none;
    padding: 0.1em 0.1em;
    border-radius: 4px;
    flex: 1;
    /* Optionally, add a subtle highlight on hover */
    transition: background 0.2s;
}
.example-prompt:hover span {
    background: var(--highlight-bg, #EEF2FF);
}

/* Container for the game tiles */
.game-tiles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5em;
    margin-top: 1em;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Individual game tile */
.game-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1em;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.game-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Game title */
.game-title {
    text-align: center;
    margin-bottom: 1em;
    font-weight: bold;
}

/* Load button */
.btn-load-game {
    background-color: #ffffff;
    color: #333333;
    border: none;
    padding: 0.5em 1em;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn-load-game:hover {
    background-color: #333333;
    color: #ffffff;
}