/* ===========================
   Combined base.css and desktop.css
=========================== */

/* ===========================
   Global Reset and Box Sizing
=========================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ===========================
   General Styling
=========================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #2C2C2E, #35345A, #4A4A90);
    color: white;
    overflow: auto; /* Ensure the body can scroll if needed */
}

/* ===========================
   Span Styling for Bold Text
=========================== */
span[style*="font-weight:bold"] {
    font-size: 12pt !important;
    color: #9DD6F7;
}

/* ===========================
   Common Link Styling
=========================== */
a {
    color: #9DD6F7;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ===========================
   Common Modal Styling
=========================== */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    /* UPDATED: raise z-index so modal sits above chat icons if needed */
    z-index: 99999999; /* was 200 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.0);
    justify-content: center;
    align-items: center;
    /* backdrop-filter: blur(5px);
       -webkit-backdrop-filter: blur(5px); */
}

.modal.show {
    display: flex;
}

/* 
   Base .modal-content had old scale transform—COMMENTED OUT 
   We provide default .modal-content styling but WITHOUT scale
*/
/*
.modal-content {
    background-color: rgba(44, 44, 46);
    padding: 60px 80px;
    border: 0px solid #9DD6F7;
    width: 80%;
    max-width: 700px;
    border-radius: 15px;
    color: #fdfdfd;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);                
    transition: transform 0.3s ease;      
    font-size:16px;
}

.modal.show .modal-content {
    transform: scale(1);                 
}
*/

/* Default .modal-content styling (no transforms here) */
.modal-content {
    background-color: rgba(44, 44, 46);
    padding: 60px 80px;
    border: 0px solid #9DD6F7;
    width: 80%;
    max-width: 700px;
    border-radius: 15px;
    color: #fdfdfd;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    font-size:16px;
}

/* ===========================
   KEYFRAMES FOR MODAL SLIDE-UP
=========================== */
@keyframes slideUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* UPDATED: Keyframe approach for Info + Settings modals only */
#info-modal.modal .modal-content,
#settings-modal.modal .modal-content {
    /* Initially invisible, no transform */
    opacity: 0;
}

/* When modal has .show, run the slideUp animation over 1.4s */
#info-modal.modal.show .modal-content,
#settings-modal.modal.show .modal-content {
    animation: slideUp 0.1s ease forwards;
}

/* Close button styling */
.close-button {
    color: #9DD6F7;
    font-size:36px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    transition: color 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    color: #9DD6F7;
    margin-top: 0;
    text-align: center;
    font-size:24px;
    font-weight: 600;
}

.modal-content p {
    font-size:18px;
    line-height: 1.5;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 90%;
    }

    .modal-content h2 {
        font-size:14px;
    }

    .modal-content p {
        font-size:14px;
    }
}

.modal-content .token-description {
    font-size:14px;
    color: #ffffff;
    margin-top: 10px;
    line-height: 1.3;
}

/* ===========================
   Loading Indicator Styling
=========================== */
.pulsating {
    color: #9DD6F7;
    animation: pulse 1.5s infinite;
    margin-left: 10px;
    margin-right: 5px;
    margin-bottom: 16px;
    font-size:14px;
}

