
/* =========================================================
   FREEMANWV SCRAPBOOK
   CLEAN MASTER STYLESHEET
   ========================================================= */
/* =========================================================
   SECTION: SCRAPBOOK LANDING PAGE
   ========================================================= */

.scrapbook-landing-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 20px 92px;
    background:
        radial-gradient(circle at 14% 22%, rgba(31,95,58,0.08), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(212,160,23,0.10), transparent 20%),
        linear-gradient(to bottom, #f6faf7 0%, #ffffff 100%);
}

.scrapbook-hero-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.scrapbook-hero-shape-1 {
    left: -140px;
    top: 20px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(31,95,58,0.06) 0%, rgba(31,95,58,0.01) 50%, rgba(31,95,58,0) 72%);
}

.scrapbook-hero-shape-2 {
    right: -120px;
    bottom: 10px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(106,174,214,0.08) 0%, rgba(106,174,214,0.02) 48%, rgba(106,174,214,0) 74%);
}

.scrapbook-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
}

.scrapbook-hero-copy {
    flex: 0 1 580px;
}

.scrapbook-kicker,
.section-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(31,95,58,0.08);
    color: #1f5f3a;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.scrapbook-hero-copy h1 {
    margin: 0 0 16px;
    font-size: 3.9rem;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #1f5f3a;
    max-width: 680px;
}

.scrapbook-hero-copy p {
    margin: 0 0 26px;
    max-width: 620px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: #56645c;
}

.scrapbook-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.scrapbook-hero-preview {
    flex: 0 1 460px;
    display: flex;
    justify-content: center;
}

.book-mockup-stack {
    position: relative;
    width: 360px;
    height: 420px;
}

.book-mockup {
    position: absolute;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(19, 37, 28, 0.12);
}

