.container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
}
p#sbhd {
    margin-bottom: 0.5em;
}

/* Form styling */
.form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.meter_title {
    font-weight: 700;
    padding-left: 4px;
    background-color: cadetblue;
    text-align: left;
    color: white;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.dropdown,
input[type="text"] {
    flex: 1;
    margin: 0 5px;
}


.dropdown select {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

input#serial_number[type="text"] {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

label {
    display: block;
    margin-bottom: 10px;
	margin-top: 10px;
    font-weight: bold;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #0693e3;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0693e3;
}

/* Result table styling */
.main-box {
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.result-heading {
    background-color: #007bff;
    color: #fff;
    padding: 15px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-weight: bold;
}

.result-body {
    padding: 20px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.column {
    flex: 1;
    text-align: center;
    font-weight: bold;
}

@media screen and (max-width: 768px) {

    .dropdown,
    input[type="text"],
    button[type="submit"] {
        flex-basis: 100%;
        /* Full width on smaller screens */
    }
}
@media (max-width: 768px) {
    h1 {
        font-size: 27px; /* Adjust as needed for mobile */
		 margin-bottom: 10px;
    }

    .full-width-content .container.grid-container {
        max-width: 100%; /* This remains the same, but you can adjust if needed */
    }

    p#sbhd {
        font-size: 14px; /* Adjust as needed for mobile */
    }
}


.meter-gauge-container {
    width: 100%;
    padding: 6px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 20px;
}

.meter-gauge {
    height: 80px;
    text-align: center;
    position: relative;
}

.meter-gauge meter {
    width: 100%;
    height: calc(100% - 30px);
    /* Adjusted height */
    border-radius: 10px;
}

.meter-gauge .rarity-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    /* Adjusted height */
}

.meter-gauge .progress-arrow {
    position: absolute;
    bottom: calc(100% - 2px);
    /* Adjusted top position */
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 10px;
    border-color: transparent transparent #007bff transparent;
    z-index: 1;
    /* Ensuring its above the text */
}

.meter-gauge .text {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    bottom: 5px;
    /* Adjusted bottom position */
}

/* Style the accordion */
.accordion {
    background-color: #0693e3;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    text-align: left;
    border: none;
    width: 100%;
}

/* Style the accordion panel */
.panel {
    display: none;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.panel li {
    text-align: left;
	line-height: 1.8em;
}
.result-box {
    background-color: #0693e3;
    color: white;
    margin: 5px;
    padding: 20px;
    height: 90%;
}
p#arrowacd {
    margin-bottom: auto;
}

/* Style the active accordion button */
.active {
    background-color: #0693e3;
}

/* Style the accordion symbol */
.accordion-symbol {
    float: right;
}

.meter_title {}

/* Show the panel when active */
.active+.panel {
    display: block;
}
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
	font-size:12px;
	font-weight:500;
    background-color: #fff; /* White background */
    color: #000; /* Black text color */
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position the tooltip above the text */
    left: 50%;
    margin-left: -100px; /* Use half of the width to center the tooltip */
    opacity: 0;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%; /* Arrow at the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Custom icon styling */
.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #000; /* Black border */
    background-color: #fff; /* White background */
    color: #000; /* Black text color */
    text-align: center;
    line-height: 18px; /* Adjust line height to center the text vertically */
    border-radius: 50%;
    font-size: 12px; /* Increase font size for better visibility */
    margin-left: 5px;
}
.resulth p {
    background-color: #0693e3;
    color: white;
    text-align: center;
    padding: 6px;
    padding-left: unset;
    align-content: unset;
    align-self: normal;
    font-style: italic;
    margin-bottom: 1px;
    margin-left: 1px;
    margin-right: 1px;
}
.resulth {
    background-color: #2c5d63;
    width: 100%;
}

.table_info {
  margin-top:10px;
}
.share-btn {
    margin: 2px;
    border-radius: 2px;
    text-decoration: none;
    color: white;
    font-size: 16px;
  }

  .share-icon {
    width: 48px;
    height: 48px;
    margin-right: 2px;
	display: inline-flex;
    align-items: left;
  }