/* Conference Pages Styles */

/* Tab System - Uses common.css styles */
/* Additional conference-specific tab styles can be added here if needed */

/* Schedule Page - Uses common.css styles for board-controls, search-form, data-list */
.schedule-content {
    margin-top: 30px;
}

/* Schedule table font size adjustment */
.schedule-content .data-list td {
    font-size: 14px;
}

/* Schedule table word-wrap for better readability */
.schedule-table td {
    word-break: keep-all;
    /* 한글/영문 단어 단위로 줄바꿈 */
    word-wrap: break-word;
    /* 긴 단어도 필요시 줄바꿈 */
    white-space: normal;
    /* 공백 문자에서 줄바꿈 허용 */
}

/* Status text styling (not badges) */
.status-text {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.status-text.status-active {
    color: #28a745;
}

.status-text.status-closed {
    color: #dc3545;
}

.status-text.status-preparing {
    color: #ff9800;
}

/* Date cells with line breaks */


.schedule-content .data-list td br {
    content: "";
    display: block;
    margin: 2px 0;
}

/* Status buttons for 진행중 events */
.status-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
}

/* Utility class for margin top */
.mt-2 {
    margin-top: 8px;
}

.btn-status {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
    border: 1px solid transparent;
}

.btn-guide {
    background-color: #fff;
    color: #17a2b8;
    border-color: #17a2b8;
}

.btn-guide:hover {
    background-color: #17a2b8;
    color: white;
}

.btn-registration {
    background-color: #fff;
    color: #007bff;
    border-color: #007bff;
}

.btn-registration:hover {
    background-color: #007bff;
    color: white;
}

/* Status attended badge for 종료 events (준비용) */
.status-attended {
    display: inline-block;
    padding: 4px 12px;
    background-color: #6c757d;
    color: white;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

/* Conference Overview */
.conference-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 30px;
}

.conference-banner .banner-title {
    font-size: 28px;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.conference-banner .banner-subtitle {
    font-size: 18px;
    margin: 5px 0 0 0;
    opacity: 0.95;
}

/* Tab content styling */
.tab-content .text-muted {
    color: #6c757d;
    font-style: italic;
    padding: 30px 0;
}

/* HTML content styling within tabs */
.tab-content h1,
.tab-content h2,
.tab-content h3,
.tab-content h4,
.tab-content h5,
.tab-content h6 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.tab-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.tab-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.tab-content table th,
.tab-content table td {
    padding: 10px;
    border: 1px solid #dee2e6;
}

.tab-content table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.tab-content ul,
.tab-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.tab-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Center align paragraphs that contain only images */
.tab-content p:has(img) {
    text-align: center;
}

/* For browsers that don't support :has(), use this as fallback */
.tab-content p>img:only-child {
    margin-left: auto;
    margin-right: auto;
}

.conference-theme {
    font-size: 20px;
    font-style: italic;
    opacity: 0.95;
}

.conference-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-label {
    font-weight: bold;
    color: #666;
    margin-right: 10px;
    min-width: 80px;
}

.info-value {
    color: #333;
}

/* Invitation Section */
.invitation-section {
    margin-bottom: 40px;
}

.invitation-content {
    background: white;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    line-height: 1.8;
}

.invitation-content p {
    margin-bottom: 20px;
}

.signature {
    margin-top: 30px;
    text-align: right;
    font-weight: bold;
    color: #333;
}

/* Program Section */
.program-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.program-item {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.program-type {
    background: #6c757d;
    color: white;
    padding: 20px;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-align: center;
}

.program-details {
    padding: 20px;
    flex: 1;
}

.program-details h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 18px;
}

.program-speaker {
    color: #666;
    margin-bottom: 5px;
}

.program-time {
    color: #999;
    font-size: 14px;
}

/* Credit Section */
.credit-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.credit-info ul {
    list-style: none;
    padding: 0;
}

.credit-info li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.credit-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.note {
    margin-top: 15px;
    color: #dc3545;
    font-size: 14px;
}

/* Contact Section */
.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.8;
}

/* Schedule Page */
.schedule-day {
    margin-bottom: 40px;
}

.day-title {
    background: #343a40;
    color: white;
    padding: 15px 20px;
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
    font-size: 20px;
}

