body {
    font-family: 'Sarabun', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #555555;
    font-size: 13px;
}
.sweet-alert {
    font-family: 'Sarabun', sans-serif;
}
.registration-container {
    height: 100vh;
    overflow: hidden;
    background: white;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}
.left-section {
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    height: 100vh;
    overflow-y: auto;
    padding: 0;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}
.right-section {
    height: 100vh;
    overflow-y: auto;
    background: white;
    position: relative;
    padding: 25px;
}
.poster-image {
    width: 100%;
    min-height: 300px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.poster-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}
.poster-content {
    position: relative;
    z-index: 2;
    margin-top: 25px auto;
}
.poster-container {
    max-width: 100%;
    min-height: 250px;
    overflow: hidden;  
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 35px auto;
}
.poster-container img {
    height: auto; 
    max-width: 100%;
    display: block;
    object-fit: cover; 
}
.poster-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.event-details {
    padding: 0;
    width: 100%;
    margin: 0 auto;
}
.detail-item {
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 0;
}
.detail-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}
.detail-value {
    color: #666;
    line-height: 1.6;
    margin: 25px auto;
}
.form-section {
    background: white;
    margin-top: 175px;
}
.form-title {
    color: #333;
    font-weight: 600;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}
.form-control {
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.3s ease;
}
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}
.btn-register, .btn-payment {
    background: linear-gradient(45deg, #FFB347, #FF9900);
    border: none;
    color: white;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 25px;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
}
.btn-register:hover, .btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}
.scroll-to-form-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: linear-gradient(45deg, #FFB347, #FF9900);
    border: none;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    display: none;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}