.loading-indicator {
    display: flex;
    align-items: flex-start;
    margin-top: 0px;
    margin-bottom: 0px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===========================
   Container Styling
=========================== */
.right-column .video-keywords {
    display: none;
}

.container {
    display: grid;
    grid-template-columns: 300px 2fr 2fr;
    gap: 20px;
    height: 100vh;
    padding: 10px;
    background-color: rgba(44, 44, 46, 0.85);
    border-radius: 15px;
    padding-bottom: 60px;
}

/* ===========================
   Left Column Styling
=========================== */
.left-column {
    grid-column: 1 / 2;
    padding: 10px 15px 0px 5px;
    border-radius: 15px;
    width: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.button-section {
    margin-bottom: 20px;
}

.button-section button {
    background-color: #1C1C1E;
    color: #9DD6F7;
    border: 2px solid #9DD6F7;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    font-size:14px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-bottom: 20px;
}

.button-section button:hover {
    background-color: #333333;
}

/* ===========================
   Thumbnail Section Styling
=========================== */
.thumbnail-section {
    overflow-y: auto;
    padding-right: 0px;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-grow: 1;
    border-radius: 0px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.thumbnail-section::-webkit-scrollbar {
    display: none;
}

.video-list-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 20px;
    align-items: flex-start;
    cursor: pointer;
    border-radius: 15px;
    padding: 10px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.video-thumbnail {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin-right: 10px;
    border-radius: 10px;
}

.video-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.video-title {
    color: #9DD6F7;
    font-size:14px;
    margin: 0 0 8px 0;
    font-weight: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-height: 3em;
}

.video-meta {
    margin-top: 0;
    color: #6D6D6D;
    font-size:14px;
    font-weight: 500;
}

.video-list-item:last-child {
    margin-bottom: 0;
}

.video-channel,
.video-views,
.video-date {
    font-size:14px;
    color: #6D6D6D;
    margin: 0 0 2px 0;
}

.video-date {
    margin-bottom: 0;
}

/* ===========================
   Middle Column Styling
=========================== */
.middle-column {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 15px;
    min-height: 0;
    justify-content: flex-start;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.video-keywords {
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.keyword-tag {
    display: inline-block;
    background-color: rgba(157, 214, 247, 0.2);
    color: #9DD6F7;
    border-radius: 10px;
    padding: 10px 12px;
    font-size:14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.keyword-tag:hover {
    background-color: #555555;
    color: #ffffff;
}

.topic-item .keyword-tag {
    display: block;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.topic-item:last-child {
    margin-bottom: 100px;
}

/* ===========================
   Dynamic Content Styling
=========================== */
.dynamic-content-container {
    flex: 1 1 auto;
    overflow-y: scroll;
    overflow-x: hidden;
    border-radius: 0px;
    min-height: 0;
    margin: 5px 0;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dynamic-content-container::-webkit-scrollbar {
    display: none;
}

.dynamic-content {
    padding: 0px 10px;
    background-color: transparent;
    border-radius: 10px;
    white-space: pre-wrap;
    margin-bottom: 5px;
    font-size:14px;
    color: #fdfdfd;
}

.dynamic-content h4,
.dynamic-content h5 {
    margin: 0px 0px 5px 0px;
    color: #9DD6F7;
    font-size:14px;
    font-weight: 600;
    margin-top: -20px !important;
    margin-bottom: -39px !important;
}

.dynamic-content p.meta-analysis {
    color: #9DD6F7 !important;
    text-align: left;
    font-size:14px !important;
    margin: 5px 0px -40px !important;
}

.dynamic-content p {
    margin: 5px 0 -20px;
    font-size:14px;
    color: #fdfdfd;
    line-height: 1.25 !important;
}

.dynamic-content p *,
#summary-text *,
#short-summary-text * {
    line-height: 1.25 !important;
    vertical-align: middle;
}

.dynamic-content p a,
#summary-text a,
#short-summary-text a {
    position: relative;
    top: -2.5px;
    line-height: 1.25 !important;
    text-decoration: none;
    color: inherit !important;
}

.dynamic-content b {
    font-size:14px;
    color: #fdfdfd;
    line-height: 1.25;
}

/* Custom Styling for Summary Text */
#short-summary-text {
    font-size:14px;
    line-height: 1.25;
    color: #fdfdfd;
    margin: -20px !important;
    padding: 0;
}

#summary-text {
    font-size:14px !important;
    line-height: 1.25 !important;
    color: #fdfdfd !important;
    margin-top: -10px !important;
}

#summary-text span {
    font-size:14px !important;
    color: #9DD6F7 !important;
    line-height: 1.25;
}

#summary-text,
#summary-text * {
    font-size:14px !important;
    color: #fdfdfd !important;
    line-height: 1.25;
    margin: 0;
    padding: 0 0 50px;
}

#summary-text a,
#short-summary-text a {
    color: #9DD6F7 !important;
    text-decoration: none;
    line-height: 1.25 !important;
    vertical-align: middle !important;
}

#dynamic-content-container,
.dynamic-content,
#summary-text,
#short-summary-text {
    padding: 0 !important;
    margin: 10px 0px !important;
    line-height: 1.25;
}

