.welcome-heading {
    font-family: 'Patrick Hand';
    font-size: 18px;
    font-weight: bold;
    color: rgba(2, 19, 2, 0.993); /* Green color */
}

.header-container {
    position: relative;
    padding: 2px 90px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Push logo-left and menu-right */
    gap: 20px;
}

/* Center container: Column layout */
.center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px; /* Pushes the container down */
    
}

.subscription-note {
    color: rgb(73, 71, 71);
    font-size: 12px;
    font-family: 'Patrick Hand';
    margin: 0;
}

.topics-scroll-area {
    width: 100%;
    height: 150px;
    border: 1px solid #ccc;
    overflow: auto;
    padding: 0;
    background: #ffffff;
    box-sizing: border-box;
    border-radius: 8px; /* Add rounded corners */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Add a subtle shadow */
}

.topics-scroll-content {
    display: flex;
    flex-direction: column;
    white-space: nowrap;    /* Enables horizontal scrolling */
}

.scroll-row {
    padding: 6px 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;   /* Change to a lighter, solid separator */
    user-select: text;                /* Text inside row selectable */
    transition: background-color 0.3s ease; /* Smooth transition for hover */
}

.scroll-row:nth-child(even) {
    background-color: #f8f9fa; /* A very light grey for a subtle effect */
}

.scroll-row:hover {
    background: #e9ecef; /* A slightly darker hover effect */
}

.scroll-row.selected {
    background: #cfe2ff;              /* A pleasant blue for selection */
    font-weight: 600;
    border-left: 3px solid #0d6efd; /* Add a left border to highlight selection */
    padding-left: 7px; /* Adjust padding to account for the new border */
}


#TripleDashMenuContainer {
    position: fixed;
    top: 0;
    right: 0;
    padding: 10px;
    z-index: 9999;
}

.learn-more-btn {
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
}

/* Logo styling */
.logo {
    position: absolute;
    top: 10px;        /* Position from top */
    left: 10px;       /* Position from left */
    width: 140px;      /* Smaller size for the logo */
    height: auto;
}

/* App name styling - center the app name */
.app-name {
    position: absolute;
    top: 10px;         /* Align vertically with the logo */
    left: 50%;         /* Position the app name at the center horizontally */
    transform: translateX(-50%);  /* Adjust the centering by shifting it back by 50% of its width */
    width: 200px;      /* Adjust size as needed */
    height: auto;
}

.view-area-container {
    display: flex;
    gap: 5px; /* Horizontal distance between the two areas */
    margin-left: 5px; /* Adds left margin to the whole container */
    margin-right: 5px; /* Adds right margin to the whole container */
}

.view-area {
    background-color: #f9f9f9;
    overflow: auto;
    border: 1px solid #ccc;
    padding: 2px;
    box-sizing: border-box;
    white-space: pre-wrap;
    font-family: 'Patrick Hand'; /* Handwritten font */
    font-weight: bold; /* Set font weight to normal */
    font-size: 14px;
}

/* Social area below both */
.social-area {
    border: 1px solid #ccc;
    padding: 4px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    font-family: 'Patrick Hand';
    font-size: 14px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.left-links {
    color: #336699;
    font-weight: bold;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px; /* small spacing between items */
    padding: 4px;
    margin: 4px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    color: #333;
    background-color: #f0f0f0;
    text-decoration: none;
}

.social-icon:hover {
    color: #0077b5;
}

.social-icon:nth-child(1):hover {
    color: #1DA1F2;
}


/* Newsletter in center-top for desktop */
.newsletter {


    display: flex;
    gap: 10px;
    margin-bottom: 10px; /* space between input and WhatsApp button */
}

#subscribeButton {
    background-color: #a60b0b; /* blue */
    color: white;              /* text color */
    box-shadow: none;
    padding: 5px 10px;
    font-size: 10px;
    cursor: pointer;
}

/* General input styling */
#newsletter-input {
    padding: 3px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 220px; /* default desktop */
    flex: 1; /* allow to grow if needed */
    min-width: 0;
}

#newsletter-input::placeholder {
    color: rgb(188, 182, 182);
    font-size: 10px;
}

