:root {
    --primary-color: #d4918f; 
    --secondary-color: #f1eaee;
    --accent-color: #b1c3a9;
    --text-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* Start - New Classes for New General Ticket */

@font-face {
  font-family: 'Josefin Sans';
  src: url('/sites/commonassets/fonts/Josefin-Sans.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Salita Regular';
  src: url('/sites/commonassets/fonts/Salita-Regular.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

.invitation-card {
    background-color: rgba(245, 244, 237, 0.99);
    border-radius: 15px;
    padding: 5px;
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
}

.main-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.main-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.passTextNames {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Salita Regular';
    color: #1D2144;
    z-index: 10;
    width: 100%;
    text-align: center;
}

.passText {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Josefin Sans';
    color: #1D2144;
    z-index: 10;
    width: 100%;
    text-align: center;
}

.qrDownloadButtonText {
   position: absolute;
    top: 96.9%;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    font-family: 'Josefin Sans';
    color: #383838;
    z-index: 10;
    text-align: center;
    cursor: pointer; 
    pointer-events: none;
}

.qr-container {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 6.1072%;
    left: 50%;
    width: 81.8571%;
    height: 82.9289%;
    transform: translateX(-50%);
    z-index: 1;
}

.qr-background {
    max-width: 100%;
    height: auto;
    z-index: 2;
}

.qr-code {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 61%;
    width: 47.0958%;
    height: 26.1572%;
    left: 50%;
    transform: translate(-50%);
    z-index: 100;
    align-items: center;
}

.qr-code canvas {
    width: 100% !important; 
    height: auto !important;
    display: block;
}

.qr-code img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    z-index: 100;
}

.invityFooter {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 88.8567%;
    left: 50.0000%;
    width: 60.8571%;
    height: 5.2965%;
    transform: translateX(-50%);
}

.button {
    position: absolute;
    top: 91.8485%;
    left: 50.0000%;
    width: 51%;
    height: 5.3036%;
    transform: translateX(-50%);
    background-color: #CB8A8B;
    cursor: pointer;
    border-radius: 10% 10% 10% 10% / 50% 50% 50% 50%;
    z-index: 4;
}

.icon {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 63%;
    left: 50.0000%;
    width: 33.4286%;
    height: 22.5536%;
    transform: translateX(-50%);
}

/* End - New Classes for New General Ticket */

.speech-bubble {
    position: relative;
    background: var(--primary-color);
    border-radius: 50%;
    padding: 40px;
    color: white;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.speech-bubble h1 {
    font-size: 4rem;
    margin-bottom: 15px;
}

.message {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.redirect {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.logo {
    max-width: 100px;
    height: auto;
    margin-top: 15px;
}

.ticket-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.ticket-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.ticket-content {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.ticket-content-qr {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.ticket-content h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.ticket-content-qr h1 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0px;
}

.ticket-content h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.ticket-content-qr h2 {
    font-size: 0.8rem;
    margin-bottom: 0px;
}

.info-section {
    margin: 15px 0;
}

.info-section h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-section p {
    font-weight: bold;
    font-size: 1.2rem;
}

.root-page {
    background-color: var(--secondary-color);
}

.welcome-container {
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 600px;
}

.main-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 30px;
}

.welcome-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.welcome-text {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.primary-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.primary-button:hover {
    background-color: #c07d7b;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .speech-bubble {
        width: 250px;
        height: 250px;
        padding: 30px;
    }
    
    .speech-bubble h1 {
        font-size: 3rem;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .ticket-content h1 {
        font-size: 1.3rem;
    }
    
    .ticket-content h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .speech-bubble {
        width: 220px;
        height: 220px;
        padding: 25px;
    }
    
    .speech-bubble h1 {
        font-size: 2.5rem;
    }
    
    .message {
        font-size: 1rem;
    }
    
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .welcome-text {
        font-size: 1rem;
    }
    
    .ticket-content {
        padding: 15px;
    }
    
    .info-section h3 {
        font-size: 1rem;
    }
    
    .info-section p {
        font-size: 1.1rem;
    }
}


.btn {
margin-right: 4px;
margin-bottom: 4px;
font-family: "Work Sans", Arial, sans-serif;
font-size: 16px;
font-weight: 400;
border-radius: 30px;
transition: 0.5s;
padding: 8px 20px;
}
.btn.btn-md {
padding: 8px 20px !important;
}
.btn.btn-lg {
padding: 18px 36px !important;
}
.btn:hover, .btn:active, .btn:focus {
box-shadow: none !important;
outline: none !important;
}
.btn-primary {
background: #436ac4;
color: #fff;
border: 2px solid #436ac4;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
background: #f366a3 !important;
border-color: #f366a3 !important;
}
.btn-primary.btn-outline {
background: transparent;
color: #436ac4;
border: 2px solid #436ac4;
}
.btn-primary.btn-outline:hover, .btn-primary.btn-outline:focus, .btn-primary.btn-outline:active {
background: #436ac4;
color: #fff;
}
.btn-success {
background: #5cb85c;
color: #fff;
border: 2px solid #5cb85c;
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
background: #4cae4c !important;
border-color: #4cae4c !important;
}
.btn-success.btn-outline {
background: transparent;
color: #5cb85c;
border: 2px solid #5cb85c;
}
.btn-success.btn-outline:hover, .btn-success.btn-outline:focus, .btn-success.btn-outline:active {
background: #5cb85c;
color: #fff;
}
.btn-info {
background: #5bc0de;
color: #fff;
border: 2px solid #5bc0de;
}
.btn-info:hover, .btn-info:focus, .btn-info:active {
background: #46b8da !important;
border-color: #46b8da !important;
}
.btn-info.btn-outline {
background: transparent;
color: #5bc0de;
border: 2px solid #5bc0de;
}
.btn-info.btn-outline:hover, .btn-info.btn-outline:focus, .btn-info.btn-outline:active {
background: #5bc0de;
color: #fff;
}
.btn-warning {
background: #f0ad4e;
color: #fff;
border: 2px solid #f0ad4e;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
background: #eea236 !important;
border-color: #eea236 !important;
}
.btn-warning.btn-outline {
background: transparent;
color: #f0ad4e;
border: 2px solid #f0ad4e;
}
.btn-warning.btn-outline:hover, .btn-warning.btn-outline:focus, .btn-warning.btn-outline:active {
background: #f0ad4e;
color: #fff;
}
.btn-danger {
background: #d9534f;
color: #fff;
border: 2px solid #d9534f;
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
background: #d43f3a !important;
border-color: #d43f3a !important;
}
.btn-danger.btn-outline {
background: transparent;
color: #d9534f;
border: 2px solid #d9534f;
}
.btn-danger.btn-outline:hover, .btn-danger.btn-outline:focus, .btn-danger.btn-outline:active {
background: #d9534f;
color: #fff;
}
.btn-outline {
background: none;
border: 2px solid gray;
font-size: 16px;
transition: 0.3s;
}
.btn.with-arrow {
position: relative;
transition: 0.3s;
}
.btn.with-arrow i {
visibility: hidden;
opacity: 0;
position: absolute;
right: 0px;
top: 50%;
margin-top: -8px;
transition: 0.2s;
}
.btn.with-arrow:hover {
padding-right: 50px;
}
.btn.with-arrow:hover i {
color: #fff;
right: 18px;
visibility: visible;
opacity: 1;
}