/* General & Buttons */
.wh-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #337ab7;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: background-color .2s ease;
}
.wh-button:hover {
    background-color: #286090;
    color: #fff;
}
.wh-button.disabled, .wh-button:disabled {
    background-color: #555;
    cursor: not-allowed;
}
.wh-button.login-button {
    font-size: 16px;
    padding: 12px 24px;
}

/* Header */
.wh-market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.wh-market-header h2 {
    margin: 0;
}

/* Notices & Errors */
.wh-notice, .wh-error {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}
.wh-notice.success {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}
.wh-notice.error, .wh-error {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

/* Main Market Table */
.wh-market-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
	color:black;
	background: #8c8c8c;
}
.wh-market-table th, .wh-market-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.wh-market-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}
.wh-market-table tr:hover {
    background-color: #f5f5f5;
}
.wh-market-table td:last-child {
    text-align: right;
}

/* Filter Input */
.wh-filter-container {
    margin-bottom: 20px;
}
#wh-market-filter {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Icon Column */
.item-icon-col {
    width: 32px;
    padding-right: 10px !important;
    text-align: center !important;
}
.item-icon-col img {
    vertical-align: middle;
    max-width: 32px;
    height: auto;
}

/* NEW: Partial Quantity Controls */
.reserve-action-cell {
    width: 200px; /* Give enough space for controls */
}
.reserve-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.reserve-qty-input {
    width: 70px;
    margin-right: 10px;
    text-align: center;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* NEW: Your Reservations Section */
.reservations-title {
    margin-top: 40px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

/* Admin Panel */
.wh-admin-panel {
    max-width: 800px;
}
.wh-admin-section {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 30px;
}
.wh-admin-section h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
#bulk-items-input {
    width: 100%;
    min-height: 150px;
    margin-bottom: 10px;
    font-family: monospace;
}