:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.login-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background-color:#f4f7f6}.login-form{background:#fff;padding:3rem;border-radius:10px;box-shadow:0 10px 25px #0000001a;width:100%;max-width:400px;text-align:center}.login-form h2{margin-bottom:2rem;color:#333;font-size:2rem}.login-form input{width:100%;padding:1rem;margin-bottom:1.5rem;border:1px solid #ddd;border-radius:5px;box-sizing:border-box;font-size:1rem;transition:border-color .3s ease}.login-form input:focus{outline:none;border-color:#5bc0de}.login-form button{width:100%;padding:1rem;border:none;border-radius:5px;background-color:#5cb85c;color:#fff;font-size:1.1rem;cursor:pointer;transition:background-color .3s ease}.login-form button:hover{background-color:#4cae4c}.login-error{color:#d9534f;margin-top:1.5rem;font-size:.9rem}.dashboard{display:flex;flex-direction:column;min-height:100vh;background-color:#f4f7f6}.dashboard-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background-color:#1a1a1a;border-bottom:1px solid #333;box-shadow:0 2px 4px #0000000d}.search-bar{padding:.6rem 1rem;border-radius:5px;border:1px solid #333;background-color:#2a2a2a;color:#fff;width:350px;font-size:1rem;transition:all .3s ease}.search-bar:focus{outline:none;border-color:#5bc0de;box-shadow:0 0 5px #5bc0de80}.dashboard-header h1{margin:0;font-size:1.8rem;color:#fff}.logout-button{background-color:#d9534f;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:5px;cursor:pointer;font-size:1rem;transition:background-color .3s ease}.logout-button:hover{background-color:#c9302c}.dashboard-main{flex-grow:1;padding:2rem}.news-grid{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center}.news-card{background-color:#fff;border-radius:8px;border-left:5px solid #ccc;box-shadow:0 4px 8px #0000001a;padding:1.5rem;width:320px;cursor:pointer;transition:transform .2s ease-in-out,box-shadow .2s ease-in-out;display:flex;flex-direction:column}.news-card:hover{transform:translateY(-5px);box-shadow:0 8px 16px #00000026}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.card-header h3{margin:0;font-size:1.2rem;color:#333;margin-right:1rem}.card-footer{margin-top:1rem}.card-footer hr{border:none;border-top:1px solid #eee;margin:0 0 .75rem}.card-footer .timestamp{font-size:.8rem;color:#777;text-align:right;display:block}.card-body{flex-grow:1}.card-body p{margin:.5rem 0;color:#555}.summary-section{margin-top:1rem;border-top:1px solid #eee;padding-top:1rem}.summary-section h4{margin:0 0 .5rem}.summary-section{overflow-y:auto;max-height:40vh;padding-right:1rem}.summary-section ul{padding-left:1.2rem;margin:0;color:#555}.sentiment-indicator{padding:.2em .6em;border-radius:12px;font-size:.85em;color:#fff;text-transform:capitalize}.sentiment-neutral{background-color:#777}.sentiment-positive{background-color:#5cb85c}.sentiment-negative{background-color:#d9534f}.modal{position:fixed;z-index:100;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#0009;display:flex;align-items:center;justify-content:center}.modal-content{background-color:#fefefe;padding:20px;border-radius:8px;width:90%;max-width:700px;position:relative;box-shadow:0 5px 15px #0000004d;display:flex;flex-direction:column;max-height:90vh}.modal-content .news-card{cursor:default;width:auto}.modal-content .news-card:hover{transform:none;box-shadow:none}.close{color:#aaa;position:absolute;top:15px;right:25px;font-size:35px;font-weight:700;cursor:pointer}.close:hover,.close:focus{color:#333}.read-more-link{display:inline-block;margin-top:1rem;color:#fff;background-color:#5bc0de;padding:.5rem 1rem;border-radius:5px;text-decoration:none;transition:background-color .3s ease}.read-more-link:hover{background-color:#31b0d5}.info-text{font-size:1.2rem;color:#555}.error-text{color:#d9534f}.news-card-error{border:1px solid #ffcccb;background-color:#fff0f0;color:#d8000c;border-radius:8px;padding:16px;margin:16px auto;max-width:600px;text-align:left}
