.dashed-border {
    border: 2px dashed #ffffff38;
    padding: 10px;
    border-radius: 10px;
}

.raffle-list {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 10px; /* Changed from grid-gap to gap */
    width: 100%;
}

.raffle-list .raffle-item {
    flex: 1 1 355px;
    display: flex;
    flex-direction: row;
}
@media (max-width: 1200px) {
    .raffle-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .raffle-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .raffle-list {
        grid-template-columns: 1fr;
    }
}


#raffle-entry-modal #raffle-entry-message {
    width: 100% !important;
}

#raffle-entry-modal .predefined-quickbuy-entries-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 0;
    margin: 0;
    align-items: center;
}
#raffle-entry-modal #raffle-entry-form-container .ticket-input-container,
#raffle-entry-modal #raffle-entry-form-container .ticket-cost-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    flex-grow: 1;
    height: 70px;
    display: flex;
    justify-content: center;
    flex-basis: 40%;
    align-items: center;
    border-radius: 5px;
}
#raffle-entry-modal #raffle-entry-form-container .ticket-input-container {
    padding: 15px !important;
}
.ticket-input-container .input-wrapper {
    position: relative;
    width: 100%;
}

.ticket-input-container .input-wrapper input {
    padding-right: 50px; /* Adjust based on the width of the text */
}

.ticket-input-container .input-wrapper::after {
    content: "ticket(s)";
    position: absolute;
    right: 19px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff; /* Change this to match the text color you want */
    pointer-events: none;
}
.ticket-cost-container .input-wrapper {
    position: relative;
    width: 100%;
    /* border: 1px solid rgba(255, 255, 255, 0.25); */
    padding: 8px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 45px;
}
.ticket-cost-container {
    /* default cursor */
    cursor: default;
}
.ticket-cost-container .input-wrapper input {
    padding-right: 50px; /* Adjust based on the width of the text */
}

.ticket-cost-container .input-wrapper::after {
    content: "cost";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff; /* Change this to match the text color you want */
    pointer-events: none;
}
.user-tickets-container .input-wrapper {
    position: relative;
    width: 100%;
    /* border: 1px solid rgba(255, 255, 255, 0.25); */
    padding: 8px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 90px;
}
.user-tickets-container {
    /* default cursor */
    cursor: default;
}
.user-tickets-container .input-wrapper .title,
.user-tickets-cost-container .input-wrapper .title {
    font-size: 20px !important;
}

.user-tickets-cost-container .input-wrapper .token-image {
    width: 20px !important;
    height: 20px !important;
}

.user-tickets-container .input-wrapper::after {
    content: "Tickets Owned";
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff; /* Change this to match the text color you want */
    pointer-events: none;
}

.user-tickets-cost-container .input-wrapper {
    position: relative;
    width: 100%;
    /* border: 1px solid rgba(255, 255, 255, 0.25); */
    padding: 8px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 90px;
}
.user-tickets-cost-container {
    /* default cursor */
    cursor: default;
}

h3,
h5,
h2 {
    text-transform: uppercase;
}

.user-tickets-cost-container .input-wrapper::after {
    content: "Tickets Value";
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff; /* Change this to match the text color you want */
    pointer-events: none;
}
#raffle-entry-modal .purchase-flow-header {
    font-size: 15px;
    font-weight: semi-bold;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    padding: 0;
    height: fit-content;
    opacity: 0.5;
    color: #fff;
    text-transform: uppercase;
}
#raffle-entry-modal #raffle-entry-form-container .ticket-input-container input.title {
    font-size: 24px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    padding: 2px; /* Add padding to the text inside */
    padding-right: 0px;
    padding-left: 15px;
    width: 100%;
    margin: 3px;
    border-radius: 5px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    box-shadow: none;
    margin: 0;
}
#raffle-entry-modal {
    background-image: linear-gradient(rgba(36, 36, 36, 0.8), rgb(0 0 0 / 37%));
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

