body { 
    background-color: #004a75;
    font-family: Verdana, Geneva, sans-serif;
    color: #FFFFFF;
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center; /* Vertical center */
    height: 100vh; /* Full viewport height */
}

p {
    text-align: center;
}

.footer1 {
    position: fixed;
    left: 0;
    bottom: 60px;
    width: 100%;
    height: 30px;
    background-color: #ffa200;
}

.footer2 {
    position: fixed;
    left: 0;
    bottom: 30px;
    width: 100%;
    height: 30px;
    background-color: #ff4000;
}

.footer3 {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    background-color: #ad0c00;
}

form {
    padding: 10px;
}

input{
    background-color: #ffffff;
    color: rgb(27, 45, 71);
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box;
    margin-top: 10px;
    border-style: solid;
    border-color: #90a5c7;
    border-width: 1px;
}

button {
    background-color: #ffa200;
    width: 100%;
    height: 40px;
    display: block;
    margin: 0px auto;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    font-family: "Verdana", Courier, monospace;
    color: rgb(0, 0, 0);
    margin-top: 0px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #ff4000;
    color: rgb(255, 255, 255);
    transform: translateY(-3px);
}

button:active {
  transform: scale(0.96);
}

a:link {
color: #ffa200;
}

a:visited {
color: #ffa200;
}

a:link:hover {
color: #ff4000;
}

/* Order styles 

    header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
    header h2 { margin: 0; }
    header a { color: #fff; }*/
#message { color: #ffb4b4; }
.board { display: flex; gap: 1rem; overflow-x: auto; align-items: flex-start; padding-bottom: 1rem; }
.column { background: rgba(255,255,255,0.08); border-radius: 0.5rem; min-width: 16rem; max-width: 16rem; flex: 0 0 auto; }
.column h3 { margin: 0; padding: 0.6rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 1rem; }
.cards { padding: 0.5rem; display: flex; flex-direction: column; gap: 0.5rem; min-height: 3rem; border-radius: 0.4rem; transition: background 0.1s ease; }
.cards.drag-over { background: rgba(255, 255, 255, 0.25); outline: 2px dashed #ffffff; }
.card { background: #fff; color: #111; border-radius: 0.4rem; padding: 0.5rem 0.6rem; cursor: grab; }
.card:hover { outline: 2px solid #ffffff; }
.card.dragging { opacity: 0.4; }
.card .top-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #555; }
.card .title { font-weight: bold; margin: 0.15rem 0; }
.card .bike-row { display: flex; gap: 0.4rem; align-items: center; font-size: 0.85rem; }
.tag { display: inline-block; padding: 0 0.35rem; border-radius: 0.25rem; font-size: 0.7rem; font-weight: bold; color: #fff; background: #557; }
.status-tag { display: inline-block; padding: 0 0.4rem; border-radius: 0.25rem; font-size: 0.7rem; font-weight: bold; color: #fff; }
.status-open { background: #607d8b; }
.status-in_progress { background: #b8860b; }
.status-waiting_parts { background: #8e44ad; }
.status-waiting_customer { background: #2980b9; }
.status-closed { background: #444; }
.progress { font-size: 0.8rem; color: #555; }
.empty-note { padding: 0.5rem 0.75rem; color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.text-btn { background: none; border: none; color: #fff; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.fab { position: fixed; right: 1.75rem; bottom: 1.75rem; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #ffffff17; color: #ffffff; border: none; font-size: 3rem; line-height: 1; cursor: pointer; outline: 5px solid #ffffff; display: flex; align-items: center; justify-content: center; z-index: 50; }
.fab:hover { background: #ffffff22; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal-backdrop[hidden] { display: none; }
/* Used mid-drag instead of [hidden]: visibility keeps the dragged card's
    native drag session alive (display:none on an ancestor cancels it),
    while still letting clicks/drops pass through to the board underneath. */
.modal-backdrop.drag-hidden { visibility: hidden; }
.modal { position: relative; background: #1a2733; border-radius: 0.5rem; box-shadow: 0 4px 24px rgba(0,0,0,0.5); }
.modal-close { position: absolute; top: 0.3rem; right: 0.5rem; background: none; border: none; font-size: 1.5rem; line-height: 1; color: #fff; cursor: pointer; z-index: 2; }
.order-modal { width: min(42rem, 92vw); height: min(85vh, 50rem); overflow: hidden; }
.order-modal iframe { width: 100%; height: 100%; border: none; background: #fff; }
.closed-modal { width: min(30rem, 92vw); height: min(80vh, 40rem); display: flex; flex-direction: column; padding: 1rem; box-sizing: border-box; }
.closed-modal h3 { margin: 0 0 0.5rem; }
.closed-list-wrap { flex: 1; overflow-y: auto; border-radius: 0.4rem; background: rgba(255,255,255,0.06); }
.closed-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0.5rem; }
.closed-modal-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.6rem; font-size: 0.85rem; gap: 0.5rem; flex-wrap: wrap; }
.pager { display: flex; gap: 0.5rem; align-items: center; }
.pager button { background: none; border: 1px solid rgba(255,255,255,0.4); color: #fff; border-radius: 0.3rem; cursor: pointer; padding: 0.15rem 0.5rem; }
.pager button:disabled { opacity: 0.4; cursor: default; }
.pager select { display: inline-block; width: auto; padding: 0.15rem 0.3rem; }