.book-mockup-back {
    inset: 24px 24px 24px 24px;
    background: linear-gradient(180deg, #dce8e1 0%, #eef4f0 100%);
    transform: rotate(-8deg);
    opacity: 0.7;
}

.book-mockup-middle {
    inset: 14px 14px 14px 14px;
    background: linear-gradient(180deg, #f4ebd5 0%, #fbf6ea 100%);
    transform: rotate(5deg);
    opacity: 0.9;
}

.book-mockup-front {
    inset: 0;
    background: #ffffff;
    border: 1px solid #e7ede9;
    overflow: hidden;
}

.book-cover {
    padding: 20px;
    border-bottom: 1px solid #edf2ef;
}

.book-cover-image {
    height: 130px;
    border-radius: 16px;
    margin-bottom: 16px;
    background:
        linear-gradient(135deg, rgba(31,95,58,0.18), rgba(106,174,214,0.20)),
        linear-gradient(to bottom right, #d7e7dd, #eef6f1);
}

.book-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a867f;
}

.book-cover-text h3 {
    margin: 0 0 8px;
    font-size: 1.55rem;
    color: #1f5f3a;
}

.book-cover-text p {
    margin: 0;
    color: #5d6b63;
    line-height: 1.6;
    font-size: 0.95rem;
}

.book-page-preview {
    padding: 20px;
}

.page-photo {
    height: 120px;
    border-radius: 16px;
    margin-bottom: 16px;
    background:
        linear-gradient(135deg, rgba(212,160,23,0.18), rgba(106,174,214,0.18)),
        linear-gradient(to bottom right, #f1ead8, #edf3f8);
}

.page-lines {
    display: grid;
    gap: 10px;
}

.page-lines span {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: #e5ece8;
}

.page-lines span:nth-child(1) {
    width: 92%;
}

.page-lines span:nth-child(2) {
    width: 84%;
}

.page-lines span:nth-child(3) {
    width: 68%;
}

.scrapbook-use-cases,
.scrapbook-how-it-works,
.scrapbook-demo-section,
.scrapbook-pricing,
.scrapbook-final-cta {
    padding: 82px 20px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 12px;
    font-size: 2.6rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #1f5f3a;
}

.section-heading p {
    margin: 0;
    color: #5c6a62;
    font-size: 1.05rem;
    line-height: 1.7;
}

.use-case-grid,
.steps-grid,
.pricing-grid {
    display: grid;
    gap: 22px;
}

.use-case-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.use-case-card,
.step-card,
.pricing-card,
.final-cta-card,
.demo-panel {
    background: #ffffff;
    border: 1px solid #e5ece8;
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(19, 37, 28, 0.05);
}

.use-case-card {
    padding: 24px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
}

.use-case-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #eef5f1 0%, #e5efe9 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.use-case-icon-label {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #1f5f3a;
}

.use-case-icon {
    width: 24px;
    height: 24px;
    stroke: #1f5f3a;
    stroke-width: 1.8;
    fill: none;
}

.use-case-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: #1f5f3a;
}

.use-case-card p {
    margin: 0;
    color: #58665e;
    line-height: 1.65;
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
    padding: 26px 24px;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef5f1;
    color: #1f5f3a;
    font-weight: 800;
}

.step-card h3 {
    margin: 0 0 10px;
    color: #1f5f3a;
    font-size: 1.24rem;
}

.step-card p {
    margin: 0;
    color: #59675f;
    line-height: 1.65;
}

.demo-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 34px;
    background:
        radial-gradient(circle at 85% 15%, rgba(106,174,214,0.10), transparent 24%),
        linear-gradient(to bottom, #ffffff 0%, #fbfcfb 100%);
}

.demo-panel-copy {
    flex: 0 1 540px;
}

.demo-panel-copy h2 {
    margin: 0 0 12px;
    font-size: 2.25rem;
    line-height: 1.08;
    color: #1f5f3a;
}

.demo-panel-copy p {
    margin: 0 0 22px;
    color: #58665e;
    line-height: 1.72;
}

.demo-panel-preview {
    position: relative;
    flex: 0 1 360px;
    min-height: 250px;
}

.demo-page {
    position: absolute;
    border-radius: 22px;
    border: 1px solid #e6ece8;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(19, 37, 28, 0.07);
}

.demo-page-one {
    width: 280px;
    height: 220px;
    right: 0;
    top: 0;
    padding: 18px;
}

.demo-page-two {
    width: 220px;
    height: 180px;
    left: 16px;
    bottom: 0;
    background: linear-gradient(135deg, #edf4f1, #f8fbfa);
    transform: rotate(-8deg);
}

.demo-page-image {
    height: 110px;
    border-radius: 14px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #dce8e1, #eef4f8);
}

.demo-page-text {
    display: grid;
    gap: 10px;
}

.demo-page-text span {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: #e6ece8;
}

.demo-page-text span:nth-child(1) {
    width: 100%;
}

.demo-page-text span:nth-child(2) {
    width: 85%;
}

.demo-page-text span:nth-child(3) {
    width: 65%;
}

.scrapbook-pricing {
    background: linear-gradient(to bottom, #fbfcfb 0%, #ffffff 100%);
}

.pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 880px;
    margin: 0 auto;
}

.pricing-card {
    padding: 28px 26px;
}

.pricing-card-featured {
    position: relative;
    border-color: #dfe9e3;
    box-shadow: 0 20px 42px rgba(19, 37, 28, 0.08);
}

.pricing-label {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef5f1;
    color: #1f5f3a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.pricing-card h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: #1f5f3a;
}

.pricing-price {
    margin: 0 0 18px;
    font-size: 2.5rem;
    line-height: 1;
    color: #1f5f3a;
    font-weight: 800;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 600;
    color: #627067;
}

.pricing-list {
    margin: 0 0 24px;
    padding-left: 18px;
    color: #5a675f;
    line-height: 1.8;
}

.final-cta-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 42px 34px;
    text-align: center;
    background:
        radial-gradient(circle at 18% 20%, rgba(31,95,58,0.06), transparent 24%),
        radial-gradient(circle at 80% 22%, rgba(212,160,23,0.07), transparent 20%),
        linear-gradient(to bottom, #ffffff 0%, #fbfcfb 100%);
}

.final-cta-card h2 {
    margin: 0 0 14px;
    font-size: 2.4rem;
    line-height: 1.08;
    color: #1f5f3a;
}

.final-cta-card p {
    max-width: 700px;
    margin: 0 auto 24px;
    color: #5a675f;
    line-height: 1.72;
    font-size: 1.03rem;
}
/* =========================================================
   SECTION: BASE UTILITIES
   ========================================================= */

.is-hidden {
    display: none !important;
}

.scrapbook-visibility-badge {
    display: inline-block;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(120, 94, 58, 0.10);
    color: #5f4d3f;
    font-size: 0.9rem;
    font-weight: 700;
}

/* =========================================================
   SECTION: AUTH / FORMS / GENERAL APP UI
   ========================================================= */

.scrapbook-auth-section {
    padding: 70px 20px 90px;
    background:
        radial-gradient(circle at 15% 20%, rgba(31,95,58,0.06), transparent 22%),
        radial-gradient(circle at 85% 18%, rgba(212,160,23,0.08), transparent 20%),
        linear-gradient(to bottom, #f5f9f7 0%, #ffffff 100%);
}

.auth-card {
    max-width: 520px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5ece8;
    border-radius: 22px;
    padding: 34px 30px;
    box-shadow: 0 18px 40px rgba(19, 37, 28, 0.08);
}

.auth-card-wide {
    max-width: 760px;
}

.auth-card-header {
    margin-bottom: 24px;
    text-align: center;
}

.auth-card-header h1 {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.1;
    color: #1f5f3a;
}

.auth-card-header p {
    margin: 0;
    color: #5a675f;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row label {
    font-weight: 700;
    color: #213028;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d8e2dc;
    border-radius: 14px;
    background: #fff;
    color: #213028;
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: #1f5f3a;
    box-shadow: 0 0 0 4px rgba(31,95,58,0.10);
}

.form-help {
    display: block;
    margin-top: 6px;
    color: #6a766f;
    font-size: 0.9rem;
}

.form-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.96rem;
}

.form-alert-error {
    background: #fff3f2;
    border: 1px solid #f2c7c2;
    color: #8a2d23;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.btn-full {
    width: 100%;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #d8e2dc;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

.radio-option input {
    margin: 0;
}

.auth-switch {
    margin: 22px 0 0;
    text-align: center;
    color: #5a675f;
}

.auth-switch a {
    color: #1f5f3a;
    font-weight: 700;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* =========================================================
   SECTION: SCRAPBOOK CARD GRID / DASHBOARD
   ========================================================= */

.dashboard-list-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-list-header h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    color: #1f5f3a;
}

.scrapbook-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.scrapbook-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border: 1px solid #e5ece8;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(19, 37, 28, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scrapbook-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(19, 37, 28, 0.10);
}

.scrapbook-card-image-wrap {
    position: relative;
    height: 220px;
    background: #f3f7f4;
}

.scrapbook-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scrapbook-card-placeholder {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(31,95,58,0.10), rgba(106,174,214,0.12)),
        linear-gradient(to bottom right, #dfe9e3, #eff5f1);
}

.scrapbook-card-visibility {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(31,95,58,0.08);
    color: #1f5f3a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.scrapbook-card-body {
    padding: 18px 18px 20px;
}

.scrapbook-card-body h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: #1f5f3a;
}

.scrapbook-card-body p {
    margin: 0 0 12px;
    color: #58665e;
    line-height: 1.6;
}

.scrapbook-card-meta {
    font-size: 0.88rem;
    color: #78857d;
}

/* =========================================================
   SECTION: BOOK EDIT PAGE
   ========================================================= */

.book-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 24px;
    align-items: start;
}