/* ===========================
   Right Column Styling
=========================== */
.right-column {
    grid-column: 3 / 4;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 15px;
    min-height: 0;
    flex-grow: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.right-column iframe {
    flex-shrink: 0;
    margin-bottom: 20px;
    border-radius: 20px;
}

/* ===========================
   Chatbox Styling
=========================== */
.chatbox {
    flex: 1 1 auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding-left: 10px;
    border-radius: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.chatbox::-webkit-scrollbar {
    display: none;
}

.chatbox p {
    font-size:14px;
    color: white;
    margin: 5px 0;
    line-height: 1.25;
}

.chatbox p.user-message {
    color: #9DD6F7;
    font-weight: normal;
    padding-bottom: 3px;
    margin-bottom: 0px;
}

.bot-message {
    align-self: flex-start;
    background-color: rgb(207 207 207 / 10%);
    color: #ffffff;
    border-radius: 15px 15px 15px 0;
    margin-top: 10px;
    margin-right: 20px;
    margin-bottom: 3px;
    padding: 20px 25px 20px 25px;
}

.chatbox p a {
    color: #9DD6F7;
    text-decoration: none;
}

.chatbox p a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Chatbox Container Styling */
.chatbox-container {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    flex-shrink: 0;
    align-items: flex-end;
    border-radius: 15px;
}

/* Chat Input Styling */
.chat-input {
    background-color: rgba(44, 44, 46, 0.3);
    color: white;
    border: 2px solid #9DD6F7;
    border-radius: 15px;
    padding: 10px;
    font-size:14px;
    flex-grow: 1;
    height: 45px;
    line-height: 50px;
}

.chat-button {
    background-color: #1C1C1E;
    color: #9DD6F7;
    border: 2px solid #9DD6F7;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    font-size:14px;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 0 20px;
}

.chat-button:hover {
    background-color: #333333;
}

/* Expert Item Styling */
.expert-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    cursor: pointer;
}

.expert-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 10%;
    object-fit: cover;
    margin-right: 10px;
    margin-bottom: 30px;
}

.expert-name {
    color: #9DD6F7;
    font-size:14px;
    text-align: left;
    margin-bottom: 30px;
}

.expert-item:last-child {
    margin-bottom: 100px;
}

