body, html {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    display: flex;
    justify-content: center;
    position: relative;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    right: 50px;
    display: flex;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

#footer {
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: transparent;
    color: #666;
    padding: 10px 20px;
    font-size: 12px;
    width: auto; /* Adjusted */
    text-align: left;
}

/* Container for Logo and Tagline */
/* Container for Logo and Tagline */
#logoContainer {
    position: fixed;
    left: 20px;
    top: 20px;
    width: 270px;
    text-align: center;
}

#logoContainer img {
    width: 100%;
    max-width: 160px;
    height: auto;
    margin-left: -105px;
}

#tagline {
    margin-top: 10px;
    margin-left: 9px;
    font-size: 18px;
    color: #ABABAB;
    text-align: left;
    line-height: 1.3;
}

/* Topics Bar */
#topicsBar {
    position: fixed; /* Keep topics bar fixed in place */
    left: 24px; /* Position on the left side */
    top: 170px; /* Adjust this value to ensure it's under the tagline and logo */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1001;
}

/* Styling for Topics Links */
#topicsBar a {
    background-color: transparent; /* No fill, transparent background */
    color: #666; /* Grey text color */
    border: 2px solid #666; /* Grey border */
    border-radius: 20px; /* Rounded corners */
    padding: 8px 14px; /* Padding around the text */
    text-align: left; /* Align text to the left */
    cursor: pointer;
    text-decoration: none; /* Remove underline from links */
    font-size: 14px; /* Adjust font size as needed */
    font-weight: bold; /* Make the text bold */
    display: block; /* Ensures the button takes up full width if needed */
    width: auto; /* Button width automatically adjusts to fit the text */
}

/* Hover and Active States */
#topicsBar a:hover, #topicsBar a.active {
    background-color: #666; /* Grey fill background */
    color: white; /* Change text color to white */
    border-color: #666; /* Maintain border color */
}




#authContainer {
    position: fixed;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

#authContainer button, #settingsContainer {
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    padding: 7px 16px;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

#authContainer button:hover, #settingsContainer:hover {
    background-color: #0056b3;
}

#settingsContainer {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#settingsMenu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    right: 0;
    top: 40px;
    border-radius: 5px;
    padding: 10px;
    z-index: 1002;
}

#settingsMenu a {
    display: block;
    padding: 10px 20px;
    color: #007bff;
    text-decoration: none;
}

#settingsMenu a:hover {
    background-color: #f0f0f0;
}

.close-btn {
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
    color: #000;
}

.close-btn:hover {
    color: #ff0000;
}

#userAuth {
    display: none;
    position: fixed;
    right: 20px;
    top: 60px;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1003;
}

input[type="email"], input[type="password"] {
    margin: 5px;
    padding: 8px;
    width: 200px;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#newsfeed {
    flex-direction: column;
    align-items: center;
    margin-left: 0px;
    margin-top: 20px;
    width: 500px;
    position: relative;
}

.report-container {
    width: 100%;
    max-width: 630px;
    background-color: #ffffff;
    padding: 0px;
    margin-bottom: 30px;
    border: 2px solid #dddddd;  /* Ensure the border is applied on all sides */
    border-radius: 8px;
	box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.0);
    position: relative;
    z-index: 10;
    margin-left: 0;
    font-family: 'DM Sans', Arial, sans-serif;
}

.report-container h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    padding: 10px;
    color: #333333;
    line-height: 1.2;
}

.report-container h2 {
    font-size: 1.5rem;
    margin-top: 20px;
    padding: 10px;
    margin-bottom: 10px;
    color: #007bff;
    line-height: 1.3;
}

.report-container p {
    margin-bottom: 15px;
    font-size: 1.125rem;
    padding: 10px;
    color: #555555;
    line-height: 1.5;
}

.report-container .sources {
    margin-top: 20px;
    font-size: 0.875rem;
    color: #888888;
    padding: 10px;
    line-height: 1.4;
}

.report-container .sources p {
    margin-bottom: 10px;
}

.report-container ul {
    padding-left: 20px;
    margin-top: 10px;
}

.report-container ul li {
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: #555555;
}

.section {
    width: 500px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box; /* Ensure borders and padding are included in the element's width/height */
}

.section img {
    width: 100%;
    display: block;
}

.description, .prompt {
    padding: 15px;
}

.description {
    display: block;
}

.prompt {
    display: none;
}

.center-screen {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 1002;
}

.enlarged {
    font-size: 20px;
    padding: 20px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1002;
    display: none;
}

.generate-button {
    cursor: pointer;
    padding: 10px 20px;
    background-color: transparent;
    color: #007bff;
    text-align: center;
    border-radius: 5px;
    margin: 15px;
    display: inline-block;
    border: 2px solid #007bff;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.generate-button:hover {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
}

#subscribeContainer {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1002;
    width: 300px;
    height: auto;
    overflow-y: auto;
}

.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    content: "";
    border-radius: 4px;
    transition: background-color 0.2s;
}

.custom-checkbox input:checked ~ :before {
    background-color: #007bff;
}

.custom-checkbox:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ :after {
    display: block;
}

.custom-checkbox:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.ad-container {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    border-radius: 8px;
}

.ad-content {
    position: relative;
}

.ad-label {
    position: absolute;
    top: -10px;
    left: 10px;
    background-color: #333;
    color: white;
    padding: 2px 10px;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 3px;
}

.offer-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 195px;
    padding: 10px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1001;
    box-shadow: none;
    text-align: center; /* Center the text */
}

.offer-text {
    font-size: 12px; /* Make the text smaller */
    margin-bottom: 8px;
    line-height: 1.4; /* Adjust line height for readability */
}


.offer-header {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}