.book-edit-main,
.book-edit-sidebar {
    min-width: 0;
}

.page-list {
    display: grid;
    gap: 14px;
}

.page-list-item {
    border: 1px solid #e5ece8;
    border-radius: 18px;
    padding: 16px 16px 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
    box-shadow: 0 8px 22px rgba(19, 37, 28, 0.04);
}

.page-list-item-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.page-order {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef5f1;
    color: #1f5f3a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.page-layout {
    font-size: 0.82rem;
    color: #75827a;
    text-transform: capitalize;
}

.page-list-item h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #1f5f3a;
}

.page-list-item p {
    margin: 0;
    color: #58665e;
    line-height: 1.6;
    font-size: 0.95rem;
}

.page-preview-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.inline-action-form,
.inline-delete-form {
    margin: 0;
}

.inline-action-form .btn,
.inline-delete-form .btn {
    width: 100%;
}

.page-preview-actions .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* =========================================================
   SECTION: BOOK READER WRAPPER
   ========================================================= */

.scrapbook-book-reader {
    padding-bottom: 3rem;
}

.scrapbook-book-controls {
    padding: 0 0 1.25rem;
}

.scrapbook-book-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(140, 115, 82, 0.12);
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.scrapbook-book-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5c4a3c;
    font-weight: 700;
}

.scrapbook-book-status-label,
.scrapbook-book-status-sep {
    color: #7a6858;
    font-weight: 600;
}

.scrapbook-book-status-number,
.scrapbook-book-status-total {
    min-width: 1.5ch;
    text-align: center;
}

.scrapbook-book-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.scrapbook-book-stage {
    padding: 0.25rem 0 2rem;
}

.scrapbook-book-pages {
    max-width: 1000px;
    margin: 0 auto;
}

.scrapbook-page-card[data-page-index] {
    display: none;
}

.scrapbook-page-card[data-page-index].is-active {
    display: block;
    animation: scrapbookPageFade 0.28s ease;
}

@keyframes scrapbookPageFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   SECTION: SCRAPBOOK COVER PAGE
   ========================================================= */

.scrapbook-cover-page {
    padding: 3.5rem 0 2.75rem;
}

.scrapbook-book-reader .scrapbook-cover-page .container {
    max-width: 1180px;
}

.scrapbook-cover-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 3.25rem;
    align-items: stretch;
    padding: 2.8rem;
    border-radius: 32px;
    border: 1px solid rgba(120, 94, 58, 0.14);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.10),
        0 6px 16px rgba(0, 0, 0, 0.05);
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.88), rgba(255,255,255,0) 34%),
        linear-gradient(to bottom right, #fffaf2, #f5f2eb);
    overflow: hidden;
}

.scrapbook-cover-shell::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 24px;
    border: 1px dashed rgba(140, 115, 82, 0.18);
    pointer-events: none;
}

.scrapbook-cover-shell::after {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: calc(420px + 1.5rem);
    width: 10px;
    border-radius: 999px;
    background: linear-gradient(
        to bottom,
        rgba(120, 94, 58, 0.10),
        rgba(255,255,255,0.35),
        rgba(120, 94, 58, 0.14)
    );
    opacity: 0.70;
    pointer-events: none;
}