/* Footer Styles */
.footer {
    position: fixed;
    bottom: 0;
    width: 99%;
    background-color: rgba(156, 214, 247, 0.8);
    padding: 7px 7px;
    z-index: 100;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.footer-content {
    display: flex;
    justify-content: left;
    align-items: center;
}

.footer-icon {
    margin: 0 8px;
    cursor: pointer;
}

.footer-icon i {
    font-size:21px; /* Increased by ~50% from original 14px */
    color: #ffffff;
    opacity: 1;
}

.footer-icon i:hover {
    color: #9DD6F7;
}

.footer-text {
    color: #ffffff;
    font-size:16px;
    margin-left: 20px;
    opacity: 1;
}

.footer-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.footer-icon a:hover i {
    color: #ffffff;
}

/* .modal-content {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
} */

.container {
    padding-bottom: 40px;
}

/* Chatbot Messages Styling */
.chatbox .bot-message ul {
    margin: 1px 0;
    padding-left: 10px;
    font-size:14px;
    line-height: 1.25 !important;
}

.chatbox .bot-message li {
    margin: 1px 0;
    font-size:14px;
    line-height: 1.25 !important;
}

.chatbox .bot-message p {
    margin: 3px 0;
    font-size:14px !important;
    background-color: rgba(157, 214, 247, 0.2) !important;
}

.chatbox .bot-message p[style*="color: #9DD6F7;"] {
    margin-top: 15px;
    margin-bottom: 2px;
    font-size:14px;
}

.timestamp-link {
    color: #9DD6F7;
    text-decoration: none;
    cursor: pointer;
}

.timestamp-link:hover {
    color: #9DD6F7;
    text-decoration: none;
}

/* Quick Ask Tags Styling */
.quick-ask-tags {
    display: flex;
    gap: 5px;
    margin-top: 2px;
    margin-left: 10px;
}

.quick-ask-tags .quick-tag {
    background-color: #73C3F2 !important;
    color: #ffffff;
    font-weight: normal;
    font-size:10px;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    white-space: nowrap;
    text-transform: uppercase;
}

.quick-ask-tags .quick-tag:hover {
    background-color: #9DD6F7 !important;
}

.quick-ask-tags .quick-tag:active {
    background-color: #9DD6F7 !important;
    transform: scale(0.95);
}

.quick-ask-tags .quick-tag:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* User Message Styling */
.user-message {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    font-size:14px;
    margin: 5px 0 0;
    padding-top: 5px;
}

.user-message .message-text {
    background-color: rgba(157, 214, 247, 0.2);
    padding: 8px 12px;
    border-radius: 10px 10px 0px 10px;
    max-width: 80%;
    word-wrap: break-word;
    font-size:14px;
}

/* Links in Chat */
a {
    color: #9DD6F7 !important;
    text-decoration: none !important;
}

a:hover {
    color: #9DD6F7 !important;
    text-decoration: none !important;
}

/* Bold Text Highlight */
.highlighted-text {
    color: #9DD6F7;
    font-weight: bold !important;
}

/* Video Links in Chat */
.video-link {
    color: #9DD6F7;
    text-decoration: none;
}

.video-link:hover {
    text-decoration: underline;
}

/* ===========================
   SHARE MODAL BASE STYLES
=========================== */

/* The overall modal overlay */
#share-modal.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.0); 
    justify-content: center;
    align-items: center;
}
  
#share-modal.modal.show {
    display: flex;
}
  
/* The modal's dark content panel */
.share-modal-content {
    background-color: rgba(44, 44, 46); 
    margin: 100px auto;
    padding: 50px;
    width: 80%;
    max-width: 700px;
    position: relative;
    border-radius: 15px;
    color: #fdfdfd;
    box-sizing: border-box;
    max-height: 80vh;
    overflow-y: auto;
}
  
/* Close (X) button in top-right */
.share-modal-content .close-button {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    font-size: 36px;
    color: #9DD6F7; 
}
  
/* Inputs (text areas) within the share modal */
.share-modal-content input[type="text"],
.share-modal-content input[type="email"],
.share-modal-content textarea {
    display: block;
    width: 100%;
    height: 50px;
    margin-top: 1em;
    padding: 10px;
    border: 2px solid #9DD6F7;
    border-radius: 15px;
    background-color: #2C2C2E;
    color: #ffffff;
    font-size: 14px;
}
  
