/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* Background Layer */
.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background_url'); /* Update with the actual background URL */
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    z-index: -1;
}

/* Foreground Container */
.foreground-container {
    min-height: 100vh;
    padding: 40px;
}

/* Content Container */
.content-container {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Header */
.header-container {
    text-align: center;
    margin-bottom: 30px;
}

.main-header {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.subheader {
    font-size: 20px;
    color: #555;
}

/* Card Container (Controls + Graphs) */
.card-container {
    display: flex;
    gap: 20px;
}

/* Control Card */
.control-card {
    width: 25%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

.label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.apply-filter-btn {
    margin-top: 10px;
}

.checkbox-container {
    margin-top: 20px;
}

/* Graph Card */
.graph-card {
    width: 75%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .foreground-container {
        padding: 20px;
    }

    .content-container {
        padding: 20px;
    }

    .main-header {
        font-size: 28px;
    }

    .subheader {
        font-size: 16px;
    }

    .control-card, .graph-card {
        width: 100%;
    }

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

/* assets/custom-checkbox.css */

/* Base checkbox reset + styling */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #27223e;
    border: 2px solid #ffffff;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    margin-right: 6px;
    flex-shrink: 0;
    transition: all 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    outline: none; /* clear default focus outline */
}

/* Hover state */
input[type="checkbox"]:hover {
    border-color: #9f9fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

/* Checked state */
input[type="checkbox"]:checked {
    background-color: #6c63ff;
    border-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Checkmark */
input[type="checkbox"]:checked::after {
    content: '✔';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
}

/* Active (mouse-down) */
input[type="checkbox"]:active {
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Remove any focus outline after clicking/tapping */
input[type="checkbox"]:focus {
    outline: none;
}

/* Only show outline when navigated via keyboard */
input[type="checkbox"]:focus-visible {
    outline: 2px solid #9f9fff;
    outline-offset: 2px;
}

/* Button Styles */
/* assets/styles.css */

.apply-filter-btn {
    background-color: #27223e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    outline: none;
  }
  
  .apply-filter-btn:hover {
    background-color: #6c63ff;/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* Background Layer */
.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background_url'); /* Update with the actual background URL */
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    z-index: -1;
}

/* Foreground Container */
.foreground-container {
    min-height: 90vh; /* Adjusted to move content up */
    padding: 20px; /* Slightly reduced padding for more space */
}

/* Content Container */
.content-container {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Header */
.header-container {
    text-align: center;
    margin-bottom: 30px;
}

.main-header {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.subheader {
    font-size: 20px;
    color: #555;
}

/* Card Container (Controls + Graphs) */
.card-container {
    display: flex;
    gap: 20px;
}

/* Control Card */
.control-card {
    width: 25%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

.label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.apply-filter-btn {
    margin-top: 20px;
}

.checkbox-container {
    margin-top: 20px;
}

/* Graph Card */
.graph-card {
    width: 75%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

/* Image container for seqlogo */
#seqlogo-container {
    position: fixed;
    bottom: 30px; /* Move image higher for more space */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    padding: 15px;
    max-width: 90vw;
    max-height: 70vh; /* Allow some height space */
    overflow: hidden;
    text-align: center;
    display: none;
    z-index: 1000;
}

#seqlogo-img {
    width: 100%;  /* Default fit: horizontal */
    height: auto;
}

#seqlogo-container.vertical img {
    width: auto;  /* Fit vertically */
    height: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .foreground-container {
        padding: 20px;
    }

    .content-container {
        padding: 20px;
    }

    .main-header {
        font-size: 28px;
    }

    .subheader {
        font-size: 16px;
    }

    .control-card, .graph-card {
        width: 100%;
    }

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

/* assets/custom-checkbox.css */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #27223e;
    border: 2px solid #ffffff;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    margin-right: 6px;
    flex-shrink: 0;
    transition: all 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    outline: none;
}

/* Button Styles */
.apply-filter-btn {
    background-color: #27223e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    outline: none;
}

.apply-filter-btn:hover {
    background-color: #6c63ff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.apply-filter-btn:active {
    background-color: #4e46b1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.apply-filter-btn:focus {
    outline: none;
}

.apply-filter-btn:focus-visible {
    outline: 2px solid #9f9fff;
    outline-offset: 2px;
}

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }
  
  .apply-filter-btn:active {
    background-color: #4e46b1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .apply-filter-btn:focus {
    outline: none;
  }
  
  .apply-filter-btn:focus-visible {
    outline: 2px solid #9f9fff;
    outline-offset: 2px;
  }


  /* Section container */
.selection-section {
    margin-bottom: 30px;
}

/* Labels */
.section-label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
    color: #333;
}

/* Button group layout */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Base style for selectable buttons */
.selectable-button {
    font-size: 13px;
    padding: 8px 16px;
    border: 2px solid #9f9fff;
    border-radius: 6px;
    background-color: white;
    color: #6c63ff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Hover state */
.selectable-button:hover {
    border-color: #6c63ff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    background-color: #f2f0ff;
}

/* Active/selected button */
.selectable-button.active {
    background-color: #6c63ff;
    color: white;
    border-color: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.rangeslider-container {
    transform: translate(75px, 600px);
}

.main-svg {
    height: 700px;
}

/* Aesthetic border for the range slider */
.rangeslider-bg {
    stroke: #4A90E2;         /* Soft blue border */
    stroke-width: 2;
    rx: 6;                   /* Rounded corners */
    fill: #E6F0FA;           /* Light background inside */
}

/* Style for the custom-radio group */
.custom-radio input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    margin-right: 5px;
    border: 2px solid #949399;
    border-radius: 50%;
    position: relative;
    top: 2px;
    cursor: pointer;
    background-color: white;
    transition: all 0.2s ease;
    outline: none; /* ✨ prevent blue focus ring */
    box-shadow: none;
}

.custom-radio input[type="radio"]:checked {
    background-color: #27223e;
    box-shadow: inset 0 0 0 4px white;
}

.custom-radio input[type="radio"]:hover {
    border-color: #958dff;
}

.custom-radio label {
    color: #27223e;
    font-weight: normal;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.custom-radio label:hover {
    color: #6c63ff;
}


/* General background and text */
body, .help-page {
    background-color: #f5f5fa;
    color: #27223e;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding: 20px;
}

/* Headings */
.help-page h2, 
.help-page h3, 
.help-page h4, 
.help-page h5 {
    color: #27223e;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* Different heading sizes with subtle variation */
.help-page h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid #4a4575;
    padding-bottom: 6px;
    margin-bottom: 1em;
}

.help-page h3 {
    font-size: 1.7rem;
    border-bottom: 1.5px solid #4a4575;
    padding-bottom: 4px;
}

.help-page h4 {
    font-size: 1.3rem;
    color: #3a3570;
}

.help-page h5 {
    font-size: 1.1rem;
    color: #4b478a;
}

/* Paragraphs */
.help-page p {
    font-size: 1rem;
    margin-bottom: 1em;
    max-width: 850px;
}

/* Lists */
.help-page ul {
    margin-left: 20px;
    margin-bottom: 1em;
}

.help-page ul ul {
    margin-left: 20px;
    margin-top: 0.3em;
}

/* Highlight key text */
.help-page b, .help-page strong {
    color: #3f3a72;
}

/* Links (if needed) */
.help-page a {
    color: #5a52a1;
    text-decoration: none;
}

.help-page a:hover {
    text-decoration: underline;
}

/* Container for the help page */
.help-page {
    max-width: 1200px;
    margin: auto;
    background-color: white;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(39, 34, 62, 0.25);
}

.sidebar-link {
    display: block;
    padding: 12px 20px;
    margin: 8px 0;
    color: #ddd;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-link:hover {
    background-color: #4a4575;
    color: #fff;
    box-shadow: 0 0 10px rgba(74, 69, 117, 0.7);
}


/* General layout */
body, .welcome-page {
    /* background-color: #f5f5fa; */
    color: #27223e;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    padding: 20px 20px;
}

/* Title and subtitle */
.welcome-page h1 {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    color: #27223e;
    margin-top: 0;
    margin-bottom: 0.3em;
    letter-spacing: -0.5px;
}

.welcome-page h3 {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 500;
    color: #4a4575;
    font-style: italic;
    margin-bottom: 2em;
}

/* Section headers */
.welcome-page h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #3a3570;
    margin-top: 2em;
    margin-bottom: 0.5em;
    border-left: 5px solid #4a4575;
    padding-left: 10px;
}

/* Paragraphs */
.welcome-page p {
    font-size: 1.1rem;
    max-width: 1000px;
    margin: 0 auto 1.5em auto;
    text-align: justify;
}

/* Highlighted text */
.welcome-page strong, .welcome-page b {
    color: #3f3a72;
}

/* Image styling */
.welcome-page img {
    display: block;
    max-width: 100%;
    margin: 2em auto;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(39, 34, 62, 0.2);
}

/* Add soft card feel to container */
.welcome-page .content-box {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(39, 34, 62, 0.15);
    padding: 40px;
    margin: auto;
    max-width: 1200px;
}

/* Section with text and image side by side */
.welcome-page .intro-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 3em;
}

/* Text block styling */
.welcome-page .intro-text {
    flex: 1 1 50%;
    min-width: 280px;
}

/* Image block styling */
.welcome-page .intro-image {
    flex: 1 1 40%;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
}

.welcome-page .intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(39, 34, 62, 0.15);
}

.intro-image figure {
    margin: 0;
    text-align: center;
}

.intro-image figcaption {
    font-size: 0.95rem;
    color: #555;
    margin-top: 2px;
    line-height: 1.4;
}


.about-page {
    /* background-color: #f5f5fa; */
    color: #27223e;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding: 30px;
}

.about-page h2 {
    font-size: 2.1rem;
    border-bottom: 2px solid #4a4575;
    padding-bottom: 6px;
    margin-bottom: 1em;
}

.about-page h4 {
    font-size: 1.3rem;
    color: #3a3570;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.about-page p {
    font-size: 1rem;
    max-width: 850px;
    margin-bottom: 1em;
}

.about-page ul {
    list-style-type: none;
    padding-left: 0;
}

.about-page li {
    margin-bottom: 6px;
}

.about-page a {
    color: #5a52a1;
    text-decoration: none;
}

.about-page a:hover {
    text-decoration: underline;
}