body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #333333;
    margin: 0;
    background-color: #f4f4f9;
}

p {
    margin: 0;
}

a{
    text-decoration: none;
}

button, select, input {
    font-family: 'Roboto', Arial, sans-serif;
    cursor: pointer;
}

.button-primary {
    color: white;
    background-color: #008080;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 12px 20px;
    font-weight: 500;
    transition: background-color 0.15s;
    box-shadow: 0 4px 6px rgba(0, 128, 128, 0.2);
}

.button-primary:hover {
    background-color: #009999;
}

.button-primary:active {
    background: #008080;
    box-shadow: none;
}

.button-secondary {
    color: #333333;
    background: white;
    border: 1px solid #c0c0c0;
    border-radius: 8px;
    cursor: pointer;
    padding: 12px 20px;
    transition: background-color 0.15s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-secondary:hover {
    background-color: #e0e0e0;
}

.button-secondary:active {
    background-color: white;
    box-shadow: none;
}

.limit-text-to-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-primary {
    color: #4a67a0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s;
}

.link-primary:hover {
    color: #2e4a80;
    text-decoration: underline;
}

select {
    color: #333333;
    background-color: white;
    border: 1px solid #c0c0c0;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

select:focus,
input:focus {
    outline: 2px solid #008080;
    outline-offset: 1px;
}

.chartpopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1000;
    display: none;
}

.chart-view {
    background-color: white;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.chart-view a {
    color: #333333;
    text-decoration: none;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: normal;
    transition: color 0.15s;
}

.chart-view a:hover {
    color: #008080;
}

.chart-view img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.dark-mode {
    color: #e0e0e0; 
    background-color: #1a1a1a; 
}

.dark-mode .link-primary {
    color: #87cefa; 
}

.dark-mode .link-primary:hover {
    color: #00ffff;
}

.dark-mode .button-primary {
    color: #1a1a1a; 
    background-color: #00ffff;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 255, 255, 0.3);
}

.dark-mode .button-primary:hover {
    background-color: #00cccc;
}

.dark-mode .button-secondary {
    color: #e0e0e0; 
    background: #333333; 
    border: 1px solid #555555;
}

.dark-mode .button-secondary:hover {
    background-color: #444444;
}

.dark-mode select {
    color: #e0e0e0;
    background-color: #333333;
    border: 1px solid #555555;
}

.dark-mode .chart-view {
    background-color: #333333;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.dark-mode .chart-view a {
    color: #e0e0e0;
}

.dark-mode .chart-view a:hover {
    color: #00ffff;
}


.site-footer {
    width: 100%;
    padding: 30px 0 15px; 
    margin-top: 50px;
    background-color: #f7f7f7; 
    color: #555555;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-text-only .site-logo-text {
    font-size: 18px;
}

.footer-logo-text-only .site-logo-tagline {
    font-size: 9px;
}

.footer-right {
    text-align: right;
}

.copyright-text {
    margin-bottom: 5px;
    font-weight: 500;
}

.footer-links a {
    color: #555555;
    text-decoration: none;
    margin-left: 15px; 
    transition: color 0.15s;
}

.footer-links a:hover {
    color: #008080;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #eeeeee;
    font-size: 12px;
    color: #777777;
}

@media (max-width: 600px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
        padding-bottom: 10px;
    }

    .footer-left {
        margin-bottom: 10px;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .footer-links a {
        display: block;
        margin: 5px 0;
    }
}


.dark-mode .site-footer {
    background-color: #1a1a1a; 
    color: #cccccc; 
    border-top: 1px solid #333333;
}

.dark-mode .footer-bottom {
    border-top: 1px solid #2b2b2b;
    color: #aaaaaa;
}

.dark-mode .footer-links a {
    color: #cccccc;
}

.dark-mode .footer-links a:hover {
    color: #00ffff;
}

.social-links {
  margin-bottom: 15px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.social-links a {
  color:#008080;
  font-size: 24px;
  transition: color 0.15s;
}

.social-links a:hover {
  color: black;
}

.dark-mode .social-links a {
    color: #00ffff;
}

.dark-mode .social-links a:hover {
    color: white;
}

@media (max-width: 768px) {
  .social-links {
    justify-content: center;
  }
}

.searchPopCont{
    margin-bottom: 10px;
    background-color: #cfd1d1b6;
    width: max-content;
    padding: 8px 5px;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}

.searchPopCont p{
    font-size: 14px;
    font-weight: 500;
}

.searchPopCont:hover{
    background-color: #cfd1d1;
}

.dark-mode .searchPopCont{
    background-color: #333333;
}

.dark-mode .searchPopCont:hover{
    background-color: #444444;
}