.share-modal-content input[type="text"]:hover,
.share-modal-content input[type="email"]:hover,
.share-modal-content textarea:hover {
    border-color: #9DD6F7;
}
.share-modal-content input[type="text"]:focus,
.share-modal-content input[type="email"]:focus,
.share-modal-content textarea:focus {
    outline: none;
    border-color: #9DD6F7;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
  
/* Buttons in the share modal */
.share-modal-content button {
    display: inline-block;
    margin-top: 1em;
    padding: 10px 16px;
    height: 50px;
    font-size: 14px;
    color: #9DD6F7;
    background-color: rgba(157, 214, 247, 0.2);
    border: none;
    border-radius: 15px;
    cursor: pointer;
}
  
.share-modal-content button:hover {
    background-color: #555555;
}
.share-modal-content button:focus {
    outline: none;
}
  
/* Checkboxes for “Start at” and “Include chat bubble” */
.share-modal-content input[type="checkbox"] {
    transform: scale(1.2);
    transform-origin: 0 0;
    margin: 3px;
    cursor: pointer;
    accent-color: #9DD6F7; 
}
  
/* Container for the share link and copy button */
.share-link-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.share-link-field,
.share-copy-button {
    display: block;
}
  
/* The preview area for user/bot bubbles */
#share-bubble-preview-container {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
  
/* ===========================
   USER & BOT BUBBLES (Preview)
=========================== */

/* User (Q) bubble: translucent light-blue bg, teal text */
.share-bubble.user-message {
    background-color: rgba(157, 214, 247, 0.2) !important; 
    color: #9DD6F7 !important;
    border-radius: 10px !important;
    margin: 5px !important;
    padding: 10px !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    font-size: 14px;
}
.share-bubble.user-message .message-text {
    color: #9DD6F7 !important;
}
  
/* Bot (A) bubble: dark gray bg, white text */
.share-bubble.bot-message {
    color: #ffffff !important;
    border-radius: 10px !important;
    margin: 5px !important;
    padding: 10px !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}
.share-bubble.bot-message .message-text {
    color: #ffffff !important;
}

/* 
=================================
BUBBLE & SHARE ICON HOVER STYLES
=================================
*/

/* 1) The parent container for each chat bubble + icon */
.bubble-row {
    position: relative;       /* so the icon is absolutely positioned inside */
    display: inline-block;    /* or block if you prefer full width */
    margin-bottom: 0em;       /* space between bubbles */
}
  
.bot-message,
.user-message {
    /* your existing bubble styling... */
}
  
.bubble-share-icon {
    position: absolute;
    bottom: 0px;
    right: 0;
    font-size: 13px;
    color: rgba(157, 214, 247, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 9999999;
}
  
.bubble-row:hover .bubble-share-icon {
    opacity: 1;
    pointer-events: auto;
}

/* ===========================
   sharing model time input styling
=========================== */
.start-at-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -10px;      
}
.start-at-label .start-at-text {
    font-weight: 500;
}
.start-at-label #share-start-modal-time {
    width: 60px;
    height: 40px;
    padding: 3px;
    border: 2px solid #9DD6F7;
    border-radius: 10px;
    text-align: center;
    margin-top: 2px; 
}

.start-bubble-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 2rem;
}
.start-at-label,
.bubble-inclusion-label {
    display: flex;
    align-items: center;
    gap: 6px;
}
.start-at-text {
    font-weight: 500;
}
#share-start-modal-time {
    width: 60px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
}
.start-bubble-row {
    margin-top: 1rem;
}
.bubble-inclusion-label {
    margin-top: 9px;
}
#share-bubble-preview-container {
    margin-top: 1rem;  
}

/* ==============================================
   Match the "Copy link to Clipboard" button style
   For the Subscribe Now button
============================================== */




   .subscribe-button-container button {
    /* Matching .share-copy-button styling */
    background-color: #343D45;  /* same as your share-copy-button */
    color: #9DD6F7;
    border: none;
    border-radius: 5px;
    padding: 0.8rem 1.6rem;
    margin: 1rem 0;
    cursor: pointer;
    font-size: 1.2rem;
    
    transition: background-color 0.3s ease;
  }
  
  .subscribe-button-container button:hover {
    background-color: #404048;  /* slightly darker or lighter shade */
  }

  .subscribe-button-container {
    display: flex;        /* creates a flex container */
    gap: 2rem;            /* space between buttons */
    justify-content: center; /* center them horizontally (optional) */
  }

  /* Targets any <li> inside the modal content */
.modal-content li {
    font-size: 14px;  /* or 14px, adjust to your preference */
    line-height: 1.4;   /* optional: slightly tighter or looser line spacing */
  }

  /* ===========================
   SUBSCRIBE MODAL HEADINGS
   Make "choose a monthly or yearly plan!" and "soon:" 
   the same font-size as the rest, in header blue
=========================== */
#subscribe-modal .modal-content p.subscription-heading,
#subscribe-modal .modal-content p.soon-text {
    font-size: 16px !important; /* or 14px if you prefer */
    font-weight: bold;
    color: #9DD6F7 !important;  /* same blue as your heading */
    margin: 1rem 0;  /* optional spacing */
}

