/* ============================================
   PURE CSS FANTASY SCROLL THEME (NO IMAGES)
   Elegant • Minimalist • Early-Internet vibes
   ============================================ */


body {
    background: #e5dcc5;
    font-family: "Book Antiqua", "Palatino Linotype", serif;
    color: #2b2215;
    margin: 0;
    padding: 40px 0;
}


/* ============================================
   MAIN SCROLL CONTAINER
   ============================================ */

.container {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;

    /* Multi-layer parchment effect */
    background:
        /* Vertical fiber shading */
        linear-gradient(90deg,
            rgba(0,0,0,0.06) 0%,
            rgba(0,0,0,0) 10%,
            rgba(0,0,0,0) 90%,
            rgba(0,0,0,0.06) 100%
        ),
        /* Uneven parchment tone */
        linear-gradient(180deg,
            #fff7e4,
            #f8e8c9 40%,
            #f6e2b9 60%,
            #f8e8c9 80%,
            #fff7e4 100%
        );

    padding: 50px 60px;

    /* Scroll tube side edges */
    border-left: 28px solid rgba(0,0,0,0.25);
    border-right: 28px solid rgba(0,0,0,0.25);

    box-shadow:
        inset 0 0 18px rgba(0,0,0,0.25),
        inset 0 0 30px rgba(0,0,0,0.18),
        0 0 8px rgba(0,0,0,0.5),
        0 0 0 4px rgba(60,45,20,0.45);

    position: relative;
}


/* ============================================
   TOP & BOTTOM SCROLL ROLLS (Pure CSS)
   ============================================ */

.container:before,
.container:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 65px;

    background:
        radial-gradient(circle at 50% 115%,
            rgba(0,0,0,0.3) 0%,
            rgba(0,0,0,0.10) 40%,
            rgba(0,0,0,0) 75%
        ),
        linear-gradient(
            to bottom,
            rgba(255,255,255,0.4),
            rgba(0,0,0,0.15)
        );

    opacity: 0.45;
    pointer-events: none;
}

.container:before {
    top: -70px;
}

.container:after {
    bottom: -70px;
    transform: scaleY(-1);
}


/* ============================================
   HEADERS
   ============================================ */

h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
    font-variant: small-caps;
    letter-spacing: 4px;
    color: #3b2b17;

    text-shadow:
        1px 1px 0 #ffffff,
        2px 2px 1px rgba(0,0,0,0.2),
        3px 3px 4px rgba(0,0,0,0.3);
}

h2 {
    font-size: 26px;
    font-variant: small-caps;
    color: #4a3823;
    margin-top: 35px;
    margin-bottom: 8px;

    border-bottom: 3px double rgba(0,0,0,0.4);
    padding-bottom: 4px;
}


/* ============================================
   FORM INPUTS
   ============================================ */

select,
input[type="number"],
textarea {
    width: 100%;
    padding: 7px;
    font-size: 16px;
    margin-bottom: 12px;

    background:
        linear-gradient(180deg,
            #fffdf5,
            #f4ecd7 50%,
            #efe3cc 100%
        );

    border: 3px solid #a58e68;
    outline: none;

    /* Early-web inset groove */
    box-shadow:
        inset 0 0 6px rgba(0,0,0,0.15),
        0 0 0 1px #fff;
}


/* ============================================
   BUTTONS
   ============================================ */

button {
    background:
        linear-gradient(180deg,
            #e4d2ac,
            #d1be92 60%,
            #c7af83 100%
        );

    border: 3px double #5a4931;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2e1c09;

    box-shadow: 2px 2px 0 #5a4931;
}

button:hover {
    background:
        linear-gradient(180deg,
            #f2e5c2,
            #e2cf9f 60%,
            #d6be96 100%
        );
}


/* ============================================
   GENERATED NAME + SAVED NAME ITEMS
   ============================================ */

.name-item,
.saved-item {
    background:
        linear-gradient(90deg,
            rgba(0,0,0,0.06) 0%,
            rgba(0,0,0,0) 10%,
            rgba(0,0,0,0) 90%,
            rgba(0,0,0,0.06) 100%
        ),
        linear-gradient(180deg,
            #fffdf5,
            #f5ebd3 50%,
            #efe2c7 100%
        );

    border: 2px solid #8d774f;
    padding: 10px;
    margin: 6px 0;

    box-shadow:
        inset 0 0 10px rgba(0,0,0,0.12),
        1px 1px 0 rgba(0,0,0,0.25);

    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
}


/* ============================================
   SMALL BUTTONS FOR EACH NAME
   ============================================ */

.btn-small {
    background:
        linear-gradient(180deg,
            #d8c29c,
            #c5af85 60%,
            #b99d6e 100%
        );

    border: 2px solid #6b5736;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;

    box-shadow:
        1px 1px 0 #6b5736,
        inset 0 0 4px rgba(255,255,255,0.3);
}

.btn-small:hover {
    background:
        linear-gradient(180deg,
            #e8d6b7,
            #d7c4a0 60%,
            #c8b188 100%
        );
}


/* ============================================
   CHECKBOXES
   ============================================ */

input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 6px;
}


/* ============================================
   LINE-BLOCK (your layout fix)
   ============================================ */

.line-block {
    display: block;
    margin-bottom: 10px;
}
