body {
    margin: 0;
    padding: 0;
    background: #0a0a0a;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-y: auto;
    font-size: 16px; /* Base font size for better readability */
    line-height: 1.6; /* Improved line spacing */
}


/* Add this to your style.css file */
.share-btn {
    background: #007bff; /* Nice bright blue */
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px; /* Increased from 15px to 25px for more space */
}

.share-btn:hover {
    background: #0056b3;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    transform: translateY(-2px);
}




.container {
    text-align: center;
    padding: 20px;
}

.news-box-wrapper {
    display: flex;
    align-items: stretch;
    width: 620px;
    margin: 0 auto;
}

.news-box {
    flex: 1;
    width: 600px;
    height: 400px;
    background: #1c2526;
    border: 2px solid #00ffcc;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 20px #00ffcc, 0 0 40px #00ffcc;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: none;
    font-size: 15px; /* Slightly larger font for news content */
}

.news-box::-webkit-scrollbar {
    display: none;
}

.scrollbar-container {
    width: 20px;
    height: 400px;
    margin-left: 0;
    background: #1c2526;
    border: 2px solid #00ffcc;
    border-left: none;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 0 20px #00ffcc, 0 0 40px #00ffcc;
    display: flex;
    align-items: center;
}

.news-slider {
    writing-mode: vertical-lr;
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    background: #1c2526;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
}

.news-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #00ffcc;
    border: 2px solid #000;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffcc;
    cursor: pointer;
}

.news-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #00ffcc;
    border: 2px solid #000;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffcc;
    cursor: pointer;
}

.news-slider::-webkit-slider-runnable-track {
    background: #2c3e50;
    border-radius: 5px;
}

.news-slider::-moz-range-track {
    background: #2c3e50;
    border-radius: 5px;
}

.news-item {
    margin-bottom: 25px; /* More spacing between items */
}

.news-item h3 {
    color: #00ffcc;
    text-shadow: 0 0 5px #00ffcc;
    margin: 0 0 10px;
}

.news-item p {
    color: #f0f0f0; /* Keep the bright text color */
    line-height: 1.7; /* Keep the good line spacing */
    font-size: 18px !important; /* Set to exactly 18px and override other styles */
    margin: 0;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5); /* Keep the text shadow */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important; /* Modern, readable system fonts */
    font-weight: 400; /* Normal weight for better readability */
}

.form-container {
    margin-top: 20px;
    width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.form-container h2 {
    color: #00ffcc;
    text-shadow: 0 0 5px #00ffcc;
}

input, textarea {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 10px auto;
    padding: 12px; /* More padding for easier interaction */
    background: #2c3e50;
    border: 1px solid #00ffcc;
    border-radius: 5px;
    color: #f0f0f0; /* Brighter input text */
    font-family: 'Orbitron', sans-serif;
    font-size: 14px; /* Explicit font size for inputs */
    line-height: 1.4;
}

input::placeholder, textarea::placeholder {
    color: #b0b0b0; /* Better placeholder contrast */
}

textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6; /* Better line spacing in textarea */
}

button {
    background: #00ffcc;
    color: #000;
    border: none;
    padding: 12px 24px; /* More padding for better clickability */
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px; /* Explicit button font size */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    box-shadow: 0 0 10px #00ffcc;
    background: #00e6b8; /* Slightly different hover color */
}

.logout-btn {
    background: #ff4d4d;
}

.logout-btn:hover {
    background: #ff3333;
    box-shadow: 0 0 10px #ff4d4d;
}

.error {
    color: #ff6b6b; /* Softer error red */
    margin-bottom: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    body {
        font-size: 15px; /* Slightly larger base font on mobile */
    }
    
    .news-box-wrapper {
        width: 90%;
    }

    .news-box {
        width: 100%;
        height: 300px;
        border-radius: 10px;
        font-size: 16px; /* Adjusted for mobile */
        padding: 15px; /* Reduced padding on mobile */
    }

    .scrollbar-container {
        height: 300px;
        border-radius: 10px;
        border: 2px solid #00ffcc;
    }

    .form-container {
        width: 90%;
    }
    
    .news-item h3 {
        font-size: inherit; /* Keep original heading size on mobile */
    }
    
    input, textarea, button {
        font-size: 16px; /* Prevent zoom on iOS */
    }

}


