@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background-color: #b32121;
    padding: 1rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 20px;
}

.grid-small {
    grid-template-columns: repeat(15, 1fr);
}

.grid-medium {
    grid-template-columns: repeat(10, 1fr);
}

.grid-large {
    grid-template-columns: repeat(5, 1fr);
}

.card-container {
    position: relative;
    width: 100%;
    height: auto;
}

.card {
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.2s;
}

    .card:hover {
        transform: scale(1.05);
        border-color: #007bff;
    }

.card-image {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-weight: bold;
    text-align: center;
    pointer-events: none;
    border-radius: 5px;
    font-size: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.overlay-small {
    width: 90%;
    height: 90%;
    font-size: 0.7em;
    padding: 5px;
}

.overlay-medium {
    width: 85%;
    height: 85%;
    font-size: 1em;
    padding: 10px;
}

.overlay-large {
    width: 80%;
    height: 80%;
    font-size: 1.3em;
    padding: 15px;
}

.overlay p {
    margin: 5px 0;
}


.card-id {
    font-size: 1em;
    margin-bottom: 5px;
}

.card-name {
    font-size: 0.9em;
    font-style: italic;
}

h3, h4 {
    text-align: center;
}

ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.suggested-packs-frame {
    margin: 20px auto;
    padding: 15px;
    border: 2px solid #007bff;
    border-radius: 8px;
    background-color: #f9f9f9;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.suggested-packs h4 {
    margin-top: 0;
    font-size: 1.5rem;
    text-align: center;
    color: #333;
}

.suggested-packs p {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
    color: #333;
}

.suggested-packs ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

    .suggested-packs ul li {
        padding: 5px 0;
        font-size: 1rem;
        border-bottom: 1px solid #ddd;
    }

        .suggested-packs ul li:last-child {
            border-bottom: none;
        }

.toggle-button {
    display: block;
    width: 50%;
    margin: 10px auto;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.3s ease;
}

    .toggle-button:hover {
        background-color: #0056b3;
    }

.pack-image {
    width: 150px;
    height: auto;
    margin: 10px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.divider {
    border: 0;
    height: 3px;
    background-color: #333;
    margin: 20px 0;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.tab-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    margin: 0 5px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tab-button.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.tab-button:hover {
    background-color: #0056b3;
    color: white;
}