.scrapbook-cover-image-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.scrapbook-cover-frame {
    width: 100%;
    max-width: 380px;
    padding: 18px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, #f9efcc 0%, #dcc17b 100%);
    box-shadow:
        inset 0 0 0 2px rgba(120, 96, 40, 0.18),
        inset 0 0 0 8px rgba(255,255,255,0.18),
        0 18px 34px rgba(0, 0, 0, 0.14);
    position: relative;
}

.scrapbook-cover-frame::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 18px;
    border: 1px solid rgba(120, 96, 40, 0.18);
    pointer-events: none;
}

.scrapbook-cover-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px;
    border: 10px solid #fffdf8;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.scrapbook-cover-image-placeholder {
    min-height: 420px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    border: 3px dashed rgba(120, 96, 40, 0.26);
    background: rgba(255,255,255,0.72);
    color: #6b7280;
    text-align: center;
    padding: 1.25rem;
    font-weight: 600;
}

.scrapbook-cover-text-panel {
    position: relative;
    z-index: 1;
    max-width: 760px;
    min-width: 0;
    padding: 1rem 0 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.scrapbook-cover-kicker {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 1.15rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(120, 94, 58, 0.10);
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8b7a52;
    font-weight: 700;
}

.scrapbook-cover-title {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(3.3rem, 5.8vw, 5.9rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
    color: #2f241c;
    text-shadow: 0 1px 0 rgba(255,255,255,0.45);
    max-width: 9ch;
    text-wrap: balance;
    position: relative;
}

.scrapbook-cover-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    margin-top: 1.15rem;
    border-radius: 999px;
    background: linear-gradient(to right, rgba(120,94,58,0.55), rgba(120,94,58,0.08));
}

.scrapbook-cover-description {
    margin-top: 1.35rem;
    margin-bottom: 1.7rem;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #4f4338;
    max-width: 40ch;
}

.scrapbook-cover-description.is-empty {
    font-style: italic;
    color: #7b6f65;
}

.scrapbook-cover-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: auto;
    padding-top: 0.4rem;
}

/* =========================================================
   SECTION: COVER THEMES
   ========================================================= */

.cover-theme-classic .scrapbook-cover-shell {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.88), rgba(255,255,255,0) 34%),
        linear-gradient(to bottom right, #fffaf2, #f5f2eb);
}

.cover-theme-classic .scrapbook-cover-frame {
    background: linear-gradient(to bottom, #f9efcc, #dcc17b);
}

.cover-theme-classic .scrapbook-cover-kicker {
    color: #8b7a52;
}

.cover-theme-pink .scrapbook-cover-shell {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.90), rgba(255,255,255,0) 34%),
        linear-gradient(to bottom right, #fff3f7, #fbe7ee);
}

.cover-theme-pink .scrapbook-cover-frame {
    background: linear-gradient(to bottom, #f8d4e2, #e4adc2);
}

.cover-theme-pink .scrapbook-cover-kicker {
    color: #b56b88;
}

.cover-theme-blue .scrapbook-cover-shell {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.90), rgba(255,255,255,0) 34%),
        linear-gradient(to bottom right, #f2f7ff, #e5eef9);
}

.cover-theme-blue .scrapbook-cover-frame {
    background: linear-gradient(to bottom, #d7e4f7, #b3cbe8);
}

.cover-theme-blue .scrapbook-cover-kicker {
    color: #6584b1;
}

.cover-theme-sage .scrapbook-cover-shell {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.90), rgba(255,255,255,0) 34%),
        linear-gradient(to bottom right, #f4faf3, #e7f0e3);
}

.cover-theme-sage .scrapbook-cover-frame {
    background: linear-gradient(to bottom, #d6e4d0, #b6cab0);
}

.cover-theme-sage .scrapbook-cover-kicker {
    color: #6e8b68;
}

/* =========================================================
   SECTION: INTERIOR PAGE SHEETS
   ========================================================= */

.scrapbook-pages-stack {
    max-width: 1000px;
    margin: 0 auto;
}

.scrapbook-sheet {
    position: relative;
    margin: 0 auto 42px;
    padding: 18px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,244,236,0.98));
    box-shadow:
        0 18px 40px rgba(0,0,0,0.10),
        0 3px 10px rgba(0,0,0,0.06);
    border: 1px solid rgba(120, 94, 58, 0.12);
}

.scrapbook-sheet::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 20px;
    pointer-events: none;
    border: 1px dashed rgba(140, 115, 82, 0.18);
}

.scrapbook-sheet::after {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 26px;
    width: 8px;
    border-radius: 999px;
    background: linear-gradient(
        to bottom,
        rgba(120, 94, 58, 0.10),
        rgba(255,255,255,0.35),
        rgba(120, 94, 58, 0.12)
    );
    opacity: 0.7;
    pointer-events: none;
}

.scrapbook-sheet-inner {
    position: relative;
    z-index: 1;
    min-height: 420px;
    padding: 28px 28px 28px 42px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.65), transparent 35%),
        repeating-linear-gradient(
            0deg,
            rgba(120, 90, 60, 0.018) 0px,
            rgba(120, 90, 60, 0.018) 1px,
            transparent 1px,
            transparent 22px
        ),
        linear-gradient(180deg, #fffdf8 0%, #f8f2e8 100%);
}

