/* ─── Conference Registration 360° ─────────────────────────────── */

.conf360-registration {
    max-width: 720px;
    margin: 0 auto 2rem;
    font-family: inherit;
}

/* ─── Sections ──────────────────────────────────────────────────── */

.conf360-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.conf360-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2c3e6b;
    color: #2c3e6b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.conf360-section-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin: -0.25rem 0 1rem;
    font-style: italic;
}

.conf360-section-divider {
    margin: 1.5rem 0 0.5rem;
}

.conf360-section-divider .conf360-section-title {
    border-bottom: none;
    font-size: 1.2rem;
}

.conf360-slot-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: #444;
}

/* ─── Fields Row ────────────────────────────────────────────────── */

.conf360-fields-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.conf360-field {
    flex: 1;
    min-width: 200px;
}

.conf360-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: #333;
}

.conf360-field select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fafafa;
    appearance: auto;
    cursor: pointer;
    transition: border-color 0.2s;
}

.conf360-field select:focus {
    border-color: #2c3e6b;
    outline: none;
    box-shadow: 0 0 0 2px rgba(44, 62, 107, 0.15);
}

/* ─── Price Display ─────────────────────────────────────────────── */

.conf360-price-display {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: #f7f8fc;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
}

.conf360-price-placeholder {
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
}

.conf360-price-error {
    color: #c0392b;
    font-weight: 500;
}

.conf360-price-amount {
    font-weight: 700;
    font-size: 1.2rem;
    color: #2c3e6b;
}

.conf360-price-regular {
    color: #999;
    font-weight: 400;
    font-size: 1rem;
}

.conf360-price-sale {
    color: #27ae60;
    font-size: 1.3rem;
}

.conf360-eb-badge {
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* ─── Session Items ─────────────────────────────────────────────── */

.conf360-session-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.conf360-session-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.conf360-session-item:hover {
    border-color: #2c3e6b;
    background: #f7f8fc;
}

.conf360-session-item input[type="checkbox"],
.conf360-session-item input[type="radio"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #2c3e6b;
}

.conf360-session-item input:checked ~ .conf360-session-info {
    font-weight: 500;
}

.conf360-session-item:has(input:checked) {
    border-color: #2c3e6b;
    background: #f0f2f8;
    box-shadow: 0 0 0 1px #2c3e6b;
}

.conf360-session-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.conf360-session-time {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    min-width: 90px;
}

.conf360-session-title {
    font-size: 0.95rem;
    color: #333;
}

.conf360-session-room {
    font-size: 0.8rem;
    color: #888;
}

/* ─── Badges ────────────────────────────────────────────────────── */

.conf360-badge {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
}

.conf360-badge-workshop {
    background: #e8f4fd;
    color: #2980b9;
}

.conf360-badge-diploma {
    background: #eafaf1;
    color: #27ae60;
}

.conf360-badge-restricted {
    background: #fdecea;
    color: #c0392b;
}

.conf360-badge-lunch {
    background: #e8f5e9;
    color: #2e7d32;
}

/* ─── Lunch: never show stock ──────────────────────────────────── */

.conf360-lunch-wrapper .conf360-stock,
.conf360-lunch-wrapper .conf360-stock-available {
    display: none;
}

/* ─── Stock ─────────────────────────────────────────────────────── */

.conf360-stock {
    flex-shrink: 0;
    font-size: 0.8rem;
    text-align: right;
}

.conf360-stock-available {
    color: #27ae60;
    font-weight: 500;
}

.conf360-stock-sold-out {
    color: #c0392b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* ─── Sold Out & Restricted ─────────────────────────────────────── */

.conf360-session-item.conf360-sold-out {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f9f9f9;
}

.conf360-session-item.conf360-sold-out:hover {
    border-color: #e8e8e8;
    background: #f9f9f9;
}

.conf360-session-item.conf360-hidden-restricted {
    display: none !important;
}


/* ─── Summary ───────────────────────────────────────────────────── */

.conf360-submit-section {
    margin-top: 1.5rem;
}

.conf360-summary {
    background: #f7f8fc;
    border: 1px solid #d0d5e0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.conf360-summary h4 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: #2c3e6b;
}

.conf360-summary-ticket {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.conf360-summary-sessions,
.conf360-summary-lunch {
    margin: 0.5rem 0;
}

.conf360-summary-sessions ul,
.conf360-summary-lunch ul {
    margin: 0.25rem 0 0 1.25rem;
    padding: 0;
}

.conf360-summary-sessions li,
.conf360-summary-lunch li {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.conf360-summary-total {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid #2c3e6b;
    font-size: 1.1rem;
    text-align: right;
    color: #2c3e6b;
}

/* ─── Messages ──────────────────────────────────────────────────── */

.conf360-msg-error {
    background: #fdecea;
    color: #c0392b;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.conf360-msg-success {
    background: #eafaf1;
    color: #27ae60;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* ─── Submit Button ─────────────────────────────────────────────── */

.conf360-submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #2c3e6b;
    color: #fff;
    transition: all 0.2s;
}

.conf360-submit-btn:hover:not(:disabled) {
    background: #1e2d52;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 62, 107, 0.3);
}

.conf360-submit-btn:disabled {
    background: #bbb;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ─── Cart Display ──────────────────────────────────────────────── */

.conf360-included {
    color: #27ae60;
    font-weight: 500;
    font-style: italic;
}

/* ─── Checkout Fields ───────────────────────────────────────────── */

#conf360-checkout-fields {
    background: #f7f8fc;
    border: 1px solid #d0d5e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

#conf360-checkout-fields h3 {
    font-size: 1rem;
    color: #2c3e6b;
    margin: 1rem 0 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e0e0e0;
}

#conf360-checkout-fields h3:first-child {
    margin-top: 0;
}

#conf360-checkout-fields #conf360_tip_facturare_field .woocommerce-input-wrapper {
    display: flex;
    gap: 1.5rem;
}

#conf360-checkout-fields #conf360_tip_facturare_field .woocommerce-input-wrapper label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

#conf360-checkout-fields .woocommerce-input-wrapper input[type="text"],
#conf360-checkout-fields .woocommerce-input-wrapper textarea {
    width: 100%;
}

/* ─── Included Info ────────────────────────────────────────────── */

.conf360-included-info {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: #eef6ee;
    border: 1px solid #c3dfc3;
    border-radius: 6px;
    border-left: 4px solid #27ae60;
}

.conf360-included-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c6b3e;
    margin: 0 0 0.5rem;
}