/* ===========================
   SUBSCRIBE MODAL FLY-UP
   Matches the style of Info/Settings modals
=========================== */

/* When #subscribe-modal has the .show class, animate the .modal-content */
#subscribe-modal.show .modal-content {
    animation: slideUpModal 0.1s ease-out forwards;
}

/* The keyframes for the "fly up" effect */
@keyframes slideUpModal {
    from {
        transform: translateY(60px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Example snippet to color the desktop settings modal icons & text 
   in the same way as mobile */

   .settings-icons-container .settings-row i {
    color: #9DD6F7; /* same as mobile icon color */
    margin-right: 8px;
    margin-bottom: 5px;
    margin-top: 5px;
    margin-left: 10px;
  }
  
  .settings-icons-container .settings-row span {
    color: #9DD6F7;  
  }

  /* Give .settings-row the same style as .keyword-tag */
  .settings-row {
    display: flex;
    align-items: center;
    background-color: rgba(157, 214, 247, 0.2);
    border-radius: 10px;
    padding: 7px 7px;
    margin: 10px 0px 13px 10px;   
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
  }
  
  /* Icon stays #9DD6F7 always */
  .settings-row i {
    color: #9DD6F7;
    margin-right: 6px;
    font-size: 16px;
    height: 20px;
  }
  
  /* Text defaults to #9DD6F7 */
  .settings-row span {
    color: #9DD6F7;
    transition: color 0.3s ease;
  }
  
  /* On hover, background darkens, only text becomes white */
  .settings-row:hover {
    background-color: #555555;
  }
  .settings-row:hover span {
    color: #ffffff;
  }

  
  .settings-icons-container {
    display: grid;
    /* Two columns of equal width: */
    grid-template-columns: 1fr 1fr; 
    gap: 10px;               /* space between items */
    padding: 10px;           /* optional padding inside the container */
    justify-items: stretch;  /* or "center", depending on your preference */
  }
  
  /* Each row remains the same styling, but now they're "grid items." */
  .settings-row {
    display: flex;
    align-items: center;
    background-color: rgba(157, 214, 247, 0.2);
    border-radius: 10px;
    padding: 7px 7px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    /* You can remove the margin if you don’t want extra spacing 
       around each grid item, or keep a small margin if desired: */
    margin: 0;
    height:44px;
      
  }
  
  /* Keep your icon and text color rules:
     (icon remains #9DD6F7; text changes to white on hover) */
  .settings-row i {
    color: #9DD6F7;
    margin-right: 6px;
    font-size: 16px;
  }
  
  .settings-row span {
    color: #9DD6F7;
    transition: color 0.3s ease;
  }
  
  .settings-row:hover {
    background-color: #555555;
  }
  
  .settings-row:hover span {
    color: #ffffff;
  }

  /* Keyframes that move the element from slightly above and transparent 
   to fully visible and in place. */
@keyframes bubbleFlyDown {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Apply the animation */
  .fly-down {
    animation: bubbleFlyDown 0.4s ease forwards;
  }

  /* Make all text in the share modal 14px by default */
.share-modal-content {
    font-size: 14px;
  }
  
  /* Increase input fields to 16px */
  .share-modal-content input[type="text"],
  .share-modal-content input[type="email"],
  .share-modal-content textarea {
    font-size: 16px;
  }
  
  /* Make the 'Copy link to Clipboard' button 16px */
  .share-modal-content .share-button-container .share-copy-button {
    font-size: 14px;
  }


  .user-status-line {
    margin-top: 1rem; 
    text-align: center; /* or left/right if you prefer */
    font-size: 14px;
    color: #9DD6F7;
  }

/* ===========================
   SUBSCRIBE ONBOADING
 
=========================== */

/*****************************
 * ONBOARDING MODAL OVERRIDES
 *****************************/
 .onboarding-modal {
    display: none;                /* hidden by default */
    position: fixed;              /* full-screen overlay */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);  /* overlay */
    z-index: 999999999;           /* ensure it's above other modals */
    justify-content: center;
    align-items: center;
  }
  
  .onboarding-modal.show {
    display: flex;
  }
  
  /* The content panel */
  .onboarding-content {
    background: #2C2C2E;        /* single background color for entire content area */
    max-width: 600px;
    width: 90%;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    color: #ffffff;
    text-align: center;
  }
  
  /* Close button */
  .onboarding-content .close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 36px;
    color: #9DD6F7;
    cursor: pointer;
    z-index: 100; /* ensure it's on top */
  }
  
  .onboarding-slides {
    display: flex;
    overflow: hidden;
    width: 100%;
    transition: transform 0.4s ease;
    background: transparent;
  }
  .onboarding-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 20px;
    background: transparent;
  }
  
  /* Bullet indicators */
  .onboarding-bullets {
    margin-top: 1rem;
  }
  
  .onboarding-bullets .bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    border-radius: 50%;
    background-color: #666;
    cursor: pointer;
  }
  
  .onboarding-bullets .bullet.active {
    background-color: #ffffff;
  }

  .onboarding-modal.show {
    z-index: 999999999; 
  }
  .close-button {
    z-index: 100; 
  }

  .email-button {
    /* Match the .keyword-tag base styles */
    display: inline-block;
    width: 100%;  /* or remove if you want the same inline width as .keyword-tag */
    background-color: rgba(157, 214, 247, 0.2); 
    color: #9DD6F7;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    text-decoration: none;  /* remove underline */
    box-sizing: border-box; /* ensure padding fits in width */
    border: none;           /* remove any default border */
}