#raffle-entry-modal .raffle-details .header {
    font-size: 14px;
    font-weight: medium;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    opacity: 0.4;
    color: #fff;
    margin: 0;
    text-wrap: nowrap;
    padding: 0;
    line-height: 0.8;
    text-transform: uppercase;
    
}
#raffle-header-info i{
    font-size:12px  !important;
}
#raffle-entry-modal .raffle-dates {
    gap: 5px;
    margin: 0;
}
#raffle-entry-modal .raffle-info-wrapper {
    display: flex;
    flex-direction: row;
    gap: 5px !important;
    padding: 8px 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: default;
    width: fit-content;
    flex-basis: 20%;
    flex-grow: 1;
}
#raffle-entry-modal .raffle-details .content {
    font-size: 16px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    padding: 0;
    color: #fff;
    opacity: 0.8;
    line-height: 0.9;
    align-items: center;
    display: flex;
    gap: 5px;
}
#raffle-entry-modal #raffle-entry-form-container .ticket-input-container input:focus,
#raffle-entry-modal #raffle-entry-form-container .ticket-input-container input:active {
    border-color: #cf2e2e !important;
}
#raffle-entry-modal #raffle-entry-form-container .ticket-cost-container span.title {
    font-size: 24px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;

    text-align: center;
    line-height: 0.9;
    text-transform: uppercase;
    background: transparent;
    color: #fff;
    box-shadow: none;
}
#raffle-entry-modal span.title {
    font-size: 24px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;

    text-align: center;
    line-height: 0.9;

    background: transparent;
    color: #fff;
    box-shadow: none;
}
#raffle-entry-modal #raffle-entry-form-container .ticket-cost-container span.subtitle {
    font-size: 14px;
    font-weight: regular;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    padding: 0;
    height: fit-content;
}
#raffle-entry-modal #raffle-entry-form-container .buy-tickets {
    background-color: #cf2e2e !important;
    height: 70px;
    padding: 10px 20px;
    flex-grow: 1;
    color: white;
    box-shadow: none !important;
    flex-basis: 20%;
    border: 0 !important;
    border-radius: 5px;
    text-wrap: nowrap;
    font-weight: bold;
    font-size: 20px;
    font-family: "Roboto", sans-serif;
}
#raffle-entry-modal #raffle-entry-form-container .buy-tickets:hover {
    opacity: 0.8;
}

#raffle-entry-modal #raffle-entry-form-container .ticket-input-container .subtitle {
    font-size: 14px;
    font-weight: regular;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    padding: 0;
    height: fit-content;
    padding-right: 6px;
}
#raffle-entry-modal .predefined-quickbuy-entries {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 10px;
    border-radius: 5px;
    min-height: 105px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    flex-basis: 24%;
}
#raffle-entry-modal .raffle-entry-form {
    display: flex;
}
#raffle-entry-modal .raffle-purchase-process-wrapper {
    padding: 15px;

    gap: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}
#raffle-entry-modal .predefined-quickbuy-entries:hover {
    background: #cf2e2e;
}
#raffle-entry-modal .predefined-quickbuy-entries .title {
    font-size: 30px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    line-height: 0.8;
    margin-top: 10px;
    padding: 0;
}
#raffle-entry-modal .predefined-quickbuy-entries .subtitle {
    font-size: 14px;
    font-weight: regular;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    padding: 0;
}
#raffle-entry-modal .predefined-quickbuy-entries img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    margin: 0;
    padding: 0;
}
#raffle-entry-modal .raffle-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#raffle-entry-modal .raffle-details .raffle-image-container {
    /* width: 290px; */
    height: 215px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 10px 2px #050505;
    /* background: rgba(20, 21, 22, 0.824); */
    border-radius: 10px;
    flex-shrink: 1;
    flex-basis: 30%;
}
#raffle-entry-modal .raffle-details .raffle-image-container img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}
#raffle-entry-modal #raffle-entry-message .error {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: 2px solid #ff0000;
}
#raffle-entry-modal #raffle-entry-message .success {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: 2px solid #00ff00;
}
#raffle-entry-modal .modal-content {
    position: relative;

    margin: auto;
    padding: 0px;
    border-radius: 10px;
    width: 100%;
    max-width: 1000px;
    box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.8);

    border: 3px solid rgba(255, 38, 76, 0.76);
    color: #fff;

    z-index: 1000000000000;

    background: linear-gradient(rgba(36, 36, 36, 0.8), rgba(79, 7, 8, 0.8));

    justify-content: center;
    align-items: center;
    background: #1a1b1c;
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
#raffle-entry-modal .modal-body {
    width: 100%;
    padding: 30px;
}
#raffle-entry-modal .modal-dialog {
    max-width: 900px;
    height: fit-content !important;
    padding-bottom: 50px;
}
/* Modal Overlay */
#raffle-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* Modal Container */
#raffle-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

