body {
    font-family: 'Zen Loop', cursive;
    color: #355E3B;
    background-image: url('../Images/bookish2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
}

.header-box {
    background-color: rgba(220, 220, 193, 0.88);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    color: #2f3b1d;
    font-weight: 500;
    font-size: 1.5rem;
    text-shadow:
        1px 0 currentColor,
        0 1px currentColor,
        1px 1px currentColor,
        0 0 3px rgba(0, 0, 0, 0.1);
}

.quote-box {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #3b3408;
    background-color: #c7b48d;
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    background-repeat: repeat;
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    margin: 2rem 2rem 0 auto;
    border-radius: 0 0 12px 12px;
    box-shadow: 6px 10px 15px rgba(0, 0, 0, 0.25);
    position: relative;
    font-style: italic;
    line-height: 1.6;
    transform: rotate(-15deg);
    border-left: 1px solid #877753;
    border-right: 1px solid #877753;
    z-index: 2;
    overflow: visible;
}

.quote-box::before,
.quote-box::after {
    content: '';
    position: absolute;
    left: -1px;
    width: calc(100% + 2px);
    height: 20px;
    background-color: #877753;
    background-image: repeating-linear-gradient(-45deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.05) 2px,
            rgba(0, 0, 0, 0.05) 4px);
    z-index: 3;
}

.quote-box::before {
    top: -20px;
    clip-path: polygon(0 0, 0 100%,
            10% 60%, 20% 80%, 30% 55%, 40% 75%, 50% 60%,
            60% 80%, 70% 55%, 80% 70%, 90% 60%, 100% 80%, 100% 0);
}

.quote-box::after {
    bottom: -20px;
    clip-path: polygon(0 100%, 0 0,
            10% 40%, 20% 20%, 30% 45%, 40% 25%, 50% 40%,
            60% 20%, 70% 45%, 80% 30%, 90% 40%, 100% 20%, 100% 100%);
}

.navbar-custom {
    background-color: rgba(27, 78, 41, 0.8);
}

.nav-link {
    color: rgba(197, 191, 154, 0.8) !important;
    font-weight: bolder;
}

.nav-link:hover {
    color: #a4839e !important;
}

.information-box {
    background-color: rgba(78, 71, 55, 0.85);
    border-left: 4px solid #355E3B;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-size: 1.5rem;
    color: #8a9c6f;
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    text-shadow: 0.5px 0.5px rgba(255, 255, 255, 0.2);
}

.btn-3d,
.btn-success {
    background-color: #8a9c6f;
    color: #3b3408;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    box-shadow: 0 4px 0 #6b7c54, 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.15s ease-in-out;
}

.btn-3d:hover,
.btn-success:hover {
    background-color: #7c8d63;
    box-shadow: 0 2px 0 #6b7c54, 0 4px 8px rgba(0,0,0,0.25);
    transform: translateY(2px);
}

.release-form {
    background-color: rgba(27, 78, 41, 0.8);
    color: #c7b48d;
    font-family: 'Zen Loop', cursive;
    font-weight: bold;
    padding: 2.5rem;
    border-radius: 60px 10px 60px 10px;
    box-shadow: 6px 10px 15px rgba(0, 0, 0, 0.25);
    border: 2px solid #c7b48d;
    animation: fadeIn 1.5s ease-in-out;
}

.release-form label {
    font-weight: bold;
}

.release-form input,
.release-form textarea,
.release-form select {
    color: #c7b48d !important;
    background-color: rgba(27, 78, 41, 0.8);
    border: 1px solid #c7b48d;
    font-weight: bold;
    padding: 0.5rem;
}

.release-form input:focus,
.release-form textarea:focus,
.release-form select:focus {
    outline: none;
    box-shadow: 0 0 5px #c7b48d;
    border-color: #c7b48d;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.output-box {
    background-color: #c7b48d;
    color: #355E3B;
    border: 2px solid #877753;
    padding: 2rem;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 500;
    box-shadow: 6px 8px 14px rgba(0, 0, 0, 0.2);
    font-family: 'Zen Loop', cursive;
    margin-top: 2rem;
    animation: fadeIn 1s ease forwards;
}

/* Tables with unified design across all pages*/
.results-table,
.release-form table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Zen Loop', cursive;
    font-weight: bold;
    margin-top: 2rem;
    border-radius: 40px 0 40px 0;
    overflow: hidden;
    border: 2px solid #2f3b1d;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
    text-align: center;
}

.results-table th,
.release-form table th {
    padding: 0.75rem 1rem;
    background-color: rgba(27, 78, 41, 0.8);
    color: #c7b48d;
    font-size: 1.1rem;
    border-left: 1px solid #2f3b1d;
}

.results-table td,
.release-form table td {
    padding: 0.75rem 1rem;
    background-color: rgba(27,78,41,0.8);
    color: #f5f5dc !important;
    font-weight: 900;
    border-top: 1px solid #2f3b1d;
}

.results-table tr:hover td,
.release-form table tr:hover td {
    background-color: rgba(197, 180, 141, 0.15);
}

#anonymous-feed {
    max-height: 300px;
    overflow-y: auto;
}

/* Chrome, Edge, Safari */
#anonymous-feed::-webkit-scrollbar {
    width: 6px;  /* thin */
}

#anonymous-feed::-webkit-scrollbar-track {
    background: transparent;
}

#anonymous-feed::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);  /* subtle dark */
    border-radius: 3px;
}

/* Firefox */
#anonymous-feed {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}
