/* ===== RESET-ish ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fff;
    color: #1a1a1a;
    margin: 0;
    padding: 20px;
}

.home-container {
    max-width: 700px;
}

.subtitle {
    color: #666;
    margin-bottom: 20px;
}

.home-actions a {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.primary-btn {
    background: #4CAF50;
    color: white;
}

.secondary-btn {
    background: #f0f4f8;
    color: #333;
}

/* ===== HEADER ===== */
h2 {
    display: flex;
    align-items: center;
    font-weight: 200;
    gap: 10px;
    margin-bottom: 15px;
}

/* ===== BUTTONS ===== */
button {
    background: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s ease;
}

button:hover {
    background: #f0f4f8;
}

.small {
    font-size: 11px;
    color: #aaa;
}

/* ===== TAGS ===== */
.tag {
    display: inline-block;
    padding: 2px 4px;
    margin: 3px 4px 0 0;
    background: #e6f4ea;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 500;
}

.tag .remove {
    margin-left: 6px;
    cursor: pointer;
    opacity: 0.6;
}

.tag .remove:hover {
    opacity: 1;
    color: #c62828;
}

/* ===== FORM BOX ===== */
.form-box {
    background: #f7f9fb;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ===== TIMBER BOX ===== */
.timber-box {
    background: white;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

/* ===== TIMBER GRID ===== */
.timber-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;

    margin: 0 auto;
}

/* ===== TEXTAREA ===== */
textarea {
    width: 95%;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    resize: vertical;
    outline: none;
}

textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76,175,80,0.15);
}

/* ===== INPUT ===== */
input[type="text"],
input[type="number"] {
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 13px;
    outline: none;
}
input[placeholder="add tags..."] {
    background: #fafafa;
}

input:focus {
    border-color: #4CAF50;
}

/* ===== LABELS ===== */
label {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 4px;
}

/* ===== SPACING ===== */
.field {
    margin-bottom: 12px;
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid #e1e4e8;
    font-size: 12px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    margin-right: 10px;
    text-decoration: none;
    color: #4CAF50;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-credit {
    opacity: 0.8;
}

.footer-credit strong {
    color: #4CAF50;
}

.tagline {
    display: block;
    font-size: 11px;
    opacity: 0.7;
}

/* ===== HEADER NAV ===== */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    height: 70px;
}

.nav-right a {
    margin-left: 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.nav-right a:hover {
    color: #4CAF50;
}

.pagination {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
}

.pagination a {
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
}

.pagination a:hover {
    background: #f0f4f8;
}