/* Modal Content */
#raffle-modal-content {
    color: #fff;
}

/* Close Button */
#raffle-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
}
.raffle-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 20px;
    grid-auto-flow: row;
    justify-content: center;
    column-gap: 10px;
    row-gap: 30px !important;
}
.raffle-list .raffle-item .card-footer-section button {
    text-transform: uppercase !important;
    font-weight: 700;
}

.raffle-item {
    display: flex;
    flex-direction: column;
    background-color: #1a1b1c;
    border: 2px solid #444;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: fit-content !important;
    padding: 15px !important;
}

@media (max-width: 1600px) {
    .raffle-list {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }
}
@media (max-width: 1250px) {
    .raffle-list {
        grid-template-columns: repeat(1, minmax(300px, 1fr));
    }
}

@media (max-width: 767px) {

    .raffle-list .raffle-item .raffle-ended-container {
 
        left: -35% !important;
 
        bottom: 85% !important;
     
    }
    .raffle-list .raffle-item .raffle-title.mobile{
        display: block !important;
    }
    .raffle-list .raffle-item .raffle-title.desktop{
        display: none !important;
    }
    #raffle-entry-modal #raffle-entry-form-container .ticket-input-container, #raffle-entry-modal #raffle-entry-form-container .ticket-cost-container {

        padding-bottom: 12px !important;
        padding-top: 12px !important;
    }
    .raffle-list .raffle-item {
        padding: 15px !important;
        width: 100% !important;
        height: fit-content !important;
    }
    .raffle-list .raffle-item .raffle-info-wrapper {
        gap: 5px !important;
    }
    .raffle-image-container {
        width: 100%;
    }
    .raffle-list .raffle-item .card-footer-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .raffle-list .raffle-item .card-top-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .raffle-list .raffle-item .card-footer-section button {
        width: 100% !important;
        text-transform: uppercase !important;
        font-weight: 700;
    }
    .raffle-list {
        grid-template-columns: 1fr;
    }
}

.raffle-item h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: bold;
}

.raffle-item .raffle-dates,
.raffle-item .raffle-entries {
    margin-bottom: 10px;
    font-size: 14px;
    color: #999;
}

.raffle-item img {
    max-width: 200px;
    border-radius: 10px;
    height: 200px;
    object-fit: contain;
    overflow: visible;
    align-self: flex-end;
    margin-left: auto;
}

.raffle-item button {
    background-color: #ff264c;
    border: none;
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    align-self: flex-start;
    margin-top: auto;
}

.raffle-item button:hover {
    background-color: #ff3d5a;
}

/* Recent Purchases */
.recent-purchases {
}
.recent-purchases h3 {
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.7;
    font-family: "Roboto", sans-serif;
    text-align: left;
    width: 100%;
    font-weight: 700;
    opacity: 0.5;
}
.recent-purchases .purchase-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: #121314 !important;
    border-radius: 10px;
}

.recent-purchases .purchase-item img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.recent-purchases .purchase-item .purchase-details {
    justify-content: flex-start;
    flex-grow: 1;
    margin: 0;
    align-items: center;
    text-align: left;
    gap: 10px;
}
.recent-purchases .purchase-item .purchase-details p {
    margin: 0;
    text-align: left;
}

