.adi-container {
    max-width: 100%;
    padding: 15px;
    margin: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 4px rgba(32, 35, 120, 0.789);
}

.adi-centered {
    display: block;
    justify-content: center;
    align-items: center;

    margin: 0 auto;
    text-align: center;
    /* background-color: #f0f4f8; */
}


.adi-offers-block{
    max-width: 500px;
    margin: 0 0;
    padding: 5px;
    border: thin solid #e1e8f0;
    border-radius: 12px;
    background-color: #f9fbfd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}
.adi-offer-image{
    /* max-width: 50%;
    height: auto; */
    /* display: block;
    margin: 1px auto 1px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    height: 300px;
    width: 400px;
}

.adi-debug-info {
    font-size: 1.1em;
    color: #c90000;
    padding: 10px;
    box-shadow: 0 0 2px 1px rgb(255, 71, 71);
}

.adi-stat-box-primary select {
    display: inline !important;
    margin: 0 auto !important;
    text-align: center !important;
    width: 50% !important;
    /* max-width: 50%; */
}

/* #win-loss-year {
    text-align: center;
    max-width: 50%;
} */

.adi h1 {
    font-size: 2.5em;
    color: #102a43;
    margin-bottom: 0.5em;
}

.adi-Player-Stats {
    font-size: 1.1em;
    color: #334e68;
    margin-bottom: 1em;

}

.adi .subtitle {
    font-size: 1.2em;
    margin-top: 0;
    color: #627d98;
}

.adi .message {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 1.5em;
}

.adi-plugin .date {
    font-size: 0.9em;
    color: #92b6d5;
    margin-top: 2em;
}

/* Example of nested CSS using the :is() pseudo-class for targeting nested elements */
.adi-plugin-container :is(h1, .subtitle, .message, .date) {
    border: thin solid #e1e8f0;
    padding: 10px;
    /* Styles here will apply to these elements only when nested inside .adi-plugin-container */
}

.adi-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(32, 35, 120, 0.25);
    padding: 2em 2.5em;
    min-width: 320px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    color: #000;
    display: none;
    /* Show with display: block when active */
}

.adi-modal.active {
    display: block;
}

.adi-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(32, 35, 120, 0.25);
    z-index: 9998;
    display: none;
    /* Show with display: block when modal is active */
}

.adi-modal-overlay.active {
    display: block;
}

.adi-plugin button {
    background-color: #1d4ed8;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}


.adi-Player-Stats::before {
    border: thin solid red;
}

.adi-Player-Stats p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.adi-Player-Stats .bold {
    font-weight: 750;
}

.adi-Player-Stats-Welcome {
    max-width: 90%;
    margin: auto;
    margin-left: 50%;

}

.adi-Player-Stats-Grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Creates a 2-column grid where each column takes up equal space */
    gap: 10px;
    /* Adds a 10px gap between grid items */
    max-width: 90%;
    margin: auto;
    margin-top: 2em;
}


.adi-stat-box-primary {
    border: thin solid rgba(39, 127, 221, .51);
    border-radius: .81em;
    background-color: rgba(39, 127, 221, 0.28);
    color: #000 !important;
    text-align: center !important;
    /* text-transform: uppercase; */
    padding: 1em 1em 1.5em 1em;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;

    /* max-width: 30%;
        padding-top: .251em;
    margin: 1em 3em 1em 3em;
        */

}

.adi-stat-box-primary .adi-plugin-download-button-sub {
    font-weight: bold;
    text-align: center;
    background-color: (60, 64, 67, 0.3);

    color: #000;
    font-weight: bold;
    text-align: center;

}

.adi-log-off {
    margin: auto;
    padding: 2em;
    text-align: center;
    float: right;
    position: relative;
}

.adi-log-off a {

    border: thin solid rgba(39, 127, 221, .51);
    border-width: .1em;
    border-radius: .81em;
    border-color: rgba(35, 13, 239, 0.645);
    background-color: rgba(39, 127, 221, 0.28);
    /* border-image: linear-gradient(to right, darkblue, darkorchid) 1;*/
    padding: 1em 2em;
    margin: 1.5em;
    font-weight: 500;
    color: #000;
    box-shadow: inset rgba(231, 6, 13, 0.537) 0px 0px 5px, rgba(39, 127, 221, 0.28) 0 0 2px;


}