/* ===== Form Type Toggle (Client / Supplier) ===== */
.wplm-form-type-toggle {
    display: inline-flex;
    margin: 0 auto 30px;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 6px;
    gap: 4px;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.wplm-toggle-btn {
    background: transparent;
    border: none;
    padding: 12px 38px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.wplm-toggle-btn.active {
    background: #ec1e25;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(236, 30, 37, 0.25);
}

.wplm-toggle-btn:hover:not(.active) {
    color: #1a1a1a;
}

/* ===== Form Panes ===== */
.wplm-form-pane {
    display: none;
    font-family: 'Roboto', sans-serif;
}

.wplm-form-pane.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

/* ===== Two Column Layout ===== */
.wplm-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.15fr);
    gap: 60px;
    align-items: start;
    margin: 0 auto;
    padding: 30px 20px;
}

/* ===== Branding Side ===== */
.wplm-branding {
    padding: 20px 0;
}

.wplm-branding-title {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
    margin: 0 0 25px;
}

.wplm-branding-title span {
    color: #ec1e25;
    display: inline;
}

.wplm-branding-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
    margin: 0 0 35px;
    max-width: 460px;
}

/* Info cards */
.wplm-info-cards {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 50px;
}

.wplm-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.wplm-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fde7e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ec1e25;
    font-size: 18px;
}

.wplm-info-text h4 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
}

.wplm-info-text p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.wplm-info-text a {
    color: #6b7280;
    text-decoration: none;
}

.wplm-info-text a:hover {
    color: #ec1e25;
}

/* Follow Us */
.wplm-follow-us h4 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.wplm-social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wplm-social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.25s ease;
}

.wplm-social-icons a:hover {
    background: #ec1e25;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ===== Form Side ===== */
.wplm-form-side {
    width: 100%;
}

.wplm-reservation-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    padding: 36px 36px 32px;
}

/* ===== Step Indicator ===== */
.wplm-step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 30px;
    gap: 0;
}

.wplm-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.wplm-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F1F5F9;
    border: 2px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #9CA3AF;
    transition: all 0.3s ease;
}

.wplm-step-label {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wplm-step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 -4px 28px;
    z-index: 1;
    min-width: 40px;
}

/* Active Step State */
.wplm-step-item.active .wplm-step-number {
    background: #ec1e25;
    border-color: #ec1e25;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(236, 30, 37, 0.1);
}

.wplm-step-item.active .wplm-step-label {
    color: #1a1a1a;
}

/* Completed Step State */
.wplm-step-item.completed .wplm-step-number {
    background: #ec1e25;
    border-color: #ec1e25;
    color: #ffffff;
}

.wplm-step-item.completed .wplm-step-label {
    color: #1a1a1a;
}

/* Connecting line between completed/active steps becomes red */
.wplm-step-item.completed+.wplm-step-line,
.wplm-step-item.active+.wplm-step-line {
    background: #ec1e25;
}

/* ===== Step Content ===== */
.wplm-form-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.wplm-form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wplm-step-content-header {
    margin-bottom: 22px;
}

.wplm-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.wplm-section-title i {
    display: none;
}

/* ===== Navigation Buttons ===== */
.wplm-form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.wplm-form-navigation>div:empty {
    flex: 1;
}

.wplm-next-btn,
.wplm-submit-btn {
    background: #ec1e25;
    color: #ffffff;
    border: none;
    padding: 13px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(236, 30, 37, 0.25);
}

.wplm-next-btn:hover,
.wplm-submit-btn:hover {
    background: #d41a21;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(236, 30, 37, 0.3);
}

.wplm-back-btn {
    background: #ffffff;
    color: #111827;
    border: 1.5px solid #e2e8f0;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.wplm-back-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #ec1e25;
}

/* ===== Form Grid ===== */
.wplm-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.wplm-form-grid.single-col {
    grid-template-columns: 1fr;
}

.wplm-form-group.full-width {
    grid-column: 1 / -1;
}

.wplm-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.wplm-form-group input[type="text"],
.wplm-form-group input[type="email"],
.wplm-form-group input[type="tel"],
.wplm-form-group select,
.wplm-form-group textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    font-size: 14px;
    color: #1a1a1a;
    padding: 14px 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.wplm-form-group input::placeholder,
.wplm-form-group textarea::placeholder {
    color: #94a3b8;
}

.wplm-form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.wplm-form-group input:focus,
.wplm-form-group select:focus,
.wplm-form-group textarea:focus {
    border-color: #ec1e25;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(236, 30, 37, 0.05);
    outline: none;
}

/* ===== File Upload ===== */
.wplm-file-upload-wrapper {
    position: relative;
    width: 100%;
    min-height: 130px;
    border: 2px dashed #E2E8F0;
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 20px;
}

.wplm-file-upload-wrapper:hover {
    border-color: #ec1e25;
    background: #fff5f5;
}

.wplm-file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.wplm-upload-ui {
    text-align: center;
    color: #64748b;
}

.wplm-upload-ui i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
    color: #475569;
}

.wplm-upload-ui span {
    font-size: 14px;
    font-weight: 500;
}

/* ===== Consent Notice ===== */
.wplm-consent-notice {
    font-size: 14px;
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 600;
    padding: 6px 0;
}

.wplm-red-star {
    color: #ec1e25;
    font-weight: 700;
    margin-right: 2px;
}

input[type=checkbox],
input[type=radio] {
    margin-inline-end: 8px;
}

.wplm-input-help {
    font-size: 13px;
    color: #64748b;
    margin: -2px 0 8px;
}

.wplm-radio-group {
    display: flex;
    gap: 18px;
    padding-top: 4px;
}

.wplm-radio-label {
    display: inline-flex !important;
    align-items: center;
    font-weight: 500 !important;
    color: #1a1a1a;
    margin-bottom: 0 !important;
}

/* Hide the legacy form-heading (replaced by branding column) */
.wplm-form-heading {
    display: none;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .wplm-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 16px;
    }

    .wplm-branding {
        text-align: left;
        padding: 10px 0;
    }

    .wplm-branding-title {
        font-size: 32px;
    }

    .wplm-info-cards {
        margin-bottom: 30px;
    }
}

@media (max-width: 640px) {
    .wplm-reservation-container {
        padding: 24px 18px;
    }

    .wplm-step-line {
        min-width: 20px;
    }

    .wplm-step-label {
        font-size: 11px;
    }

    .wplm-step-number {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .wplm-form-navigation {
        flex-wrap: wrap;
        gap: 10px;
    }

    .wplm-next-btn,
    .wplm-submit-btn,
    .wplm-back-btn {
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
    }

    .wplm-branding-title {
        font-size: 28px;
    }
}