/**
 * Pizza Party Guest View Styles
 */

.pp-order-row {
	color: black;
}
.pp-guest-status-wrapper {
	max-width: 500px; /* Adjust as needed */
	margin: 20px auto;
	border: 1px solid #ccc;
	padding: 0;
	font-family: sans-serif;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
	background-color: #fff;
	color: black;
}

/* Header Image */
.pp-guest-header-image img {
	display: block;
	width: 100%;
	height: auto;
	border-bottom: 1px solid #ccc;
}

/* Party Info Section */
.pp-party-info {
	padding: 15px;
	text-align: center;
	border-bottom: 1px solid #eee;
	background-color: #f9f9f9;
}

.pp-party-info h2 {
	margin: 0 0 5px 0;
	font-size: 1.4em;
	color: #333;
}

.pp-party-info .pp-status-time {
	margin: 0;
	font-size: 0.9em;
	color: black;
}

/* Order List Container */
.pp-guest-order-list {
	max-height: 400px; /* Limit height and make it scroll */
	overflow-y: auto;
	padding: 0;
	border-bottom: 1px solid #ccc;
}

/* Table Styling */
.pp-guest-order-list table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

/* Hide the table header */
.pp-guest-order-list thead {
	display: none;
}

.pp-guest-order-list tbody tr {
	border-bottom: 1px solid #eee;
}
.pp-guest-order-list tbody tr:last-child {
	border-bottom: none;
}

.pp-guest-order-list td {
	padding: 10px 12px;
	vertical-align: middle;
}

/* Column Widths (approximating mockup) */
.pp-guest-order-list td:nth-child(1) { width: 15%; font-weight: bold; } /* Initials */
.pp-guest-order-list td:nth-child(2) { width: 60%; } /* Pizza Desc */
.pp-guest-order-list td:nth-child(3) { width: 25%; text-align: right; color: #555; } /* Time */

/* Status-based Row Styling (like mockup highlights) */
.pp-guest-order-row.status-ready {
	background-color: #e7f7e7;
	font-weight: bold;
}
.pp-guest-order-row.status-oven,
.pp-guest-order-row.status-making {
	background-color: #fef7e7; /* Light yellow/orange */
}
/* .status-queue rows have default background */


/* Refresh Button Area */
.pp-guest-refresh {
	padding: 15px;
	text-align: center;
	background-color: #f1f1f1;
}

.pp-guest-refresh .pp-refresh-button {
	padding: 10px 20px;
	font-size: 1em;
	cursor: pointer;
	background-color: #6c757d; /* Gray button like mockups */
	color: white;
	border: none;
	border-radius: 4px;
}
.pp-guest-refresh .pp-refresh-button:hover {
	background-color: #5a6268;
}

/* Error/Notice Styling */
.pp-error {
    color: red;
    font-weight: bold;
    padding: 15px;
    border: 1px solid red;
    background-color: #ffe0e0;
}
.pp-notice {
    color: #856404;
    padding: 15px;
    border: 1px solid #ffeeba;
    background-color: #fff3cd;
}

.pp-guest-order-list .pp-absolute-time {
    display: block; /* Put it on its own line */
    font-size: 0.85em;
    color: black;
    margin-top: 2px;
}