.recent-purchases .purchase-item .purchase-entries {
    background-color: #444;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    text-wrap: nowrap;
    flex-grow: 1;
}

/* ///// LOADING OVERLAY AND HANDLING  */
/* Add this CSS to your stylesheet */
#raffle-entry-modal .recent-purchase-items {
    min-height: 100px;
}
#raffle-entry-modal #raffle-header-info {
    position: relative;
}
#raffle-entry-modal .recent-purchases {
    position: relative;
}
.loading-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(82 82 82 / 87%);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    display: flex !important;
    border-radius: 5px;
    opacity: 0; /* Start with hidden */
    transition: opacity 0.3s ease-in-out; /* Smooth transition */
}

.loading-overlay.visible {
    opacity: 1; /* Visible state */
}
.loading-overlay .spinner {
    border: 8px solid rgb(38 39 40 / 69%);
    border-top: 8px solid #cf2e2e;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.button-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 4px solid rgba(255, 255, 255, 0.5);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

button[disabled] {
    pointer-events: none;
    opacity: 0.5;
}

.raffle-list .raffle-item .header {
    font-size: 14px;
    font-weight: medium;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    opacity: 0.4;
    color: #fff;
    margin: 0;
    text-wrap: nowrap;
    padding: 0;
    line-height: 0.8;
    text-transform: uppercase;
}
.raffle-list .raffle-item .raffle-dates {
    gap: 10px;
    margin: 0;
}
.raffle-list .raffle-item .raffle-info-wrapper {
    display: flex;
    flex-direction: row;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: default;
    width: fit-content;
    flex-basis: 100%;
    width: 100%;
    flex-grow: 1;
    justify-content: center;
    align-items: flex-start !important;
    align-content: center;
    /* text-align: center; */
}
.raffle-list .raffle-item .content {
    font-size: 15px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    padding: 0;
    color: #fff;
    opacity: 0.8;
    line-height: 0.9;
    padding-top:5px;
}
.raffle-list .raffle-item #raffle-entry-form-container .ticket-input-container input:focus,
.raffle-list .raffle-item #raffle-entry-form-container .ticket-input-container input:active {
    border-color: #cf2e2e !important;
}
.raffle-list .raffle-item #raffle-entry-form-container .ticket-cost-container span.title {
    font-size: 24px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;

    text-align: center;
    line-height: 0.9;
    text-transform: uppercase;
    background: transparent;
    color: #fff;
    box-shadow: none;
}
.raffle-list .raffle-item span.title {
    font-size: 24px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;

    text-align: center;
    line-height: 0.9;

    background: transparent;
    color: #fff;
    box-shadow: none;
}
.raffle-list .raffle-item #raffle-entry-form-container .ticket-cost-container span.subtitle {
    font-size: 14px;
    font-weight: regular;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    padding: 0;
    height: fit-content;
}
.raffle-list .raffle-item #raffle-entry-form-container .buy-tickets {
    background-color: #cf2e2e !important;
    height: 80px;
    padding: 10px 20px;
    flex-grow: 1;
    color: white;
    box-shadow: none !important;
    flex-basis: 20%;
    border: 0 !important;
    border-radius: 5px;
    text-wrap: nowrap;
    font-weight: bold;
    font-size: 20px;
    font-family: "Roboto", sans-serif;
}
.raffle-list .raffle-item #raffle-entry-form-container .buy-tickets:hover {
    opacity: 0.8;
}

.raffle-list .raffle-item #raffle-entry-form-container .ticket-input-container .subtitle {
    font-size: 14px;
    font-weight: regular;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    padding: 0;
    height: fit-content;
    padding-right: 6px;
}
.raffle-list .raffle-item .predefined-quickbuy-entries {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 10px;
    border-radius: 5px;
    min-height: 105px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    flex-basis: 24%;
}
.raffle-list .raffle-item .raffle-entry-form {
    display: flex;
}
.raffle-list .raffle-item .raffle-purchase-process-wrapper {
    padding: 15px;

    gap: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}
