body {
    margin: 0;
    background-color: #2f2b2a;
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-left: auto;
    margin-right: auto;
}

a {
    color: #2E5453;
    text-decoration: none;
}

body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

header {
    width: 100%;
    height: 7vh;
    text-align: center;
    background-color: #2E5453;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;

    align-items: center;


}
header.dark-mode {
    background-color: #1e1e1e;
    color: #ffffff;
}

.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    border-radius: 6px;
    min-height: 93vh;
    background-color: #F5F4F6;
    box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.5);
    padding-left: 2vw;
    padding-right: 2vw;
    margin: 2vw;
}

.app.dark-mode {
    background-color: #1e1e1e;
    color: #ffffff;
}

select {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    padding: 8px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 150px;
    text-align: center;
    background-color: #8EA89F;
    color: #ffffff;
}

select,
::picker(select) {
  appearance: base-select;
}

option:first-of-type {
  border-radius: 8px 8px 0 0;
}

option:last-of-type {
  border-radius: 0 0 8px 8px;
}

::picker(select) {
  border-radius: 8px;
}

option:not(option:last-of-type) {
  border-bottom: none;
}

option {
    background-color: #ffffff;
    color: #000000;
    transition: all 0.3s ease;
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

option:hover, option:focus {
    background-color: #ffffff;
    color: #000000;
    outline: none;
    .option-item {
        background-color: #8EA89F;
    color: #000000;
    box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    }
}

option::checkmark {

  display: none;
}

.option-item {
    margin: 0 5px;
    padding: 8px 12px;
    border-radius: 2px;
    background-color: #ffffff;
    color: #000000;
    transition: all 0.3s ease;
    width: 80%;  
}

.option-item:hover {
    background-color: #8EA89F;
    color: #000000;
    box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
}

#drop-zone {
    border: 2px solid #2E5453;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Roboto, sans-serif;
    color: #2E5453;
    margin-bottom: 6px;
    cursor: pointer;
    width: auto;
    height: 15vh;
    transition: border-color 0.3s, color 0.3s, background 0.3s, padding 0.3s;
    user-select: none;

}
#drop-zone:hover {
    background: #8ea8907c;

    
}

#drop-zone.hover {
    background: #8ea8907c;

}
#file-input {
    opacity:0;
    position:absolute;
    z-index:-1;
}
h1 {
    font-family: Roboto, sans-serif;
}
label#file-input-label {
    font-family: Roboto, sans-serif;
    margin-bottom: 20px;
    margin-top: 20px;
    display: block;
    font-size: 18px;

    text-align: center;
}

#year-select-label {
    font-family: Roboto, sans-serif;
    font-size: 20px;
    margin-bottom: 5px;
    display: block;
    text-align: center;
}

#stats {
    margin-top: 40px;
    width: 100%;
    text-align: center;
    font-family: Roboto, sans-serif;
    line-height: 1.6;
    margin-bottom: 20px;
    border: 1px solid #ffffff;
    border-radius: 3px;
    background-color: #7A8B8E;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#charts-container {
    width: 100%;
    height: auto;
    margin-bottom: 1vh;
}

#charts-container.dark-mode {
    background-color: #2c2c2c;
    color: #ffffff;
}

#stats.dark-mode {
    background-color: hsl(114, 77%, 30%);
    color: #ffffff;
}

#getting-started {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    margin-top: 40px;
    text-align: center;
    color: #ffffff;
}

.help-steps {
    text-align: left;
    margin-top: 20px;
    font-family: Roboto, sans-serif;
    color: #ffffff;
}
.help-steps li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .app {
        width: 90%;
    }
    
}