/* Match the .keyword-tag:hover styles */
.email-button:hover {
    background-color: #555555;
    color: #ffffff;
}


.user-icon {
    margin: 0 8px 0 0;
    color: #9DD6F7; 
  }

/* Target the modal by its ID or a wrapper class;
   e.g. #add-video-modal .modal-content input[type="text"] and button */
   #add-video-modal .modal-content input[type="text"] {
    border: 2px solid #9DD6F7;
    background-color: #2C2C2E; /* same dark background as chat input */
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 14px;
    outline: none; /* remove the default outline */
    width: 100%;   /* optional: full width inside the modal */
    box-sizing: border-box; /* keep padding inside total width */
    height: 45px;
    
  }
  
  #add-video-modal .modal-content input[type="text"]::placeholder {
    /* match the chat placeholder style */
    color: #888;
   
  }
  
  /* The 'Submit' button: style like the "Send" chat button */
  #add-video-modal .modal-content button {
    border: 2px solid #9DD6F7;
    background-color: #000000;
    color: #9DD6F7;
    padding: 3rem 1rem;
    border-radius: 15px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 0.5rem; /* or margin-left, etc., if you prefer side spacing */
    height: 45px;
    width: 100%;
  }
  
  #add-video-modal .modal-content button:hover {
    background-color: #333333; /* subtle hover effect */
  }

  /* First, reuse the same keyframes from #settings-modal */
@keyframes slideUp {
    0% {
      transform: translateY(100%);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Ensure the modals start invisible/no transform */
  #add-video-modal.modal .modal-content,
  #onboarding-modal.modal .modal-content {
    opacity: 0;
  }
  
  /* When the modal has .show, run the slideUp animation */
  #add-video-modal.modal.show .modal-content,
  #onboarding-modal.modal.show .modal-content {
    animation: slideUp 0.1s ease forwards;
  }

  #video-context-menu .context-menu-item {
    display: block;        /* full bounding box */
    padding: 6px 10px;     /* create a clickable area around the text */
    border-radius: 4px;    /* optional corner rounding */
    color: #ffffff;        /* item text color */
    cursor: pointer;
    font-size: 13px;       /* or your desired size */
    margin-bottom: 0px;    /* small spacing if multiple items */
  }
  
  #video-context-menu .context-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.3);
  }