.scrapbook-sheet-topbar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 14px;
    color: #6b7280;
    font-size: 0.9rem;
}

.scrapbook-sheet-title {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: #4e3727;
}

.scrapbook-sheet-layout {
    display: grid;
    gap: 24px;
}

.scrapbook-layout-text-image {
    grid-template-columns: 1.05fr 0.95fr;
}

.scrapbook-layout-text-only,
.scrapbook-layout-full-image,
.scrapbook-layout-gallery {
    grid-template-columns: 1fr;
}

.scrapbook-paper-card,
.scrapbook-text-panel,
.scrapbook-caption-card,
.scrapbook-journal-card {
    padding: 22px 24px;
    border-radius: 18px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(140, 115, 82, 0.12);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

.scrapbook-journal-card {
    max-width: 760px;
    margin: 0 auto;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(250,246,239,0.94));
}

.scrapbook-page-content {
    font-size: 1.03rem;
    line-height: 1.8;
    color: #4b3b2f;
}

.scrapbook-page-content.empty {
    color: #7a736c;
    font-style: italic;
}

.scrapbook-page-title {
    margin-bottom: 18px;
}

/* =========================================================
   SECTION: IMAGES / POLAROID / GALLERY
   ========================================================= */

.scrapbook-polaroid {
    position: relative;
    padding: 10px 10px 14px;
    background: #fff;
    border-radius: 10px;
    box-shadow:
        0 14px 28px rgba(0,0,0,0.12),
        0 3px 8px rgba(0,0,0,0.06);
}

.scrapbook-polaroid img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.scrapbook-polaroid::before,
.scrapbook-polaroid::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 18px;
    top: -8px;
    background: rgba(225, 210, 170, 0.65);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.scrapbook-polaroid::before {
    left: 18px;
    transform: rotate(-5deg);
}

.scrapbook-polaroid::after {
    right: 18px;
    transform: rotate(6deg);
}

.scrapbook-photo-feature img {
    display: block;
    width: 100%;
    max-height: 680px;
    object-fit: contain;
    border-radius: 14px;
    border: 10px solid #fff;
    background: #fff;
    box-shadow:
        0 16px 32px rgba(0,0,0,0.14),
        0 4px 10px rgba(0,0,0,0.06);
}

.scrapbook-image-caption {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #6b5b4d;
    text-align: center;
}

.scrapbook-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
}

.scrapbook-image-placeholder {
    min-height: 260px;
    display: grid;
    place-items: center;
    border: 2px dashed #d2c7b6;
    border-radius: 16px;
    color: #7a736c;
    background: rgba(255,255,255,0.66);
    text-align: center;
    padding: 1rem;
}

/* =========================================================
   SECTION: TILT EFFECTS
   ========================================================= */

.tilt-right {
    transform: rotate(1.6deg);
}

.tilt-left {
    transform: rotate(-1.6deg);
}

/* =========================================================
   SECTION: LAYOUT VARIATIONS
   ========================================================= */

.layout-text_only .scrapbook-sheet-inner {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(120, 90, 60, 0.025) 0px,
            rgba(120, 90, 60, 0.025) 1px,
            transparent 1px,
            transparent 28px
        ),
        linear-gradient(180deg, #fffdf8 0%, #f5efe3 100%);
}

