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

body {
    font-family: "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif !important;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #fdb913;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.nav-content {
    height: 62px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
    margin-bottom: 0;
    height: 100%;
    padding-left: 0 !important;
}

.logo-img {
    height: 30px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.logo-highlight {
    color: #ff6b00;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-btn,
.user-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    padding: 5px 10px;
    transition: opacity 0.3s;
    text-decoration: none;
}

.lang-btn:hover,
.user-btn:hover {
    opacity: 0.7;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle .hidden {
    display: none;
}

/* Mobile Menu */
.mobile-menu {
    background-color: #fdb913;
    padding: 20px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu.hidden {
    display: none;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list li {
    margin-bottom: 8px;
}

.mobile-nav-list li:last-child {
    margin-bottom: 0;
    margin-top: 16px;
}

.mobile-nav-list a {
    text-decoration: none;
    color: #1e222a;
    font-weight: 600;
    font-size: 20px;
    display: block;
    padding: 8px 0;
    transition: opacity 0.3s;
}

.mobile-nav-list a:hover {
    opacity: 0.7;
}

.mobile-lang-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 18px !important;
    font-weight: 500 !important;
}

/* Hero Section */
.hero {
    background: #ffd971;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    color: #ff6b00;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 500;
}

.highlight-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.highlight-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.triangle-icon {
    color: #ff6b00;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Hero Image */
.triangle-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.triangle-bg {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 250px solid transparent;
    border-right: 250px solid transparent;
    border-bottom: 500px solid #fca311;
    z-index: 1;
}

.event-date-badge {
    background-color: #000;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: right;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.event-time {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.time-label {
    font-size: 14px;
    color: #666;
}

.time-value {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.time-location {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.speaker-info {
    border-top: 2px solid #fdb913;
    padding-top: 15px;
}

.speaker-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.speaker-name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.speaker-title {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

/* Main Content */
.main-content {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-area {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.4;
}

.section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.orange-title {
    color: #ff9502;
}

.bullet-list {
    list-style: disc;
    padding-left: 25px;
}

.bullet-list li {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.section-description {
    font-size: 15px;
    line-height: 1.8;
    color: #000;
    margin-bottom: 25px;
}

.schedule {
    margin-top: 25px;
}

.schedule-subtitle {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.schedule-item {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.schedule-time {
    font-weight: 700;
    color: #000;
    min-width: 50px;
}

.schedule-desc {
    color: #444;
}

.activity-summary {
    margin-top: 24px;
}

.activity-summary-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.activity-summary p {
    font-size: 14px;
    color: #000;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.info-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.speaker-profile {
    display: flex;
    gap: 20px;
    align-items: center;
    border-radius: 10px;
}

.speaker-profile-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.speaker-profile-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.speaker-profile-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.registration-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.registration-title {
    font-size: 32px;
    font-weight: 600;
    color: #ff9502;
    margin-bottom: 16px;
}

.registration-info {
    margin-bottom: 25px;
}

.registration-info .info-item {
    margin-bottom: 8px;
}

.register-btn {
    width: 100%;
    background: var(--Primary-Tent-Orange, #ff9502);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.4);
}

.register-btn:active {
    transform: translateY(0);
}

/* Account info - hidden on desktop */
.account-info {
    display: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #fdb913 0%, #fca311 100%);
    padding: 24px 0;
    text-align: center;
}

.footer-text {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .triangle-container {
        height: 400px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        padding-bottom: 160px;
    }

    .sidebar {
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        left: 0;
        right: 0;
        z-index: 999;
        background: white;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        padding: 16px 20px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        height: auto !important;
    }

    .registration-card {
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .registration-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .registration-info {
        display: none;
    }

    .account-info {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
        font-size: 14px;
        color: #333;
    }

    .nav-menu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .nav-actions .lang-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 24px 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .triangle-container {
        height: 350px;
    }

    .content-area {
        padding: 25px;
    }

    .content-title {
        font-size: 24px;
    }

    .schedule-item {
        flex-direction: column;
        gap: 5px;
    }

    .section-title {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .nav-content {
        flex-wrap: wrap;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: inline-block;
    border: none;
    padding: 0;
}

.modal-header h2 {
    text-align: center;
    color: #000;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Line Login Button */
.line-login-btn {
    width: 100%;
    padding: 12px;
    background-color: #06c755; /* LINE Green */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.line-login-btn::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("../images/icons/line.svg");
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 8px;
}

.line-icon {
    font-weight: 800;
    margin-right: 8px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider span {
    padding: 0 10px;
    color: #999;
    font-size: 14px;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #192a41;
    font-size: 14px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    background-color: #fffaf0; /* Light yellow bg for inputs as per design */
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.form-control::placeholder {
    color: #ccc;
}

.form-control.error {
    border-color: #ff4d4d;
}

.error-message {
    color: #ff4d4d;
    font-size: 12px;
    display: none;
    margin-top: 5px;
}

.form-check {
    padding-left: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.form-check input[type="checkbox"] {
    margin-top: 4px;
    margin-right: 10px;
    accent-color: #f89c1c;
}

.form-check label {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
}

/* Actions */
.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 32px;
}

.vertical-actions {
    flex-direction: column;
}

.btn-close-modal {
    flex: 1;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--Primary-Tent-Orange, #ff9502);
    color: var(--Primary-Tent-Orange, #ff9502);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
}

.btn-submit {
    flex: 1;
    padding: 12px;
    background-color: #f89c1c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(248, 156, 28, 0.4);
}

.btn-submit:hover {
    background-color: #e68a00;
}

.btn-outline {
    background-color: white;
    border: 1px solid #ccc;
    color: #666;
}

/* Success Modal Specifics */
.success-content {
    text-align: center;
}

.success-content h2 {
    color: #000;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
}

.success-details {
    text-align: left;
    margin: 24px 0 0 0;
}

.detail-group {
    margin-bottom: 16px;
}

.detail-title {
    color: #7e7e7e;
    font-size: 18px;
    font-weight: 600;
}

.detail-label {
    color: #7e7e7e;
    font-size: 14px;
    font-weight: 600;
}

.detail-value {
    color: #000;
    font-size: 18px;
    font-weight: 600;
}

.text-bold {
    font-weight: bold;
}

.btn-download {
    width: 100%;
    padding: 12px;
    background-color: #f89c1c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-download::after {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("../images/icons/download.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.detail-value {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.success-note {
    font-size: 14px;
    color: #ff9502;
    margin-top: 16px;
}

/* Duplicate Modal */
.duplicate-title {
    color: #000;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
}

.duplicate-message {
    color: #000;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

/* Ticket Capture Styles */

.ticket-capture {
    position: fixed;
    top: -9999px;
    left: -9999px;
    width: 390px; /* Mobile width */
    height: 844px; /* Mobile height */
    background-color: #ffb700; /* Yellow background */
    padding: 40px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ticket-card {
    background-color: white;
    border-radius: 12px;
    padding: 24px 16px;
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: left;
}

.ticket-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #000;
}

.ticket-group {
    margin-bottom: 16px;
}

.ticket-group label {
    display: block;
    font-size: 14px;
    color: #7e7e7e;
    margin-bottom: 4px;
}

.ticket-value {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.ticket-value {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.ticket-logo {
    margin-top: 40px;
    text-align: center;
}

.ticket-logo img {
    height: 40px;
}

.ticket-footer {
    text-align: center;
    color: white;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
