:root {
    --uni-chat-font-sans: "Nunito Sans", serif;
    --blue: #0038FF;
}

@font-face {
    font-family: 'UniChat';
    src: url('/fonts/TTF/ClashDisplay-Variable.ttf') format('truetype');
}

.partner-event-container{
    width: 100%;
    max-width: 500px;
    padding: 5px;
    position: relative;
    border: 1px solid black;
    border-radius: 10px;
    max-height: calc(100% - 12px);
    overflow-y: scroll;
    scrollbar-width: none;
}

.partner-event-container-preview {
    width: calc(95% - 12px);
    padding: 5px;
    padding-bottom: 20px;
    position: relative;
    border: none;
    border-bottom: 1px solid black;
    border-radius: 0;
    margin-left: 2.5%;
    margin-bottom: 12px;
}

.partner-event-card {
    position: relative;
    border-radius: 10px;
    padding: 0px;
    border: none;
    margin-left: 0;
    margin-bottom: 8px;
    width: 100%;
    cursor: pointer;
}

.partner-event-card-gold {
    border: 2px solid #f4b942;
    width: calc(100% - 4px);
}

.view-all-events {
    position: relative;
    font-family: "UniChat";
    font-size: 20px;
    color: black;
    font-weight: 500;
    width: 100%;
    border: 1px solid black;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    padding: 3px 0px;
    border-radius: 7px;
    margin-top: 10px;
}

.partner-event-background{
    width: 100%;
    height: 380px;
    position: relative;
    margin: 0;
    padding: 0;
    z-index: 0;
    border-radius: 10px;
    object-fit: cover;
}

.partner-event-points-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(90deg, #f7d16c, #f4b942);
    color: #4d3610;
    font-family: "UniChat";
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(77, 54, 16, 0.2);
    z-index: 2;
}

.discount-points-banner {
    position: relative;
    margin: 10px 5px 15px;
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f7d16c, #f4b942);
    color: #4d3610;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.discount-points-info-button {
    align-self: flex-start;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    color: #4d3610;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.discount-points-info-button:hover {
    background: rgba(255, 255, 255, 0.55);
}

.partner-event-caption{
    background-color: rgba(255, 255, 255, 0.6);
    padding: 15px 10px;
    width: calc(100% - 20px);
    position: absolute;
    bottom: 0;
    z-index: 1;
    border-radius: 0px 0px 10px 10px;
    backdrop-filter: blur(5px);
}
.partner-event-caption-title,
.partner-event-caption-title.no-wrap{
    font-size: 29px;
    font-family: "UniChat";
    font-weight: 600;
    margin-bottom: 5px;
    margin-top: 0px;
    color: rgb(1, 56, 252);
    max-width: 100%;    
    display: block;  
}
.partner-event-caption-title.no-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.partner-event-caption-location{
    font-family: var(--uni-chat-font-sans);
    display: inline-block;
    max-width: calc(100% - 100px);
    font-weight: bold;
    font-size:15px;
}

.icon{
    width: 17px;
    padding-right:4px;
}

.view-button{
    float: right;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: 0.1rem .85rem;
    line-height: 1.5;
    border-radius:.35rem;
    cursor: pointer;
    background-color: rgb(1, 56, 252);
    color:white;
    font-weight: bold;
    font-size:18px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.view-button:hover {
    background-color: rgb(3, 40, 173);
    color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); 
}

.partner-event-section{
    max-width: 100%;
    padding:10px 0;
    font-size:16px;
}

.partner-event-section-title {
    font-family: "UniChat";
    font-size: 22px;
}

.discount-banner-button-container {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discount-banner-button {
    width: 100px;
    position: sticky;
    bottom: 5px;
    left: calc(50% - 65px);
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--blue);
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--blue);
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

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

.discount-points-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.discount-points-modal {
    background: #fff7df;
    border-radius: 18px;
    padding: 24px;
    max-width: 420px;
    width: calc(97% - 48px);
    box-shadow: 0 20px 50px rgba(65, 45, 0, 0.25);
    color: #3f2a04;
    text-align: left;
}

.discount-points-modal h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-family: "UniChat";
    font-size: 1.3rem;
}

.discount-points-modal p {
    margin: 0 0 16px;
    line-height: 1.4;
}

.discount-points-modal-close {
    border: none;
    background: #4d3610;
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.discount-points-modal-close:hover {
    opacity: 0.85;
}

.event-reply-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 30px;
    position: relative;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.25); */
    border-radius: 10px;
    /* padding: 3px; */
}

.event-reply-button {
    width: 100px;
    border-radius: 10px;
    font-family: "UniChat";
    outline: none;
    font-size: 19px;
    font-weight: 600;
    padding: 6px 12px;

    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.event-reply-button:hover {
    cursor: pointer;
}

.going {
    background-color: var(--blue);
    border: 1px solid var(--blue);
    color: white;
}

.maybe {
    background-color: white;
    border: 1px solid black;
    color: black;
}

.not-clicked {
    opacity: 0.3;
}

.not-clicked:hover {
    opacity: 1;
}

.going-clicked {
    background-color: white;
    color: var(--blue);
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.25);
}

.maybe-clicked {
    color: white;
    background-color: black;
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.25);
}

.partner-event-caption-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--blue);
    color: white;
    width: 54px;
    height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-family: 'UniChat';
    box-shadow: 0px 0px 5px 3px rgba(255, 255, 255, 0.3);
}

.event-month {
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 4px;
    margin-bottom: 0;
}

.event-day {
    font-size: 22px;
    margin: 0;
}

.users-attending-container {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.users-attending-container-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.users-attending-container-inner.not-allowed {
    filter: blur(5px);
    -webkit-filter: blur(5px);
}

.user-row {
    width: 100%;
    display: flex;
    align-items: center;
}

.user-row img {
    width: 40px;
    height: 40px;
    border-radius: 30px;
    margin-right: 10px;
    margin-bottom: 4px;
}

.user-row div {
    font-family: 'UniChat';
    font-size: 18px;
    font-weight: 600;
}

.not-allowed-writing {
    color: #0038FF;
    font-family: 'UniChat';
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    width: calc(100% - 20px);
    position: absolute;
}

@media screen and (max-width: 900px) {
    .partner-event-container-preview {
        width: 100%;
        margin-left: 0;
    }
}

@media screen and (max-width: 400px) {
    .partner-event-container {
        height: calc(100% - 20px);
        border: none;
    }
}