.layout-full_image .scrapbook-sheet-inner {
    background:
        linear-gradient(180deg, #fdf9f2 0%, #f2eadb 100%);
}

.layout-gallery .scrapbook-sheet-inner {
    background:
        linear-gradient(180deg, #fffaf3 0%, #f3ebde 100%);
}

/* =========================================================
   SECTION: RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
    .scrapbook-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .scrapbook-cover-shell {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem;
    }

    .scrapbook-cover-shell::after {
        display: none;
    }

    .scrapbook-cover-text-panel {
        max-width: none;
        padding: 0;
        align-items: center;
    }

    .scrapbook-cover-kicker {
        align-self: center;
    }

    .scrapbook-cover-title {
        max-width: none;
    }

    .scrapbook-cover-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .scrapbook-cover-description {
        max-width: 46ch;
    }

    .scrapbook-cover-meta {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .book-edit-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .scrapbook-book-controls-bar {
        justify-content: center;
        text-align: center;
    }

    .scrapbook-layout-text-image,
    .scrapbook-gallery-grid {
        grid-template-columns: 1fr;
    }

    .scrapbook-sheet::after {
        display: none;
    }

    .scrapbook-sheet-inner {
        padding: 20px;
    }
}

@media (max-width: 700px) {
    .dashboard-list-header {
        flex-direction: column;
        align-items: stretch;
    }

    .scrapbook-card-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .scrapbook-cover-page {
        padding: 2.25rem 0 2rem;
    }

    .scrapbook-cover-shell {
        padding: 1.35rem;
        border-radius: 22px;
    }

    .scrapbook-cover-frame {
        max-width: 320px;
        padding: 12px;
    }

    .scrapbook-cover-image {
        max-height: 420px;
    }

    .scrapbook-cover-title {
        font-size: clamp(2.3rem, 10vw, 3.5rem);
    }

    .scrapbook-cover-description {
        font-size: 1rem;
        line-height: 1.75;
    }

    .scrapbook-gallery-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1100px) {
    .scrapbook-hero-inner,
    .demo-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .scrapbook-hero-preview {
        justify-content: center;
    }

    .use-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .scrapbook-landing-hero,
    .scrapbook-use-cases,
    .scrapbook-how-it-works,
    .scrapbook-demo-section,
    .scrapbook-pricing,
    .scrapbook-final-cta {
        padding: 62px 20px;
    }

    .scrapbook-hero-copy h1 {
        font-size: 2.9rem;
    }

    .section-heading h2,
    .demo-panel-copy h2,
    .final-cta-card h2 {
        font-size: 2rem;
    }

    .book-mockup-stack {
        width: 300px;
        height: 380px;
    }

    .use-case-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .demo-panel {
        padding: 24px 20px;
    }

    .final-cta-card {
        padding: 30px 20px;
    }
}

@media (max-width: 520px) {
    .scrapbook-hero-copy h1 {
        font-size: 2.35rem;
    }

    .scrapbook-hero-copy p,
    .section-heading p,
    .final-cta-card p {
        font-size: 1rem;
    }

    .book-mockup-stack {
        width: 260px;
        height: 340px;
    }

    .book-cover-image {
        height: 100px;
    }

    .page-photo {
        height: 90px;
    }
}
/* =========================================================
   SCRAPBOOK EDIT PAGE CLEANUP
   ========================================================= */

.book-edit-shell,
.book-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, 380px);
    gap: 28px;
    align-items: start;
}

.book-edit-main,
.book-edit-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.book-edit-main .empty-state-card,
.book-edit-sidebar .empty-state-card {
    width: 100%;
    box-sizing: border-box;
}

/* Main editor card */
.book-edit-primary-card,
.book-edit-main > .empty-state-card {
    padding: 24px;
}

/* Form cleanup */
.scrapbook-editor-form,
.auth-form {
    width: 100%;
}

.book-edit-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.book-edit-form-span-2 {
    grid-column: 1 / -1;
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-row input[type="text"],
.form-row input[type="file"],
.form-row select,
.form-row textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cfd8d3;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
}

/* THIS is the big one causing the ugly giant box feeling */
.form-row textarea,
#page_content,
#scrapbook_description {
    min-height: 140px;
    height: auto;
    resize: vertical;
    line-height: 1.5;
}

/* Keep page content from becoming a monster */
#page_content {
    min-height: 180px;
    max-height: 340px;
}

/* Buttons */
.form-actions,
.page-preview-actions,
.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 14px;
}

/* Manage pages section */
.page-preview-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
}

.page-preview-card {
    background: #fff;
    border: 1px solid #d9e3dd;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.page-preview-card h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.page-layout {
    font-size: 0.92rem;
    color: #5f6f66;
}

.page-preview-image {
    margin: 14px 0 12px;
    max-width: 420px;
}

.page-preview-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
}

.page-preview-body {
    line-height: 1.6;
    color: #2c3a33;
}

/* Cover manager */
.scrapbook-cover-manager {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.scrapbook-cover-manager-preview {
    width: 100%;
}

.scrapbook-cover-manager-preview img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 16px;
}

.scrapbook-cover-placeholder {
    min-height: 180px;
    display: grid;
    place-items: center;
    border: 2px dashed #c7d3cc;
    border-radius: 16px;
    color: #6b7a72;
    background: #f7faf8;
}

/* Sidebar page list if still present */
.page-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page-list-item {
    border: 1px solid #d9e3dd;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}

.page-list-item-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.page-order {
    font-weight: 700;
}

/* Hero cleanup */
.dashboard-hero {
    padding: 42px 0 24px;
}

.dashboard-hero-copy h1 {
    margin-bottom: 10px;
}

.dashboard-section {
    padding-top: 12px;
}

/* Mobile */
@media (max-width: 980px) {
    .book-edit-shell,
    .book-edit-layout,
    .book-edit-form-grid {
        grid-template-columns: 1fr;
    }

    .book-edit-form-span-2 {
        grid-column: auto;
    }

    .page-preview-image {
        max-width: 100%;
    }
}
/* =========================================================
   GUIDED SCRAPBOOK BUILDER
   ========================================================= */

.builder-section {
    border: 1px solid #dbe6df;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.builder-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.builder-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #1f6b4f;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 18px rgba(31, 107, 79, 0.22);
}

.builder-section-header h3 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    color: #18382a;
}

.builder-section-header p {
    margin: 0;
    color: #617368;
    font-size: 0.95rem;
}

.builder-section .form-row:last-child {
    margin-bottom: 0;
}
/* =========================================================
   SCRAPBOOK-STYLE PAGE PREVIEWS
   ========================================================= */

