/*query.css*/

.queryBox {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-start;
    width: 95vw;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0,0,0,.15);
    margin-top: 80px;
}

.playerComparison {
    width: 48%;
}


.predictive {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 50;
    border-radius: 6px;
    display: none;
    margin-top: 70px;
    width: 250px;
}

.predictive div {
    padding: 8px 10px;
    cursor: pointer;
}

.predictive div:hover {
    background: #f0f0f0;
}


h1 {
    margin-top:0;
    text-align:center;
}

.queryGrid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.field {
    display:flex;
    flex-direction:column;
    margin-top: 20px;
}

label {
    font-weight:bold;
    margin-bottom:6px;
}

select,
input {
    padding:10px;
    border-radius:6px;
    border:1px solid #ccc;
    font-size:15px;
}

.section {
    margin-top:15px;
    padding-top:0px;
    border-top:1px solid #ddd;
}

.filters {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.filter {
    background:#eee;
    padding:8px 8px;
    border-radius:20px;
    width: 31%;
}

.centerqB {
	text-align: center;
}

.qB{
    margin-top:25px;
    width:300px;
    padding:14px;
    background:#222;
    color:white;
    border:none;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
}

.qB:hover{
    opacity:.8;
}

pre {

    background:#222;
    color:#eee;
    padding:20px;
    border-radius:10px;
    overflow:auto;
    width: 800px;
    text-wrap: auto;
}

.hidden {
	display: none;
}


@media(max-width:700px){

	.grid {
	    grid-template-columns:1fr;
	}
}