/* White Label Block - Frontend Styles */

.taskipfb-white-label {
    width: 100%;
    position: relative;
}

.taskipfb-wl-container {
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Header ---- */
.taskipfb-wl-header {
    text-align: center;
    margin-bottom: 60px;
}

.taskipfb-wl-label {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 16px 0;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.taskipfb-wl-heading {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px 0;
    white-space: pre-line;
}

.taskipfb-wl-description {
    font-size: 17px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 520px;
}

/* ---- Body (two columns) ---- */
.taskipfb-wl-body {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

/* ---- Left: Features List ---- */
.taskipfb-wl-features {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    min-width: 0;
}

.taskipfb-wl-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-sizing: border-box;
    transition: box-shadow 0.15s ease;
}

.taskipfb-wl-feature-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Numbered circle */
.taskipfb-wl-feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    max-width: 25px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background-color: #10b981;
    position: relative;
    z-index: 0;
}

.taskipfb-wl-feature-number::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: transparent;
    width: 35px;
    height: 35px;
    border: 2px solid var(--wl-nb-color, #10b981);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.taskipfb-wl-feature-label {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

/* ---- Right: Screenshot ---- */
.taskipfb-wl-screenshot {
    flex-shrink: 0;
    min-width: 0;
    background-color: #F9F9F9;
    border: 1px solid #D1D0D1;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    position: sticky;
    top: 40px;
    display: flex;
    flex-direction: column;
}

.taskipfb-wl-screenshot-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    border: 1px solid #E4E4E7;
}

.taskipfb-wl-screenshot-top {
    margin-bottom: 40px;
}

.taskipfb-wl-screenshot-bottom {
    margin-bottom: 0;
}

/* Editor placeholder */
.taskipfb-wl-screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 2px dashed #D1D0D1;
    border-radius: 10px;
    cursor: pointer;
    color: #9CA3AF;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
}

.taskipfb-wl-screenshot-placeholder.taskipfb-wl-screenshot-top {
    margin-bottom: 40px;
}

.taskipfb-wl-screenshot-placeholder span {
    font-size: 48px;
}

.taskipfb-wl-screenshot-placeholder p {
    font-size: 14px;
    margin: 0;
}

/* ---- Tablet Responsive ---- */
@media (max-width: 1024px) {
    .taskipfb-wl-heading {
        font-size: 40px;
    }

    .taskipfb-wl-description {
        font-size: 16px;
    }

    .taskipfb-wl-feature-label {
        font-size: 16px;
    }

    .taskipfb-wl-feature-number {
        width: 25px;
        height: 25px;
        max-width: 25px;
        font-size: 12px;
    }
}

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
    .taskipfb-wl-header {
        margin-bottom: 40px;
    }

    .taskipfb-wl-heading {
        font-size: 30px;
    }

    .taskipfb-wl-description {
        font-size: 15px;
    }

    .taskipfb-wl-body {
        flex-direction: column !important;
    }

    .taskipfb-wl-features,
    .taskipfb-wl-screenshot {
        flex: none !important;
        width: 100% !important;
    }

    .taskipfb-wl-screenshot {
        position: static;
    }

    .taskipfb-wl-feature-label {
        font-size: 15px;
    }
}

/* ---- Extra Small Mobile ---- */
@media (max-width: 480px) {
    .taskipfb-wl-heading {
        font-size: 26px;
    }

    .taskipfb-wl-feature-item {
        padding: 14px 16px;
    }
}
