/* Reset styles for the event landing page */
.celecom-event-landing-page,
.celecom-event-landing-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font: inherit;
    color: inherit;
    text-decoration: none;
    list-style: none;
}

/* Set base font styles for the event landing page */
.celecom-event-landing-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    color: #000;
    line-height: 1.5;
}

/* General Styles */
.celecom-event-landing-page {
    text-align: center;
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.celecom-event-landing-page .event-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 700px;
    height: 700px;
}

.celecom-event-landing-page .event-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1; /* Ensure it is below the event-card */
}

.celecom-event-landing-page .qr-code-placeholder {
    width: 235px;
    height: 235px;
    position: absolute;
    top: 333px;
    right: 84px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    outline: 40px solid #ffffff;
    z-index: 2; /* Place below event card but above background */
}

.celecom-event-landing-page .qr-code-placeholder .wpkqcg_qrcode {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.celecom-event-landing-page .event-card {
    padding: 20px;
    border-radius: 15px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    width: 700px;
    height: 700px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 3; /* Ensure it is above the event-card-bg and qr-code-placeholder */
}

.celecom-event-landing-page .event-card-canvas {
    max-width: 700px;
    max-height: 700px;
    width: 100%;
    height: auto;
    margin-top: 20px;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #FFFFFF;
}

.celecom-event-landing-page .event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.celecom-event-landing-page .event-photo {
    position: relative;
}

.celecom-event-landing-page .round-profile-picture {
    border-radius: 50%;
    width: 182px;
    height: 182px;
    object-fit: cover;
    margin-top: 87px;
    margin-left: 89px;
    outline: 5px solid #FFFFFF;
    border: 1px solid #FFFFFF;
    z-index: 4; /* Ensure top elements have the highest z-index */
}

.celecom-event-landing-page .admin-profile-picture-landing {
    border-radius: 50%;
    width: 59px;
    height: 59px;
    object-fit: cover;
    outline: 2px solid #FFFFFF;
    position: absolute;
    top: 97px;
    left: 60px;
    z-index: 4; /* Ensure top elements have the highest z-index */
}

.celecom-event-landing-page .event-info {
    flex-grow: 1;
    text-align: left;
    margin-left: 20px;
    z-index: 4; /* Ensure top elements have the highest z-index */
}

.celecom-event-landing-page .event-sponsor {
    font-size: 14px;
    color: #777;
    margin: 0;
    display: none; /* Hide the sponsor text */
    z-index: 4; /* Ensure top elements have the highest z-index */
}

.celecom-event-landing-page .event-name {
    font-weight: bold;
    font-size: 30px;
    width: 287px;
    height: 45px;
    position: absolute;
    top: 305px;
    left: 61px;
    text-align: center;
    color: #292F33;
    letter-spacing: 1.2px;
    z-index: 4; /* Ensure top elements have the highest z-index */
    font-family: inherit;
}

.celecom-event-landing-page .event-last-name {
    font-size: 20px;
    width: 287px;
    height: 31px;
    position: absolute;
    top: 354px;
    left: 60px;
    text-align: center;
    color: #292F33;
    font-weight: bold;
    letter-spacing: 2.2px;
    z-index: 4; /* Ensure top elements have the highest z-index */
    font-family: inherit;
}

.celecom-event-landing-page .event-title {
    font-weight: bold;
    width: 267px;
    height: 145px;
    position: absolute;
    top: 406px;
    left: 68px;
    text-align: center;
    line-height: 33px;
    color: #292F33;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 4; /* Ensure top elements have the highest z-index */
    font-family: inherit;
}

.celecom-event-landing-page .celecom-logo {
    position: absolute;
    bottom: 67px;
    left: 43px;
    width: 70px;
    height: 70px;
    z-index: 4; /* Ensure top elements have the highest z-index */
}

.celecom-event-landing-page .celecom-logo img {
    width: 100%;
    height: 100%;
    z-index: 4; /* Ensure top elements have the highest z-index */
}

.celecom-event-landing-page .follow-celecom {
    font-weight: bold;
    font-size: 20px;
    width: 269px;
    height: 23px;
    position: absolute;
    bottom: 124px;
    left: 125px;
    text-align: left;
    color: #447296;
    letter-spacing: 0.4px;
    z-index: 4; /* Ensure top elements have the highest z-index */
    font-family: inherit;
}

.celecom-event-landing-page .follow-description {
    font-size: 14px;
    width: 288px;
    height: 40px;
    position: absolute;
    bottom: 81px;
    left: 124px;
    text-align: left;
    color: #293240;
    letter-spacing: 0.8px;
    font-weight: bold;
    line-height: 1.2;
    z-index: 4; /* Ensure top elements have the highest z-index */
    font-family: inherit;
}

.celecom-event-landing-page .follow-website {
    font-size: 15px;
    width: 288px;
    height: 18px;
    position: absolute;
    bottom: 66px;
    left: 124px;
    text-align: left;
    color: #293240;
    letter-spacing: 0.8px;
    font-weight: bold;
    line-height: 1.2;
    z-index: 4; /* Ensure top elements have the highest z-index */
    font-family: inherit;
}

.celecom-event-landing-page .event-details {
    text-align: right;
}

.celecom-event-landing-page .event-icon {
    position: absolute;
    top: 128px;
    right: 156px;
    width: 88px;
    z-index: 4; /* Ensure top elements have the highest z-index */
}

.celecom-event-landing-page .event-icon img {
    width: 100%;
    height: 100%;
    z-index: 4; /* Ensure top elements have the highest z-index */
}

.celecom-event-landing-page .event-date {
    font-weight: bold;
    font-size: 36px;
    width: 352px;
    height: 47px;
    position: absolute;
    top: 223px;
    right: 23px;
    text-align: center;
    line-height: 47px;
    color: #293240;
    letter-spacing: 1.4px;
    z-index: 4; /* Ensure top elements have the highest z-index */
    font-family: inherit;
}

.celecom-event-landing-page .event-code {
    font-weight: bold;
    font-size: 23px;
    width: 221px;
    height: 38px;
    position: absolute;
    bottom: 54px;
    right: 91px;
    text-align: center;
    line-height: 38px;
    color: #293240;
    border-radius: 0;
    letter-spacing: 0.7px;
    z-index: 4; /* Ensure top elements have the highest z-index */
    font-family: inherit;
}

.celecom-event-landing-page .buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.celecom-event-landing-page .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    font-family: inherit;
}