.raffle-list .raffle-item .predefined-quickbuy-entries:hover {
    background: #cf2e2e;
}
.raffle-list .raffle-item .predefined-quickbuy-entries .title {
    font-size: 30px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    line-height: 0.8;
    margin-top: 10px;
    padding: 0;
}
.raffle-list .raffle-item .predefined-quickbuy-entries .subtitle {
    font-size: 14px;
    font-weight: regular;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Roboto", sans-serif;
    height: fit-content;
    margin: 0;
    padding: 0;
}
.raffle-list .raffle-item .predefined-quickbuy-entries img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    margin: 0;
    padding: 0;
}
.raffle-list .raffle-item {
    display: flex;
    flex-direction: column;
 
    box-sizing: border-box;
    height: fit-content !important;
    padding: 15px !important;
}

.raffle-list .raffle-item .raffle-title.desktop{
    display: block;
}
.raffle-list .raffle-item .raffle-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
    flex-grow: 1; /* Allows the title to grow and take up available space */
    width: 100%;
    word-wrap: break-word; /* Adjusts word wrapping */
    padding: 8px 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .05);
 
}
 .raffle-title {
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    background: rgba(255, 255, 255, .05);
}

.raffle-list .raffle-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}
.raffle-list .raffle-item .raffle-image-container {
    min-width: 200px;
    height: 100%;

    justify-content: center;
    align-items: center;
    align-content: center;
    align-self: center;
    box-shadow: inset 0 0 10px 2px #050505;
    /* background: rgba(20, 21, 22, 0.824); */
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    box-shadow: none;
}
.raffle-list .raffle-item .raffle-image-container img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    overflow: visible;
    margin: 0;
    object-fit: contain;
}
.raffle-list .raffle-item #raffle-entry-message .error {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: 2px solid #ff0000;
}
.raffle-list .raffle-item #raffle-entry-message .success {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: 2px solid #00ff00;
}
.raffle-list .raffle-item .modal-content {
    position: relative;

    margin: auto;
    padding: 0px;
    border-radius: 10px;
    width: 100%;
    max-width: 1000px;
    box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.8);

    border: 3px solid rgba(255, 38, 76, 0.76);
    color: #fff;

    z-index: 1000000000000;

    background: linear-gradient(rgba(36, 36, 36, 0.8), rgba(79, 7, 8, 0.8));

    justify-content: center;
    align-items: center;
    background: #1a1b1c;
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.raffle-list .raffle-item .modal-body {
    width: 100%;
    padding: 30px;
}
.raffle-list .raffle-item .modal-dialog {
    max-width: 900px;
}

.raffle-list .raffle-item .raffle-ended-container {
    transform: rotate(-30deg);
    display: flex !important;
    /* background-color: rgb(255 255 255 / 100%); */
    /* color: #00000093; */
    color: #fff;
    background-color: rgba(255,71,87,1);

    padding: 5px 10px;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    position: absolute;
    left: -32%;
    opacity: 0.9;
    text-align: center !important;
    padding-left: 0px;
    bottom: 80%;
    font-size: 18px;
    text-align: center !important;
}
.raffle-list .raffle-item .raffle-ended-container:hover {
    /* background-color: rgba(255, 255, 255, 0.301); */
    background-color: rgba(255,71,87,.4);
}
.raffle-list .raffle-item .raffle-ended-container span {
    font-size: 16px;
}
.raffle-list .raffle-item button.modal-enter-raffle {
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.3),
        /* Bottom right shadow */ -1px -1px 2px rgba(0, 0, 0, 0.3),
        /* Top left shadow */ -1px 1px 2px rgba(0, 0, 0, 0.3),
        /* Bottom left shadow */ 1px -1px 2px rgba(0, 0, 0, 0.3);
}
.raffle-list .raffle-item button.modal-enter-raffle:hover {
    opacity: 0.8 !important;
}

