/* public/styles.css */

/* Use the Inter font from index.ejs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* BODY: Dark background, minimal text color */
body {
    background: #121212; /* ChatGPT-like or IG dark style */
    color: #eaeaea;
}

/* NAVIGATION BAR */
.nav-bar {
    background: #1f1f1f;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-logo-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

/* A small user icon area (like a placeholder) */
.user-icon {
    width: 32px;
    height: 32px;
    background: #3498db;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 600;
}

/* MAIN CONTENT */
.main-content {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

/* LOOKUP CONTAINER */
.lookup-container {
    width: 100%;
    max-width: 600px;
    background: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* HEADING */
.lookup-container h1 {
    color: #fafafa;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.5rem;
}

/* LOOKUP FORM */
.lookup-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.lookup-input {
    flex: 1 1 auto;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #555;
    background: #2c2c2c;
    color: #ddd;
    outline: none;
    font-size: 1rem;
    transition: border 0.2s;
}

.lookup-input::placeholder {
    color: #888;
}

.lookup-input:focus {
    border-color: #3498db;
}

.lookup-btn {
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    background: #3498db;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.lookup-btn:hover {
    background: #2980b9;
}

/* ERROR MESSAGE */
.error-msg {
    background: #c0392b;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* RESULT CARD */
.result-card {
    background: #2b2b2b;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.result-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.result-line {
    margin: 6px 0;
    color: #ccc;
}

.subsection-title {
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 1.05rem;
    color: #fff;
    font-weight: 600;
}

/* ITEMS TABLE */
.items-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.items-table th,
.items-table td {
    border: 1px solid #444;
    padding: 12px;
    text-align: left;
}

.items-table thead {
    background: #1f1f1f;
}

.items-table th {
    color: #bbb;
    font-weight: 600;
}

.items-table td {
    color: #ddd;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-refunded {
    color: #fa5645;
}

.item-name {
    font-weight: 600;