.conf360-included-list {
    margin: 0;
    padding: 0 0 0 1.25rem;
    list-style: disc;
}

.conf360-included-list li {
    font-size: 0.88rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 0.3rem;
}

/* ─── Pricing Table Shortcode ──────────────────────────────────── */

.conf360-pricing-table {
    max-width: 720px;
    margin: 2rem auto;
    font-family: inherit;
}

.conf360-pricing-eb-banner {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.conf360-pricing-eb-banner .conf360-eb-badge {
    margin-left: 0;
    background: rgba(255, 255, 255, 0.25);
}

.conf360-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid #d0d5e0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.conf360-pricing-eb-banner + .conf360-pricing-grid {
    border-top: none;
}

.conf360-pricing-table > .conf360-pricing-grid:first-child {
    border-radius: 8px;
}

.conf360-pricing-cell {
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
}

.conf360-pricing-cell:nth-child(3n) {
    border-right: none;
}

.conf360-pricing-grid > .conf360-pricing-cell:nth-last-child(-n+3) {
    border-bottom: none;
}

.conf360-pricing-header {
    background: #2c3e6b;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #1e2d52;
    border-right-color: rgba(255, 255, 255, 0.15);
}

.conf360-pricing-corner {
    background: #243256;
}

.conf360-pricing-category {
    background: #f7f8fc;
    font-weight: 600;
    color: #2c3e6b;
    font-size: 0.9rem;
    justify-content: flex-start;
    text-align: left;
}

.conf360-pricing-price {
    flex-direction: column;
    gap: 0.2rem;
    background: #fff;
}

.conf360-pricing-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
}

.conf360-pricing-eb {
    font-weight: 700;
    font-size: 1.15rem;
    color: #27ae60;
}

.conf360-pricing-current {
    font-weight: 700;
    font-size: 1.05rem;
    color: #2c3e6b;
}

/* ─── Countdown Shortcode ──────────────────────────────────────── */

.conf360-countdown {
    max-width: 720px;
    margin: 1.5rem auto;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
}

.conf360-countdown-active {
    background: linear-gradient(135deg, #fef9e7 0%, #fdf2d1 100%);
    border: 1px solid #f0d78c;
}

.conf360-countdown-expired {
    background: #f7f8fc;
    border: 1px solid #d0d5e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.conf360-countdown-icon {
    font-size: 1.2rem;
}

.conf360-countdown-badge {
    margin-bottom: 0.5rem;
}

.conf360-countdown-days {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.conf360-countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f39c12;
    line-height: 1;
}

.conf360-countdown-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e6b;
}

.conf360-countdown-date {
    font-size: 0.85rem;
    color: #888;
}

/* ─── CTA Button Shortcode ─────────────────────────────────────── */

.conf360-cta-wrapper {
    max-width: 720px;
    margin: 1.5rem auto;
    text-align: center;
}

.conf360-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #2c3e6b;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.2s;
}

.conf360-cta-button:hover {
    background: #1e2d52;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 62, 107, 0.3);
    color: #fff !important;
    text-decoration: none !important;
}

/* ─── Online Program (read-only sessions) ──────────────────────── */

.conf360-session-readonly {
    cursor: default;
    padding-left: 1rem;
    border-left: 3px solid #27ae60;
}

.conf360-session-readonly:hover {
    background: transparent;
    border-color: #e8e8e8;
    border-left-color: #27ae60;
}

.conf360-online-section .conf360-section-title {
    color: #1a5276;
}

/* ─── Responsive ────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .conf360-registration {
        margin: 0 -0.5rem 1rem;
    }

    .conf360-section {
        padding: 1rem;
        border-radius: 6px;
    }

    .conf360-fields-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .conf360-session-item {
        padding: 0.6rem 0.75rem;
        gap: 0.5rem;
    }

    .conf360-session-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .conf360-session-time {
        min-width: auto;
    }

    .conf360-stock {
        font-size: 0.75rem;
    }

    .conf360-price-amount {
        font-size: 1.1rem;
    }

    .conf360-submit-btn {
        padding: 0.85rem;
        font-size: 1rem;
    }

    .conf360-included-info {
        padding: 0.85rem 1rem;
    }

    .conf360-included-list li {
        font-size: 0.82rem;
    }

    .conf360-pricing-cell {
        padding: 0.6rem 0.5rem;
    }

    .conf360-pricing-eb {
        font-size: 1rem;
    }

    .conf360-pricing-category {
        font-size: 0.8rem;
    }

    .conf360-countdown-number {
        font-size: 2rem;
    }

    .conf360-cta-button {
        display: block;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        margin: 0 1rem;
    }
}