.raffle-image-container {
    position: relative;
    z-index: 0; /* Ensure that the container is below the pseudo-elements */
    border-radius: 10px; /* Adjust this value as needed */
    overflow: hidden; /* Ensure children elements are clipped to the border radius */
}

.raffle-image-container::before,
.raffle-image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensure that pseudo-elements are behind the container content */
    border-radius: inherit; /* Inherit the border-radius from the container */
}

.raffle-image-container.exotic::before {
    background-color: rgb(235, 75, 75) !important;
}

.raffle-image-container.exotic::after {
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.5) 40%,
        rgba(255, 255, 255, 0) 80%
    ) !important;
}

.raffle-image-container.mythic::before {
    background-color: rgb(136, 71, 255) !important;
}

.raffle-image-container.mythic::after {
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.5) 40%,
        rgba(255, 255, 255, 0) 80%
    ) !important;
}

.raffle-image-container.legendary::before {
    background-color: rgb(255, 215, 0) !important;
}

.raffle-image-container.legendary::after {
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.5) 40%,
        rgba(255, 255, 255, 0) 80%
    ) !important;
}
#raffle-entry-modal .ticket-cost-container .input-wrapper {
    gap:5px !important;
}
#raffle-entry-modal .user-tickets-cost-container .input-wrapper{
    gap:5px !important;
}
@media (max-width: 390px) {
    .raffle-list .raffle-item .raffle-ended-container {
        left: -25% !important;
        bottom: 87% !important;
    }
}
@media (max-width: 551px) {
    .raffle-list .raffle-item .raffle-ended-container {
        left: -30% ;
        bottom: 87% ;
    }
    
}
@media (max-width: 771px) {

    #raffle-entry-modal .modal-body {
        padding:10px !important;
    }
    #raffle-entry-modal .raffle-header-wrapper {
        flex-direction: column !important;
    }
    #raffle-entry-modal .raffle-header-wrapper #raffle-header-info {
        width: 100%;
    }
    #raffle-entry-modal .raffle-dates, #raffle-entry-modal .raffle-entries, #raffle-entry-modal .raffle-user-ticket-wrapper{
        flex-wrap: wrap !important;
        flex-direction: column !important;
    }
    #raffle-entry-modal .raffle-info-wrapper {
        flex-basis: 100%  !important;
        width: 100% !important;
    }
    #raffle-entry-modal .raffle-image-container {
        padding: 20px;
    }
    #raffle-entry-modal .predefined-quickbuy-container {
        flex-wrap: wrap;
    }

    #raffle-entry-modal .predefined-quickbuy-container .predefined-quickbuy-entries img {
        flex-wrap: wrap;
        height: 20px;
        width: 20px;
    }
    #raffle-entry-modal .predefined-quickbuy-container .predefined-quickbuy-entries {
        flex-wrap: wrap;

        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 5px;

        align-content: center !important;

        justify-content: center;

        min-height: fit-content !important;
        height: 67px !important;
    }
    #raffle-entry-modal .predefined-quickbuy-container .predefined-quickbuy-entries .title {
        margin-top: 0px !important;
        margin: 0 !important;
        font-size: 25px !important;
    }
    #raffle-entry-modal   .ticket-purchase-wrapper {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }
    #raffle-entry-modal .ticket-cost-container .input-wrapper {
        justify-content: flex-start !important;
    }
    #raffle-entry-modal   .ticket-purchase-wrapper > div {
        flex-grow: 1;
        width: 100%;
    }
    #raffle-entry-modal .predefined-quickbuy-container .ticket-purchase-wrapper .ticket-cost-container, 
    #raffle-entry-modal .predefined-quickbuy-container .ticket-purchase-wrapper .ticket-input-container,
    #raffle-entry-modal #raffle-entry-form-container .buy-tickets   {
        width: 100%;
    }
    #raffle-entry-modal .predefined-quickbuy-container .ticket-purchase-wrapper .ticket-cost-container{
    padding: 10px;
    height: 64px !important;
    }
 
}
