/* style.css */
.wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    background-color: #f5f5f5;
}

[search-container] {
    width: 100%;
    padding: 20px;
    background: white;
    margin: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
}

h2[title] {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

[input-group] {
    width: 100%;
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

[custom-select] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    width: 100%;
}

[serial-input] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 5px;
    box-sizing: border-box;
}

[helper-text] {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

[lookup-button] {
    width: 100%;
    padding: 12px;
    background-color: #abc3a7;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

[lookup-button]:hover {
    background-color: rgb(119, 128, 117);
}

#results-container {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.error-message {
    color: #dc3545;
    margin-top: 10px;
}

.loading {
    font-size: 15px;
    text-align: center;
    padding: 20px;
}

.ibox[star-note-lookup] {
    clear: both;
    margin-bottom: 25px;
    margin-top: 0;
    padding: 0;
}

.ibox-title[star-note-lookup] {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-width: 2px 0 0;
    clear: both;
    margin-bottom: 0;
    min-height: 48px;
    padding: 15px 90px 8px 15px;
    position: relative;
}

.ibox-content[star-note-lookup],
.ibox-title[star-note-lookup] {
    background-color: #fff;
    border-color: #ddd;
    -o-border-image: none;
    border-image: none;
    border-style: solid solid none;
    color: inherit;
}

.ibox-title[star-note-lookup] h5 {
    display: inline-block;
    float: none;
    font-size: 14px;
    margin: 0 0 7px;
    padding: 0;
    text-overflow: ellipsis;
}

.ibox-content[star-note-lookup] {
    border-width: 1px 0;
    padding: 15px 20px 20px;
}

.ibox-content[star-note-lookup] {
    clear: both;
}

.row[star-note-lookup] {
    margin-left: -15px;
    margin-right: -15px;
}

.text-center[star-note-lookup] {
    text-align: center !important;
}

.col[star-note-lookup] {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.rarity-container[star-note-lookup] {
    background: #eee;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px 15px;
}

.rarity-container[star-note-lookup] strong {
    font-size: 1rem;
}

.progress[star-note-lookup],
.rarity-container__progress[star-note-lookup] {
    background-color: #e9ecef;
    border-radius: .25rem;
    display: flex;
    font-size: .75rem;
    height: 1rem;
    line-height: 0;
    overflow: hidden;
}

.progress-bar[star-note-lookup],
.rarity-container__progress-gradient[star-note-lookup] {
    background-color: #007bff;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    transition: width .6s ease;
    white-space: nowrap;
}

.rarity-container__progress-gradient[star-note-lookup] {
    background: #fff;
    background: linear-gradient(90deg, #fff, #fff 15%, #ffff7f 30%, #ffbd7f 48%, #ff967f 83%, #ff7f7f 90%, #d62929);
    width: 100%;
}

.rarity-container__label--left[star-note-lookup] {
    float: left;
}

.rarity-container__label--right[star-note-lookup] {
    float: right;
}

.rarity-container__label--left[star-note-lookup] small,
.rarity-container__label--right[star-note-lookup] small {
    font-size: 14px;
}

.clearfix[star-note-lookup] {
    display: flex;
    justify-content: space-between;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.progress[star-note-lookup],
.rarity-container__progress[star-note-lookup] {
    background-color: #e9ecef;
    border-radius: .25rem;
    display: flex;
    font-size: .75rem;
    height: 1rem;
    line-height: 0;
    overflow: hidden;
}

.progress-bar[star-note-lookup],
.rarity-container__progress-gradient[star-note-lookup] {
    background-color: #007bff;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    transition: width .6s ease;
    white-space: nowrap;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.mt-2,
.my-2 {
    margin-top: .5rem !important;
}

.mb-2,
.my-2 {
    margin-bottom: .5rem !important;
}

.card-body[star-note-lookup] {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    font-size: 1rem;
    min-height: 1px;
}

.star-note-table {
    font-family: Ubuntu Mono, Menlo, Monaco, Consolas, Courier New, monospace;
    font-size: 14px;
    width: 100%;
}

.star-note-table thead td, .star-note-table thead th, .table-bordered thead td, .table-bordered thead th {
    border-bottom-width: 2px;
}

.star-note-table thead th, .table thead th {
    border-bottom: 2px solid #ebebeb;
    vertical-align: bottom;
}

.star-note-table, .star-note-table td, .star-note-table th, .table-bordered, .table-bordered td, .table-bordered th {
    border: 1px solid #ebebeb;
}

.star-note-table td, .star-note-table th, .table-sm td, .table-sm th {
    padding: .3rem;
}

th[hidden], td[hidden] {
    display: none;
}

@media (min-width: 600px) {
    th[hidden], td[hidden] {
        display: revert;
    }
}