.schedule-day .data-list-box {
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.program-details-section {
    margin-top: 40px;
}

.program-detail {
    margin-bottom: 30px;
}

.program-detail h4 {
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.program-detail ul {
    list-style: none;
    padding-left: 0;
}

.program-detail li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Registration Page */
.fee-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.fee-table {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.fee-table h4 {
    background: #6c757d;
    color: white;
    padding: 15px;
    margin: 0;
    font-size: 18px;
}

.fee-table .period {
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-top: 5px;
}

.fee-table table {
    width: 100%;
}

.fee-notice {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.includes-list {
    list-style: none;
    padding: 0;
}

.includes-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.includes-list li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #007bff;
    font-weight: bold;
    font-size: 20px;
}

/* Registration Steps */
.method-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: bold;
}

.step-content h4 {
    margin-bottom: 10px;
    color: #333;
}

.payment-info-box {
    margin: 20px 0;
}

.payment-notice,
.refund-notice {
    background: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #007bff;
    margin-top: 20px;
}

/* Location Page */
.venue-info-box {
    margin-bottom: 30px;
}

.map-container {
    margin-bottom: 30px;
}

.map-buttons {
    margin-top: 15px;
    text-align: center;
}

.map-buttons .btn {
    margin: 0 5px;
}

.transport-item {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.transport-item h4 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 18px;
}

.transport-item i {
    margin-right: 8px;
    color: #6c757d;
}

.line {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    color: white;
    font-weight: bold;
    margin-right: 5px;
}

.line-2 {
    background: #00a84f;
}

.line-9 {
    background: #bf9c2f;
}

.bus-info,
.parking-info {
    width: 100%;
    margin-top: 10px;
}

.bus-info th,
.parking-info th {
    background: #e9ecef;
    padding: 10px;
    text-align: left;
    width: 120px;
}

.bus-info td,
.parking-info td {
    padding: 10px;
}

.hotel-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.hotel-item {
    background: white;
    border: 1px solid #dee2e6;
    padding: 20px;
    border-radius: 8px;
}

.hotel-item h4 {
    color: #495057;
    margin-bottom: 15px;
}

.hotel-item ul {
    list-style: none;
    padding: 0;
}

.hotel-item li {
    padding: 5px 0;
    color: #666;
}

.hotel-notice {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    padding: 15px;
    border-radius: 5px;
    color: #0c5460;
}

.additional-info ul {
    list-style: none;
    padding: 0;
}

.additional-info li {
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.additional-info li:before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #6c757d;
}

/* Registration Form */
.registration-form-section {
    margin: 40px 0;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.registration-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.registration-form .form-group {
    margin-bottom: 0;
}

.registration-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #495057;
}

.registration-form .required {
    color: #dc3545;
}

.registration-form .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
}

.registration-form .form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.workshop-section {
    margin: 25px 0;
    padding: 20px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.workshop-section>label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    color: #495057;
}

.checkbox-group {
    display: grid;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    font-weight: normal !important;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-item span {
    line-height: 1.4;
}

.agreement-section {
    margin: 30px 0;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 5px;
}

.privacy-text {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
}

.privacy-text p {
    margin: 5px 0;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.form-actions .btn {
    margin: 0 10px;
    min-width: 120px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-lg {
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .conference-banner h2 {
        font-size: 22px;
    }

    .conference-theme {
        font-size: 16px;
    }

    .conference-info-grid {
        grid-template-columns: 1fr;
    }

    .program-item {
        flex-direction: column;
    }

    .program-type {
        min-width: auto;
        padding: 15px;
    }

    .fee-tables {
        grid-template-columns: 1fr;
    }

    .method-steps {
        grid-template-columns: 1fr;
    }

    .hotel-list {
        grid-template-columns: 1fr;
    }

    .registration-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .registration-form-section {
        padding: 20px 15px;
    }

    .form-actions .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .conference-banner {
        padding: 25px 20px;
    }

    .invitation-content {
        padding: 20px;
    }

    .day-title {
        font-size: 18px;
    }
}



.description-title {
    font-size: 26px;
    line-height: 150%;
    font-weight: 600;
    color: #2e3192;
    margin: 0 0 26px 0;

}


.description-box+.description-box {
    margin-top: 40px;
}

.description-subtitle {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 12px;
}

.description {
    padding-left: 16px;
}




.description .bg-desc-box {
    background: #f3f3f3;
    border-radius: 10px;
    margin: 20px 10px 0 10px;
    padding: 20px;
}

.dot-list {
    list-style: disc;
    margin-left: 30px;
    margin-top: 10px;
}


.description .point {
    margin-left: 14px;
    margin-top: 21px;
}

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

.number-list li {
    position: relative;
    padding-left: 21px;
}

.number-list li .num {
    position: absolute;
    top: 0;
    left: 0;
    width: 21px;
    text-align: center;
}

.bg-desc-box .number-list {
    margin-left: 16px;
}

.bg-desc-box h4 {
    margin-bottom: 12px;
}

.sub-description {
    margin-left: 14px;
}

.sub-description-box h4 {
    margin-bottom: 8px;
}

.sub-description-box+.sub-description-box {
    margin-top: 21px;
}

@media (max-width: 768px) {
    .description-title {
        font-size: 22px;
    }

    .description-subtitle {
        font-size: 17px;
    }
}


.past {
    padding: 0 10px;
}

.past h4 {
    background: #294c8b;
    padding: 13px 0;
    width: 70%;
    color: #fff;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    margin-top: 10px;
    display: inline-block;
    margin: 10px 15%;
}

.past ul.date {
    margin: 10px;
}

.past img {
    width: 100%;
}

.table_event {
    width: 100%;
    font-size: 13px;
    line-height: 18px;
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.table_event th {
    background: #509dd4;
    color: #fff;
    font-weight: 800;
    padding: 5px 0;
    border: 0;
    vertical-align: middle;
}

.table_event td {
    background: #fff;
    border: 1px solid #ddd;
    padding: 5px;
    border-left: 0;
    vertical-align: middle;
    word-break: keep-all;
}

.table_event td.liner {
    border-right: 1px solid #ddd !important;
}

.table_event td.ltext {
    text-align: left;
}

.table_event td:last-child {
    border-right: 0;
}

.table_event td a {
    color: #555
}

.table_event td.bg1 {
    background: #E6F3FF;
}

.table_event td.bg2 {
    background: #E8E8E8;
}

.table_event td.bw {
    background: #eaecf7;
}

.table_event td.ye {
    background: #ffff00;
}

.table_event td.gr {
    background: #ececec;
}

.table_event td.ow {
    background: #fce4d6;
}

.table_event td.jw {
    background: #ffe7ab;
}

.table_event td.gw {
    background: #e2efda;
}

.table_event td.pw {
    background: #f9e8f6;
}

.table_event td.ppw {
    background: #ecd9ff;
}

.table_event td.sk {
    background: #f1faff;
}

.table_event td.t_pk {
    color: #e7336e;
}

.table_event td.ig {
    background: #002060;
    color: #fff;
}

/* Location link with map icon */
.location-link {
    color: #333;
    text-decoration: none;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.location-link:hover {
    color: #2e3192;
}

.location-link i {
    color: #e74c3c;
    font-size: 14px;
}

/* Event map content styling */
.event-map-content {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.event-map-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.event-map-content iframe {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 8px;
}

.event-map-content .alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    background-color: #d1ecf1;
    color: #0c5460;
}

.event-map-content .alert p {
    margin: 0;
}

/* Page actions box for buttons */
.page-actions-box {
    margin: 36px auto 0;
    text-align: center;
    padding: 20px 0;
}

.page-actions-box .btn {
    margin: 0 5px;
}

/* Registration Page Specific Styles */
.registration-info h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900, #111827);
}

.registration-info h3:first-child {
    margin-top: 0;
}

.registration-steps {
    margin: 20px 0;
    padding-left: 25px;
}

.registration-steps li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.refund-policy {
    margin: 20px 0;
    padding-left: 20px;
}

.refund-policy li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Registration Form Wrapper */
.registration-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}


.registration-form-wrapper h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-200, #E5E7EB);
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900, #111827);
}

.check-form-section {
    max-width: 640px;
    margin: 20px auto 0;
}

.registration-form-wrapper h3:first-child {
    margin-top: 0;
}

.registration-form-wrapper .form-section {
    margin-bottom: 30px;
}

.registration-form-wrapper .form-section .form-row {
    margin-bottom: 16px;
}

.registration-form-wrapper .form-actions {
    margin-top: 40px;
    text-align: center;
}

.registration-form-wrapper .form-actions .btn {
    margin: 0 5px;
    min-width: 120px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
}

/* Responsive adjustments for registration form */
@media (max-width: 768px) {
    .registration-form-wrapper {
        padding: 0 15px;
    }

    #conference_registration_submit_form .form-actions .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

.tab-content li {
    list-style: none;
}

/* Conference content box for tab contents */
.conference-content-box {
    max-width: 850px;
    margin: 0 auto;
}

/* Registration period message */
.registration-period-message {
    padding: 40px 20px;
    text-align: center;
}

.registration-period-message .alert {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f0f8ff;
    border: 1px solid #b8daff;
    border-radius: 8px;
}

.registration-period-message .alert-info {
    color: #004085;
}

.registration-period-message .alert i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.registration-period-message .alert p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.registration-period-message .alert small {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #6c757d;
}

/* Registration Check Tab Styles */
.registration-check-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

.registration-check-wrapper h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900, #111827);
    margin-bottom: 10px;
}

.check-description {
    color: var(--gray-600, #4B5563);
    margin-bottom: 30px;
}

.check-form-section {
    background: var(--gray-50, #F9FAFB);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.check-result-box {
    background: #f0f8ff;
    border: 1px solid #b8daff;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.check-result-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #004085;
    margin-bottom: 15px;
}

.result-content {
    line-height: 1.8;
}

.check-notice {
    margin-top: 40px;
    padding: 20px;
    background: var(--gray-50, #F9FAFB);
    border-radius: 8px;
}

.check-notice h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900, #111827);
    margin-bottom: 15px;
}

.check-notice ul {
    list-style: none;
    padding: 0;
}

.check-notice li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-700, #374151);
}

.check-notice li:before {
    content: "•";
    position: absolute;
    left: 5px;
    color: var(--primary-blue, #007bff);
}


table.form-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

table.form-table th,
table.form-table td {
    padding: 10px;
    border: 1px solid #dee2e6;
}

table.form-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}