/**
 * @author Steve Tibbetts <steve@itdsi.com>
 * @version 1.0.0
 * @copyright 2024 Dirigo Solutions, Inc (DSI)
 * @link https://DSI.guru DSI
 */

body {
	font-family: Verdana, Arial, sans-serif;
	font-size: 16px;
    line-height: 1.25;
	margin: 0;
	padding: 0;
	background-color: #f0f0f0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
}
body a, body a:visited {
	color: #0056b3;
	text-decoration: none;
}
body a:hover, body a:active {
	color: #007bff;
	text-decoration: underline;
}
h1 {
	text-align: center;
	margin-bottom: 20px;
}
label {
	display: block;
	margin-bottom: 10px;
}
select {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin-bottom: 10px;
}
.container {
	width: 500px;
	background-color: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
}
button {
	width: 80%;
	padding: 10px;
	background-color: #4caf50;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
button:hover {
	background-color: #45a049;
}
#result {
	margin-top: 20px;
	font-size: 1.2em;
	color: green;
}
.result-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.ball {
	width: 40px;
	height: 40px;
	background-color: #ffffff; /* Change the background color to white */
	color: #000;
	border: 1px solid #000000; /* Black border */
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 5px;
	font-size: 18px;
}
.bonus-ball {
	background-color: #ff0000;
	border: 1px solid #000000;
	color:#FFF;
}
.result-row {display: flex;}
.lottery-icon {
	padding-right: 10px;
	margin-top: 10px;
}
.hidden {display: none;}
.description {
    width:500px;
	text-align: left;
    padding: 20px;
	padding-top: 5px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#lottery-selector {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
#lottery-selector label {
	margin: 10px;
	cursor: pointer;
}
#lottery-selector input[type="radio"] {display: none;}
#lottery-selector img {
	width: 100px;
	height: auto;
	border: 2px solid transparent;
	padding: 10px;
}
#lottery-selector input[type="radio"]:checked + img {border: 2px solid #4caf50;}
#clearButton {
	width: 40%;
	padding: 10px;
	background-color: #f44336;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	margin-top: 0px;
	margin-bottom: 20px;
}
#clearButton:hover {background-color: #d32f2f;}

.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    text-align: center;
    position: relative;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}





.close-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
/* Ensure hidden elements stay hidden */
.hidden { display: none !important; }

.suggestions-scroll {
    max-height: 65vh;          /* Makes it scrollable on small screens */
    overflow-y: auto;          /* Enables scrolling */
    padding: 10px 20px 10px 10px;
    text-align: left;
}

.suggestions-scroll h3 {
    margin: 25px 0 15px 0;
    color: #0066cc;
    font-size: 1.2em;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.suggestion {
    display: flex;
    align-items: center;
    padding: 12px;
    margin: 10px 0;
    background: #f9f9f9;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #eee;
}

.suggestion:hover {
    background: #eef5ff;
    border-color: #0066cc;
    transform: translateX(5px);
}

.suggestion img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 15px;
    flex-shrink: 0;
}

.suggestion strong {
    color: #0066cc;
    font-size: 1.1em;
}