@media (max-width: 768px) {
    .registration-container {
        height: auto;
        overflow: visible;
    }
    .left-section, .right-section {
        height: auto;
        overflow: visible;
    }
    .poster-image {
        min-height: 200px;
        font-size: 18px;
    }
    .scroll-to-form-btn {
        display: block;
    }
    .right-section .form-progress .progress {
        height: 20px !important;
    }
    .right-section .form-progress {
        position: fixed !important;
    }
}
@media (min-width: 769px) {
    .scroll-to-form-btn {
        display: none !important;
    }
    .event-details {
        width: 80%;
        border-radius: 8px;
    }
}
.left-section::-webkit-scrollbar,.right-section::-webkit-scrollbar {
    width: 0px;
}
.left-section::-webkit-scrollbar-track,.right-section::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.left-section::-webkit-scrollbar-thumb,.right-section::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 0px;
}
.language-menu {
    padding-bottom: 6px;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center; 
    background-color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 3;
}
.language-menu > div {
    display: inline-block;
}
.language-menu > div:not(:first-child)::before {
    content: '|';
    margin: 0 6px;
    font-weight: 400;
    color: #555555;
}
.language-menu > div.lang-active {
    text-decoration: underline;
    font-weight: 700;
    color: #FF9900;
}
.modal-body{
	width:100%;
	max-height: calc(100vh - 100px - 100px);
	overflow-y: auto; 
	overflow-x: hidden;
    position: relative;
    scrollbar-color: #f1f1f1;
    scrollbar-width: thin;
    font-size: 12px;
}
.modal-body::-webkit-scrollbar {
	width: 5px;
}
.modal-body::-webkit-scrollbar-track {
	background: #f1f1f1; 
}
.modal-body::-webkit-scrollbar-thumb {
	background: #c0bdbd; 
}
.modal-body::-webkit-scrollbar-thumb:hover {
	background: #c0bdbd; 
}
.has-error {
    border-color: #FF9900 !important;
    box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.2) !important;
}
.origami-events-notice {
    width: 100%;
    margin-top: 12px;
    word-wrap: break-word;
    background-color: #eee;
    padding: 8px 16px;
}
.iti {
    width: 100%;
}
.container-header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 150px;
    overflow: hidden;
}
.container-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    filter: blur(4px);
    z-index: 1;
}
.container-header-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.container-header-logo img {
    max-height: 80%;
}
.poster-container {
    position: relative;
    width: 100%;
    min-height: 250px; 
    overflow: hidden;
}
.poster-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    filter: blur(4px);
    z-index: 1;
    border-radius: 15px;
}
.poster-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255,255,255,0.5);
    z-index: 2;
}
.poster-img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.poster-img img {
    max-height: 90%;
}
.required-field:after {
    content: " *";
    color: #FF9900;
}
.has-error-text {
    color: #FF9900 !important;
}
input[type="checkbox"],input[type="radio"] {
    display: none;
}
.checkbox-label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 10px !important;
}
.checkbox-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
}
input[type="checkbox"]:checked + .checkbox-label::before {
    background-color: #FF9900;
    border-color: #FF9900;
}
.checkbox-label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 45%;
    transform: translateY(-50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.2s 
ease;
}
input[type="checkbox"]:checked + .checkbox-label::after {
    opacity: 1;
}
.radio-label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 10px !important;
}
.radio-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.2s ease;
}
input[type="radio"]:checked + .radio-label::before {
    border-color: #FF9900;
}
.radio-label::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #FF9900;
    opacity: 0;
    transition: opacity 0.2s ease;
}
input[type="radio"]:checked + .radio-label::after {
    opacity: 1;
}
.text-orange {
    color: #FF9900;
}
.select2 {
    width: 100% !important;
}
.select2-container .select2-selection--single .select2-selection__clear {
    font-size: 20px;
    color: #FF9900;
    top: -5px;
}
img {
    max-width: 100%;
    height: auto;
}
textarea, input[type="text"], input[type="email"], input[type="password"], select {
    font-size: 13px !important;
}
.right-section .form-progress {
    position: sticky;
    bottom: -25px;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    z-index: 9999999;
}
.right-section .form-progress .progress {
    height: 15px;
    background-color: #e9ecef;
    border-radius: 0;
}
.right-section .progress-bar {
    width: 0%;
    height: 15px;
    background-color: #28a745;
    color: #fff;
    text-align: center;
    line-height: 15px;
    border-radius: 0;
    transition: width 0.3s ease;
    font-size: 10px;
}
.dropify-wrapper .dropify-view {
    top: 10px;
    right: 80px;
}
.profile-upload {
    position: relative;
    display: inline-block;
    width: 130px;
    height: 130px;
}
.profile-upload img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: 0.3s ease;
}
.profile-upload img:hover {
    opacity: 0.85;
    transform: scale(1.02);
}
.profile-upload .camera-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #fff;
    border-radius: 50%;
    padding: 7px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: 0.3s;
}
.profile-upload .camera-icon:hover {
    background: #f5f5f5;
}
#ticket-list {
    margin-top: 0;
    margin-bottom: 20px;
}
.ticket-option-card {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 15px;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin: 15px auto;
}
.ticket-option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    border-color: #818cf8;
}
.ticket-option-card.selected {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: #6366f1;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}
.ticket-option-card input[type="radio"] {
    display: none;
}
.ticket-card-inner {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    position: relative;
}
.ticket-icon-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
}
.ticket-option-card.selected .ticket-icon-wrapper {
    background: #ffffff;
}
.ticket-icon-wrapper i {
    font-size: 24px;
    color: #ffffff;
    transition: color 0.3s ease;
}
.ticket-option-card.selected .ticket-icon-wrapper i {
    color: #6366f1;
}
.ticket-info {
    flex: 1;
}
.ticket-type-name {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    transition: color 0.3s ease;
    line-height: 1.4;
}
.ticket-option-card.selected .ticket-type-name {
    color: #ffffff;
}
.ticket-price-section {
    flex-shrink: 0;
    text-align: right;
    margin-right: 50px;
}
.ticket-price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #6366f1;
    transition: color 0.3s ease;
}
.ticket-option-card.selected .ticket-price-amount {
    color: #ffffff;
}
.ticket-price-currency {
    font-size: 16px;
    color: #6b7280;
    margin-left: 4px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.ticket-option-card.selected .ticket-price-currency {
    color: rgba(255, 255, 255, 0.9);
}
.ticket-check-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.ticket-option-card.selected .ticket-check-icon {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}
.ticket-check-icon i {
    color: #6366f1;
    font-size: 18px;
    font-weight: bold;
}
.ticket-recommended-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 16px;
    border-radius: 0 10px 0 12px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    z-index: 2;
}
.ticket-recommended-badge i {
    margin-right: 4px;
    font-size: 12px;
}
label.ticket-option-card {
    margin-bottom: 0;
}
.ticket-card-inner {
    padding: 16px 18px;
}
.ticket-icon-wrapper {
    width: 45px;
    height: 45px;
    margin-right: 15px;
}
.ticket-icon-wrapper i {
    font-size: 20px;
}
.ticket-type-name {
    font-size: 16px;
}
.ticket-price-amount {
    font-size: 24px;
}
.ticket-price-currency {
    font-size: 14px;
}
.ticket-price-section {
    margin-right: 45px;
}
.ticket-check-icon {
    width: 32px;
    height: 32px;
    right: 16px;
}
.ticket-check-icon i {
    font-size: 16px;
}
.ticket-card-inner {
    flex-wrap: wrap;
}
.ticket-info {
    flex: 1 1 100%;
    margin-bottom: 12px;
}
.ticket-price-section {
    margin-right: 45px;
    margin-top: 8px;
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.ticket-option-card {
    animation: slideInRight 0.4s ease forwards;
}
.ticket-option-card:nth-child(1) { animation-delay: 0.05s; }
.ticket-option-card:nth-child(2) { animation-delay: 0.1s; }
.ticket-option-card:nth-child(3) { animation-delay: 0.15s; }
.ticket-option-card:nth-child(4) { animation-delay: 0.2s; }
.ticket-option-card:nth-child(5) { animation-delay: 0.25s; }
.payment-history-table {
    margin-top: 20px;
}
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 15px;
}
.timeline-icon {
    position: absolute;
    left: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.timeline-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 35px;
    bottom: -30px;
    width: 2px;
    background: #dee2e6;
}
.timeline-item:last-child::before {
    display: none;
}
.btn-red {
    background-color: #fb9678;
    color: #FFFFFF;
}
.register-nav h5 {
    width: 100%;
    border-bottom: 3px solid #FFFFFF;
    padding-bottom: 15px;
    text-align: center;
}
.register-nav.active h5 {
    border-bottom: 3px solid #FF9900;
}
a, a:hover {
    cursor: pointer;
    text-decoration: none;
}
.payment-method-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.payment-method-card:hover {
    border-color: #FF9900;
    box-shadow: 0 4px 10px rgba(255,153,0,0.2);
}
.payment-method-card.selected {
    border-color: #28a745;
    box-shadow: 0 0 10px rgba(40,167,69,0.3);
}
.payment-method-card .cover img {
    max-width: 100%;
    height: 65px;
    margin: 15px auto;
    display: block;
    border-radius: 8px;
}
.payment-method-card .info h5 {
    font-size: 16px;
    margin: 5px 0;
    color: #333;
}
.payment-method-card .info p {
    font-size: 13px;
    color: #777;
    margin: 0;
}