/* Global Layout */
body {
    margin: 0;
    padding: 0;
    background-color: #0d1b0d; /* dark greenish-black */
    color: #d6f5d6; /* very light muted green for readability */
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Center content area */
body > * {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Typography */
h1, h2, h3 {
    color: #8fffa1; /* bright soft green accent */
    margin-bottom: 10px;
}

p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

/* Header Partial */
header {
    background-color: #122312; /* deep green */
    padding: 20px;
    border-bottom: 2px solid #1f4d1f;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

/* Footer Partial */
footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: #9ed8a7;
    border-top: 2px solid #1f4d1f;
}

/* PDF List Styling */
ul#dynamic-list {
    padding-left: 0;
    list-style: none;
}

ul#dynamic-list li {
    background-color: #142814;
    border: 1px solid #1f4d1f;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Download Buttons */
.download-btn {
    padding: 8px 14px;
    border-radius: 5px;
    background-color: #1e6b1e;
    color: #e5ffe5;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.download-btn:hover {
    background-color: #289428; /* lighter green hover */
}

/* Links */
a {
    color: #9fffb1;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    ul#dynamic-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-btn {
        margin-top: 8px;
        width: 100%;
        text-align: center;
    }
}

/* General button styling */
button {
    margin: 6px 0;
    padding: 10px 18px;
    cursor: pointer;

    background-color: #2e8b57;   /* medium-sea green */
    color: #ffffff;              /* clean white text */
    border: none;
    border-radius: 6px;

    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

/* Hover effect */
button:hover {
    background-color: #3fa86e;   /* lighter green on hover */
    transform: translateY(-2px); /* subtle lift */
}

/* Active (pressed) effect */
button:active {
    background-color: #287749;   /* darker green */
    transform: translateY(0);
}

/* Make buttons block-level for cleaner stacking */
.button-container button {
    width: 100%;
}
