.logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    /*margin-bottom: 20px;*/
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    color: #333;
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* To make the background fixed when scrolling */
}

.container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 750px;
    width: 90%;
}

h1 {
    color: #1F394F;
    margin-bottom: 30px;
    font-size: 2.5em;
}

h2 {
    color: #1F394F;
}

h4 {
    color: #1F394F;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    font-size: 1.1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box; /* Include padding in width */
}

.search-input:focus {
    border-color: #1F394F;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.2);
}

.search-button {
    background-color: #1F394F;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 24px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-button:hover {
    background-color: #1F394F;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.results {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: left;
    min-height: 80px; /* Ensure some space even if empty */
}

.results p {
    margin: 5px 0;
    font-size: 1.1em;
}

.error {
    color: #ea4335;
    font-weight: bold;
}

.success {
    color: #fbbc05;
}

.message {
    color: #34a853;
}

#comment-text {
    width: 100%;
    min-height: 100px;
    padding: 12px 15px;
    border: 1px solid #dfe1e5;
    border-radius: 8px;
    font-size: 1.1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    margin-bottom: 15px;
}

#comment-text:focus {
    border-color: #1F394F;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.2);
}

.lists-container {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.list-column {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.list-column h3 {
    color: #1F394F;
    font-size: 1.2em;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

h3 {
    color: #1F394F;
    font-size: 1.2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.number-list span {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    color: #555;
    transition: color 0.2s;
}

.number-list span:hover {
    color: #1F394F;
    text-decoration: underline;
}

.progress-bar {
    display: flex;
    height: 20px;
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-segment {
    height: 100%;
}

.progress-negative {
    background-color: #ea4335;
}

.progress-neutral {
    background-color: #fbbc05;
}

.progress-positive {
    background-color: #34a853;
}

/* Related numbers styling */
.related-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.related-list a {
    display: inline-block;
    padding: 8px 12px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 20px;
    color: #1F394F;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.2s ease;
}

.related-list a:hover {
    background-color: #1F394F;
    color: white;
    border-color: #1F394F;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Privacy policy */
.open-btn {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    line-height: 1.6;
    color: #1F394F;
}

.modal-content h2 {
    margin-top: 0;
    color: #1F394F;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.modal-content h3 {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d32f2f;
}

.close-modal {
    position: sticky;
    bottom: -30px;
    margin-top: 20px;
    background: #1F394F;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    float: right;
    font-weight: bold;
}

.close-modal:hover {
    background: #1F394F;
}

.modal-overlay.active {
    display: flex;
}

.contact-link {
    color: #007bff;
    text-decoration: none;
}

.report-tag {
    color: #ea4335;
    font-weight: bold;
    font-size: 0.9em;
    border: 1px solid #ea4335;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

.report-link {
    text-decoration: none;
    white-space: nowrap;
    color: #1F394F;
    font-size: 0.9em;
    opacity: 0.7;
    margin-left: 5px;
}

.report-link:hover {
    text-decoration: underline;
    opacity: 1;
}

.slogans-left {
    position: fixed;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    z-index: 1;
    max-width: 20%; /* Added to encourage wrapping */
}

.slogans-right {
    position: fixed;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
    color: white;
    z-index: 1;
    max-width: 20%; /* Added to encourage wrapping */
}

.slogans-left h3, .slogans-right h3 {
    color: white;
    font-size: 1.5em; /* Changed from 2.5em to 2em for H2 size */
    margin-bottom: 15px;
    white-space: normal; /* Ensure text wraps */
}

@media (max-width: 1400px) {
    .slogans-left,
    .slogans-right {
        display: none;
    }
}