/* Mobile-specific tweaks */
@media (max-width: 600px) {
    .newsletter {
        position: static;
        transform: none;
        margin-top: 10px;
        align-self: center;
        width: 100%;
        justify-content: left;
    }

    #newsletter-input {
        width: auto;
        flex: 1;
        max-width: 130px; /* or 100% if you want full width */
    }

    #subscribeButton {
        flex-shrink: 0; /* button keeps size */
    }
}

.research-container {
    display: flex;
    gap: 10px;
    margin-bottom: 90px;
    justify-content: center;
    margin-top: 20px;
}

#research-input {
    padding: 3px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 220px;
    color: rgb(57, 54, 54);
}

#research-input::placeholder {
    color: rgb(183, 181, 181);
}

#researchButton {
    background-color: #4CAF50; /* Green */
    color: white;
    box-shadow: none;
    padding: 5px 10px;
    font-size: 10px;
    cursor: pointer;
    border: none;
}





/* Desktop layout */
@media (min-width: 768px) {
    .view-area-container {
        flex-direction: row; /* Side-by-side layout */
    }

    .view-area {
        flex: 1;
        height: 400px; /* Adjust height as needed */
        width: auto;
    }
}

/* Mobile layout */
@media (max-width: 767px) {
    .view-area-container {
        flex-direction: column; /* Stack the view areas vertically */
        height: 70vh; /* Full viewport height */
    }

    #ViewArea_1 {
        width: 100%;
        align-self: flex-start;
        height: 48%; /* Occupies 48% of the screen height */
    }

    #ViewArea_2 {
        width: 100%;
        align-self: flex-end;
        height: 48%; /* Occupies 48% of the screen height */
    }
}

.triple-dot {
    cursor: pointer;
    font-size: 24px;
    display: inline-block;
    padding: 2px;
}

/* Desktop View: Show Vertical Triple Dots */
.triple-dot.vertical {
    display: inline-block;
}

.triple-dot.horizontal {
    display: none;
}

/* Mobile View: Show Horizontal Triple Dots */
@media (max-width: 768px) {
    .triple-dot.vertical {
        display: none;
    }
    .triple-dot.horizontal {
        display: inline-block;
    }
}

/* Menu Styles */
.triple-dot-menu {
    position: absolute;
    background: white;
    border: 1px solid gray;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    padding: 5px;
    z-index: 1000;
}

.menu-item {
    padding: 5px 10px;
    cursor: pointer;
}

.menu-item:hover {
    background: lightgray;
}


/* Drop-down menu styling */
.tr_menu_dropdown-container {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    z-index: 1000; /* Ensures it stays on top of other content */
}

.separator {
    width: 100%;
    height: 1px; /* Thickness of the separator */
    background-color: #ccc; /* Color of the separator */
    margin: 4px 0; /* Space around the separator */
}

.horizontal_space_separator {
    height: 10px; /* Adjust height as needed */
    width: 600px; /* Thickness of the separator */
    background-color: #ffffff; /* Color of the separator */
    margin: 0 10px; /* Space around the separator */
}
@media (max-width: 768px) { /* Adjust breakpoint as needed */
    .horizontal_space_separator {
        margin: 0 5px;
        width: 60px;
    }
}

.youtube-frame {
    width: 360px;
    height: 230px;
    max-width: 100%;
    border: none;
}

/* On larger screens (desktop), increase iframe size */
@media (min-width: 768px) {
    .youtube-frame {
        width: 640px;
        height: 360px;
    }
}

.about-area {
    max-height: 300px;       /* adjust as needed */
    overflow-y: auto;
    border: 1px solid #ccc;  /* optional: visual boundary */
    padding: 10px;
    margin: 20px 0;
    background-color: #fdfdfd;
  }

.about-area h2 {
    background-color: rgba(201, 172, 154, 0.957);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
  }
  
  .about-area p {
    margin-top: 4px;    /* reduce space above the paragraph */
    margin-bottom: 8px; /* optional: controls spacing between paragraphs */
  }

  /* Spinner and Overlay Styles */
.spinner_overlay {
    position: fixed; /* Sit on top of the page content */
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Black background with opacity */
    z-index: 9999; /* Specify a stack order in case you're using a different order for other elements */
}

.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