.page-preview-card {
    position: relative;
    background: linear-gradient(180deg, #fffefb 0%, #f9f6ef 100%);
    border: 1px solid #e6dfd0;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
}

.page-preview-meta strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #214f3d;
    color: #fff;
    font-size: 0.85rem;
}

.page-layout {
    color: #6a6f67;
    font-size: 0.88rem;
}

.page-preview-image {
    margin: 16px 0 12px;
    max-width: 340px;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e2d8;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.page-preview-card[data-photo-style="tilt_left"] .page-preview-image {
    transform: rotate(-2deg);
}

.page-preview-card[data-photo-style="tilt_right"] .page-preview-image {
    transform: rotate(2deg);
}
/* =========================================================
   PAGE DECORATION PRESETS
   ========================================================= */
/* =========================================================
   PAGE DECORATION PRESETS (FIXED + WORKING)
   ========================================================= */

.scrapbook-page-card[class*="decoration-"] {
    position: relative;
    overflow: hidden;
}

/* CRITICAL FIX — lets decoration show through */
.scrapbook-page-card[class*="decoration-"] .scrapbook-sheet-inner {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

/* none */
.scrapbook-page-card.decoration-none::before,
.scrapbook-page-card.decoration-none::after {
    content: none;
}

/* classic memory */
.scrapbook-page-card.decoration-classic_memory {
    background: linear-gradient(180deg, #f8f2e8 0%, #efe4d3 100%) !important;
    border: 2px solid #d3b487 !important;
}

.scrapbook-page-card.decoration-classic_memory::before,
.scrapbook-page-card.decoration-classic_memory::after {
    content: "?";
    position: absolute;
    font-size: 2rem;
    color: rgba(168, 120, 40, 0.25);
    pointer-events: none;
    z-index: 0;
}

.scrapbook-page-card.decoration-classic_memory::before {
    top: 14px;
    left: 18px;
}

.scrapbook-page-card.decoration-classic_memory::after {
    right: 18px;
    bottom: 14px;
}

/* baby boy */
.scrapbook-page-card.decoration-baby_boy {
    background: linear-gradient(180deg, #eef7ff 0%, #dcecff 100%) !important;
    border: 2px solid #9ec3ea !important;
}

.scrapbook-page-card.decoration-baby_boy::before,
.scrapbook-page-card.decoration-baby_boy::after {
    content: "? ? ?";
    position: absolute;
    font-size: 1.1rem;
    letter-spacing: 6px;
    color: rgba(90, 150, 220, 0.28);
    pointer-events: none;
    z-index: 0;
}

.scrapbook-page-card.decoration-baby_boy::before {
    top: 16px;
    left: 18px;
}

.scrapbook-page-card.decoration-baby_boy::after {
    right: 18px;
    bottom: 16px;
}

/* baby girl */
.scrapbook-page-card.decoration-baby_girl {
    background: linear-gradient(180deg, #fff0f6 0%, #ffe0ed 100%) !important;
    border: 2px solid #e6a8c3 !important;
}

.scrapbook-page-card.decoration-baby_girl::before,
.scrapbook-page-card.decoration-baby_girl::after {
    content: "?";
    position: absolute;
    font-size: 2rem;
    color: rgba(214, 102, 150, 0.24);
    pointer-events: none;
    z-index: 0;
}

.scrapbook-page-card.decoration-baby_girl::before {
    top: 12px;
    left: 18px;
}

.scrapbook-page-card.decoration-baby_girl::after {
    right: 18px;
    bottom: 12px;
}

/* floral */
.scrapbook-page-card.decoration-floral {
    background: linear-gradient(180deg, #fff8f4 0%, #f7ebe4 100%) !important;
    border: 2px solid #d8c0b3 !important;
}

.scrapbook-page-card.decoration-floral::before,
.scrapbook-page-card.decoration-floral::after {
    content: "?";
    position: absolute;
    font-size: 2.2rem;
    color: rgba(183, 110, 140, 0.24);
    pointer-events: none;
    z-index: 0;
}

.scrapbook-page-card.decoration-floral::before {
    top: 10px;
    left: 16px;
}

.scrapbook-page-card.decoration-floral::after {
    right: 16px;
    bottom: 10px;
}

/* celebration */
.scrapbook-page-card.decoration-celebration {
    background: linear-gradient(180deg, #fff8df 0%, #ffeeb0 100%) !important;
    border: 2px solid #e1c55c !important;
}

.scrapbook-page-card.decoration-celebration::before,
.scrapbook-page-card.decoration-celebration::after {
    content: "? ? ?";
    position: absolute;
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: rgba(214, 120, 40, 0.28);
    pointer-events: none;
    z-index: 0;
}

.scrapbook-page-card.decoration-celebration::before {
    top: 16px;
    left: 18px;
}

.scrapbook-page-card.decoration-celebration::after {
    right: 18px;
    bottom: 16px;
}
/* =========================================================
   PAGE DECORATION PRESETS (STRONGER VISIBLE VERSION)
   ========================================================= */

.scrapbook-page-card[class*="decoration-"] {
    position: relative;
    overflow: hidden;
}

/* lets decoration show through */
.scrapbook-page-card[class*="decoration-"] .scrapbook-sheet-inner {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

/* none */
.scrapbook-page-card.decoration-none::before,
.scrapbook-page-card.decoration-none::after {
    content: none;
}

/* classic memory */
.scrapbook-page-card.decoration-classic_memory {
    background: linear-gradient(180deg, #f3e4c7 0%, #e8d2aa 100%) !important;
    border: 3px solid #c8a46a !important;
    box-shadow: 0 16px 34px rgba(125, 92, 40, 0.16);
}

.scrapbook-page-card.decoration-classic_memory::before,
.scrapbook-page-card.decoration-classic_memory::after {
    content: "?";
    position: absolute;
    font-size: 2.35rem;
    color: rgba(150, 102, 28, 0.42);
    pointer-events: none;
    z-index: 0;
}

.scrapbook-page-card.decoration-classic_memory::before {
    top: 12px;
    left: 16px;
}

.scrapbook-page-card.decoration-classic_memory::after {
    right: 16px;
    bottom: 12px;
}

/* baby boy */
.scrapbook-page-card.decoration-baby_boy {
    background: linear-gradient(180deg, #dff0ff 0%, #bfdfff 100%) !important;
    border: 3px solid #79acd9 !important;
    box-shadow: 0 16px 34px rgba(70, 120, 180, 0.14);
}

.scrapbook-page-card.decoration-baby_boy::before,
.scrapbook-page-card.decoration-baby_boy::after {
    content: "? ? ?";
    position: absolute;
    font-size: 1.35rem;
    letter-spacing: 7px;
    color: rgba(65, 125, 195, 0.40);
    pointer-events: none;
    z-index: 0;
}

.scrapbook-page-card.decoration-baby_boy::before {
    top: 14px;
    left: 18px;
}

.scrapbook-page-card.decoration-baby_boy::after {
    right: 18px;
    bottom: 14px;
}

/* baby girl */
.scrapbook-page-card.decoration-baby_girl {
    background: linear-gradient(180deg, #ffe1ee 0%, #ffcddd 100%) !important;
    border: 3px solid #dc8fb0 !important;
    box-shadow: 0 16px 34px rgba(185, 100, 145, 0.14);
}

.scrapbook-page-card.decoration-baby_girl::before,
.scrapbook-page-card.decoration-baby_girl::after {
    content: "?";
    position: absolute;
    font-size: 2.3rem;
    color: rgba(198, 72, 130, 0.38);
    pointer-events: none;
    z-index: 0;
}

.scrapbook-page-card.decoration-baby_girl::before {
    top: 10px;
    left: 16px;
}

.scrapbook-page-card.decoration-baby_girl::after {
    right: 16px;
    bottom: 10px;
}

/* floral */
.scrapbook-page-card.decoration-floral {
    background: linear-gradient(180deg, #fff1ea 0%, #f5ddd3 100%) !important;
    border: 3px solid #cfaa9d !important;
    box-shadow: 0 16px 34px rgba(160, 115, 95, 0.14);
}

.scrapbook-page-card.decoration-floral::before,
.scrapbook-page-card.decoration-floral::after {
    content: "?";
    position: absolute;
    font-size: 2.5rem;
    color: rgba(170, 88, 126, 0.38);
    pointer-events: none;
    z-index: 0;
}

.scrapbook-page-card.decoration-floral::before {
    top: 8px;
    left: 14px;
}

.scrapbook-page-card.decoration-floral::after {
    right: 14px;
    bottom: 8px;
}

/* celebration */
.scrapbook-page-card.decoration-celebration {
    background: linear-gradient(180deg, #fff2b8 0%, #ffe184 100%) !important;
    border: 3px solid #d2aa2e !important;
    box-shadow: 0 16px 34px rgba(185, 140, 25, 0.18);
}

.scrapbook-page-card.decoration-celebration::before,
.scrapbook-page-card.decoration-celebration::after {
    content: "? ? ?";
    position: absolute;
    font-size: 1.35rem;
    letter-spacing: 6px;
    color: rgba(194, 102, 24, 0.42);
    pointer-events: none;
    z-index: 0;
}

.scrapbook-page-card.decoration-celebration::before {
    top: 14px;
    left: 18px;
}

.scrapbook-page-card.decoration-celebration::after {
    right: 18px;
    bottom: 14px;
}
/* =========================================
   PHOTO TAPE EFFECT
   ========================================= */

.scrapbook-photo-wrapper {
    position: relative;
    display: inline-block;
}

.scrapbook-photo-wrapper::before,
.scrapbook-photo-wrapper::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 18px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transform: rotate(-6deg);
    z-index: 2;
}

/* top left tape */
.scrapbook-photo-wrapper::before {
    top: -10px;
    left: 10px;
}

/* top right tape */
.scrapbook-photo-wrapper::after {
    top: -10px;
    right: 10px;
    transform: rotate(6deg);
}