.wcw-form,
.wcw-student-dashboard,
.wcw-teacher-dashboard,
.wcw-teacher-review,
.wcw-iqa-dashboard,
.wcw-iqa-review {
    max-width: 980px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
}

.wcw-form h3,
.wcw-student-dashboard h3,
.wcw-teacher-dashboard h3,
.wcw-teacher-review h3,
.wcw-iqa-dashboard h3,
.wcw-iqa-review h3 {
    margin-top: 0;
    margin-bottom: 16px;
}

.wcw-form textarea,
.wcw-teacher-review textarea,
.wcw-iqa-review textarea {
    width: 100%;
    min-height: 120px;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-sizing: border-box;
}

.wcw-form .widefat,
.wcw-teacher-dashboard .widefat,
.wcw-teacher-review .widefat,
.wcw-iqa-dashboard .widefat,
.wcw-iqa-review .widefat {
    border-collapse: collapse;
    width: 100%;
    margin-top: 12px;
}

.wcw-form .widefat th,
.wcw-form .widefat td,
.wcw-teacher-dashboard .widefat th,
.wcw-teacher-dashboard .widefat td,
.wcw-teacher-review .widefat th,
.wcw-teacher-review .widefat td,
.wcw-iqa-dashboard .widefat th,
.wcw-iqa-dashboard .widefat td,
.wcw-iqa-review .widefat th,
.wcw-iqa-review .widefat td {
    padding: 10px;
    vertical-align: top;
}

.wcw-feedback-box {
    margin-top: 1em;
    padding: 0.75em 1em;
    border: 1px solid #ccd0d4;
    background: #f6f7f8;
    border-radius: 6px;
}

.wcw-feedback-title {
    color: #b00020;
    font-weight: 700;
}

.wcw-approved-box {
    margin-top: 1em;
    padding: 0.75em 1em;
    border: 1px solid #b7dfb4;
    background: #f2fbf1;
    border-radius: 6px;
    color: #1d7a1d;
    font-weight: 600;
}

.wcw-status-approved {
    color: #1d7a1d;
    font-weight: 600;
}

.wcw-status-needs-review {
    color: #b00020;
    font-weight: 600;
}

.wcw-actions {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.wcw-teacher-filter {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wcw-teacher-filter select {
    min-width: 200px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

.wcw-iqa-filter {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wcw-iqa-filter select {
    min-width: 200px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

.wcw-teacher-back,
.wcw-staff-back {
    margin-bottom: 12px;
}
.wcw-feedback-box, .wcw-approved-box {
    margin-bottom: 20px;
}

.wcw-workbook-header {
    max-width: 980px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.wcw-workbook-page-title {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.2;
}

.wcw-workbook-intro {
    margin-bottom: 16px;
}

.wcw-workbook-intro img,
.wcw-workbook-intro .elementor-widget-image img,
.wcw-workbook-intro figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}

.wcw-workbook-intro .elementor-widget-image,
.wcw-workbook-intro .elementor-image,
.wcw-workbook-intro figure {
    max-width: 100%;
}

.wcw-workbook-list {
    max-width: 980px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
}

.wcw-workbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.wcw-workbook-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.wcw-workbook-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.wcw-workbook-thumb {
    position: relative;
    background: #f3f4f6;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wcw-workbook-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: auto;
}
.wcw-workbook-thumb-placeholder {
    color: #6b7280;
    font-weight: 600;
}

.wcw-workbook-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.wcw-workbook-title {
    padding: 12px 12px 14px;
    font-weight: 700;
    line-height: 1.25;
}
input.pp-form-field.reg-wcw-date-above {
    margin-top: 20px !important;
}
.pp-form-field-wrap.pp-invite-code.fw-full.fda-standard.fld-above {
    display: none;
}