.celecom-event-landing-page .button:hover {
    background-color: #005177;
}

.celecom-event-landing-page .button-secondary {
    background-color: #f1f1f1;
    color: #000000;
    font-family: inherit;
}

.celecom-event-landing-page .button-secondary:hover {
    background-color: #e1e1e1;
}

/* CSS for Loading Animation */
.celecom-event-landing-page .loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid lightblue;
    border-right-color: orange;
    animation: l2 1s infinite linear;
}

@keyframes l2 {
    to {
        transform: rotate(1turn);
    }
}
.event-details {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.event-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}

.event-organizer {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.organizer-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
}

.organizer-info {
    display: flex;
    flex-direction: column;
}

.organizer-name {
    font-weight: bold;
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
}

.organizer-role {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.tagged-user {
    display: flex;
    align-items: center;
    background-color: #e8f4f8;
    border-radius: 20px;
    padding: 4px 12px 4px 4px;
    margin-left: 15px;
}

.tagged-user-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

.tagged-user-info {
    display: flex;
    flex-direction: column;
}

.tagged-user-label {
    font-size: 10px;
    color: #666;
    margin: 0;
    line-height: 1;
}

.tagged-user-name {
    font-weight: bold;
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
}

.event-details {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.event-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}

.event-organizer {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.organizer-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
}

.organizer-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.organizer-name {
    font-weight: bold;
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    text-align: left;
}

.organizer-role {
    color: #666;
    margin: 0;
    font-size: 14px;
    text-align: left;
}

.tagged-user {
    display: flex;
    align-items: center;
    background-color: #e8f4f8;
    border-radius: 20px;
    padding: 4px 12px 4px 4px;
    margin-left: 15px;
}

.tagged-user-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

.tagged-user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tagged-user-label {
    font-size: 10px;
    color: #666;
    margin: 0;
    line-height: 1;
    text-align: left;
}

.tagged-user-name {
    font-weight: bold;
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
}

.event-description {
    margin-top: 20px;
    text-align: left;
}

.event-description h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
    text-align: left;
}

.event-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    text-align: left;
}

.clickable-user {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.clickable-user:hover {
    text-decoration: underline;
}