/* DWF Booklet Tracker — frontend */

.dwf-booklet {
    max-width: 520px;
    margin: 0 auto;
    padding: 28px 24px 32px;
    text-align: center;
    background: #fff;
    color: #1d2327;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.dwf-booklet.is-transparent {
    background: transparent !important;
    box-shadow: none !important;
    padding-left: 0;
    padding-right: 0;
}

.dwf-booklet-cover {
    margin: 0 auto 20px;
    line-height: 0;
}

.dwf-booklet-cover img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dwf-booklet-cover-link {
    display: inline-block;
    line-height: 0;
}

.dwf-booklet-cover-link:hover img {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 12px 28px rgba(237, 0, 140, 0.22);
}

.dwf-booklet-title {
    margin: 8px 0 18px;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
}

.dwf-booklet-action {
    margin-top: 8px;
}

.dwf-booklet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: #ed008c;
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    border-radius: 50px;
    min-width: 220px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 18px rgba(237, 0, 140, 0.25);
}

.dwf-booklet-btn:hover,
.dwf-booklet-btn:focus {
    background: #d1007a;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(237, 0, 140, 0.35);
}

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

.dwf-booklet-btn-icon {
    display: inline-block;
    font-weight: 700;
    font-size: 1.15rem;
}

.dwf-booklet-empty {
    padding: 14px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #664d03;
    font-size: 14px;
    text-align: left;
}

@media (max-width: 540px) {
    .dwf-booklet {
        padding: 22px 18px 26px;
    }
    .dwf-booklet-title {
        font-size: 1.2rem;
    }
    .dwf-booklet-btn {
        width: 100%;
        min-width: 0;
    }
}
