@import url('../style.css');

body {
    background: url('../tlo.png') repeat;
    /* Wood plank texture preferred, using tlo as fallback */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.wrap {
    margin-top: 50px;
    width: 600px;
    max-width: 95%;
    background: #654321;
    /* Dark Wood */
    border: 6px solid #3e2712;
    box-shadow: 0 0 0 4px #8f5e2e, 0 10px 20px rgba(0, 0, 0, 0.5);
    /* Component frame */
    padding: 20px;
    color: #fff;
    text-align: center;
    position: relative;
    /* Wood texture effect via CSS gradient */
    background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0px, rgba(0, 0, 0, 0.05) 2px, transparent 2px, transparent 4px);
}

.wrap::before {
    /* Nail top left */
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 8px;
    height: 8px;
    background: #111;
    box-shadow: 0 1px 0 #fff;
}

.wrap::after {
    /* Nail top right */
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #111;
    box-shadow: 0 1px 0 #fff;
}

h1 {
    font-size: 20px;
    margin-bottom: 30px;
    color: #FFAA00;
    text-shadow: 2px 2px 0 #3e2712;
    border-bottom: 2px dashed #8f5e2e;
    padding-bottom: 10px;
}

ul#orders {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

li {
    background: #3e2712;
    /* Darker inset wood */
    padding: 15px;
    border: 2px solid #201205;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

span.num {
    color: #FFAA00;
    font-weight: bold;
}

span.status {
    padding: 5px 10px;
    font-size: 10px;
    text-transform: uppercase;
}

/* Status colors */
/* Text based match in JS, these are specific if class is applied? 
   Actually JS just puts text. We can target known text content if CSS :has support existed fully,
   but simpler to rely on default or just strict colors. 
   Let's assume default white.
*/

.empty-state {
    text-align: center;
    color: #888;
    font-style: italic;
    background: none;
    border: none;
    box-shadow: none;
}