.titleBar {
    width: 100%;
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    padding: 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.logo {
    margin-left: 10px;
    margin-right: 8px;
    align-self: flex-end;
}

h1 {
    font-size: 20px;
    font-weight: 600;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Liberation Sans, sans-serif;
    color: lightgray;
    margin-left: 5px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    margin: 0;
    background-color: lightgray;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Liberation Sans, sans-serif;
}

.inputsNav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background-color: white;
}

.navButton {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #666666;
    margin-right: 12px;
    margin-left: 12px;
    height: 40px;
    transition: border-bottom 0.1s ease;
}

.navButton:hover {
    border-bottom: 3px solid black;
}

.prev,.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #666666;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.container {
    display: flex;
    justify-content: center;
}

.background {
    margin-top: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.scoringButtonContainer {
    padding-top: 30px;
    display: flex;
    justify-content: center;
}

.scoringButtonError {
    padding-top: 15px;
    margin-bottom: -20px;
    display: flex;
    justify-content: center;
}

.scoringButton {
    margin: 5px;
    padding: 15px 30px;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Liberation Sans, sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #666666;
    transition: 0.5s;
    background-size: 200% auto;
    border-radius: 10px;
    display: block;
    border: none;
    background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
}

.scoringButton:hover{
    cursor: pointer;
    border-radius: 18px;
    color: #fff;
}

.ros-cons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.ros {
    display: flex;
    align-content: center;
}

footer {
    margin-top: auto;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 16px;
}

.formInput {
    position: relative;
    margin-bottom:40px;
}

input {
    font-size: 15px;
    padding:10px 10px 10px 5px;
    width:300px;
    border:none;
    border-bottom:1px solid #FF512F;
}

input:focus { outline:none; }

label {
    color:#999;
    font-size:18px;
    font-weight: 500;
    position:absolute;
    pointer-events:none;
    left:5px;
    top:10px;
    transition:0.2s ease all;
    -moz-transition:0.2s ease all;
    -webkit-transition:0.2s ease all;
}

input {
    font-family: inherit;
    font-weight: 500;
    color: #666666
}

input:focus ~ label, input:valid ~ label 		{
    top:-20px;
    font-size:14px;
}

.bar { position:relative; display:block; width:300px; }
.bar:before, .bar:after 	{
    content:'';
    height:2px;
    width:0;
    bottom:1px;
    position:absolute;
    background:#FF512F;
    transition:0.2s ease all;
    -moz-transition:0.2s ease all;
    -webkit-transition:0.2s ease all;
}
.bar:before {
    left:50%;
}
.bar:after {
    right:50%;
}

input:focus ~ .bar:before, input:focus ~ .bar:after {
    width:50%;
}

.tc-container {
    display: flex;
    justify-content: center;
}

.section-heading {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
    text-align: center;
}

.player-select-container {
    display: flex;
    justify-self: center;
    width: 80%;
    max-width: 600px;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.player-select {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    padding: 10px;
    width: 225px;
    margin: 20px;
    max-height: 1000px;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.heading-select {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item {
    margin: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #444;
    transition: background-color 0.2s;
    border-radius: 20px;
    display: inline-block;
    background-color: #f5f5f5;
    padding: 20px;
    white-space: nowrap;
}

.item.selected {
    background-color: #FF512F;
    color: #fff;
}

.evalButtonContainer {
    display: flex;
    margin-top: 10px;
    justify-content: center;
}

.results-center {
    display: flex;
    justify-content: center;
}

.results-background {
    margin-top: 20px;
    width: 80%;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.results-container {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.trade-winner {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FF512F;
}

.trade-grades {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
}

.results .roster-results {
    font-size: 16px;
}

.results .roster-section {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

.results .roster-label {
    font-weight: normal;
    margin-right: 10px;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    margin-right: 10px;
    border: 6px solid #3498db;
    border-top: 6px solid transparent;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.loading-container p {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}


