.reservations-table {
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	overflow: hidden;
}

.rt-head {
	background: rgba(255, 255, 255, 0.03);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rt-row {
	display: grid;
	grid-template-columns: 140px 100px 1fr 1fr 120px 100px 70px;
	align-items: center;
	padding: 14px 20px;
	gap: 12px;
}

.rt-body .rt-row {
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	transition: background 0.2s ease;
}

.rt-body .rt-row:last-child {
	border-bottom: none;
}

.rt-body .rt-row:hover {
	background: rgba(255, 255, 255, 0.03);
}

.rt-head .rt-cell {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
}

.rt-cell {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.8);
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rt-cell code {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.8rem;
	background: rgba(255, 255, 255, 0.05);
	padding: 2px 8px;
	border-radius: 4px;
}

.rt-cell-time {
	font-weight: 300;
	color: #f8f9fa;
	letter-spacing: 0.3px;
}

.rt-cell-email {
	font-size: 0.8rem;
	opacity: 0.6;
}

.rt-cell-tables {
	font-size: 0.8rem;
	opacity: 0.7;
}

.status-badge {
	display: inline-block;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	padding: 4px 10px;
	border-radius: 4px;
	text-transform: uppercase;
}

.status-active {
	background: rgba(200, 164, 92, 0.15);
	color: #c8a45c;
}

.status-completed {
	background: rgba(74, 106, 106, 0.12);
	color: #4a6a6a;
}

.status-cancelled {
	background: rgba(255, 77, 77, 0.1);
	color: #ff4d4d;
}

.status-pending {
	background: rgba(255, 193, 7, 0.15);
	color: #ffc107;
}

.status-reviewed {
	background: rgba(74, 106, 106, 0.15);
	color: #7fa1a1;
}

.status-accepted {
	background: rgba(46, 204, 113, 0.15);
	color: #2ecc71;
}

.status-rejected {
	background: rgba(255, 77, 77, 0.1);
	color: #ff4d4d;
}

.rt-cell-arrival {
	text-align: center;
}

.rt-table-actions .rt-row {
	grid-template-columns: 140px 1fr 1fr 1.2fr 120px 120px;
}

.rt-table-actions .rt-cell-arrival {
	text-align: right;
	white-space: nowrap;
}

.rt-table-actions .rt-cell-arrival .btn {
	font-size: 0.75rem;
	padding: 4px 10px;
}

.rt-table-profile .rt-row {
	grid-template-columns: minmax(auto, 1fr) 70px 120px 90px 130px;
}

.rt-table-profile .rt-cell-code {
	min-width: auto;
	overflow: visible;
	text-overflow: clip;
}

.rt-table-profile .rt-cell-tables {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.rt-cell-date {
	text-align: center;
	line-height: 1.2;
}

.rt-table-profile .rt-cell-arrival {
	text-align: left;
	white-space: nowrap;
}

.rt-table-profile .rt-cell-arrival .btn {
	font-size: 0.75rem;
	padding: 4px 10px;
}

@media (max-width: 900px) {
	.rt-row,
	.rt-table-actions .rt-row {
		grid-template-columns: 1fr 1fr;
		gap: 4px 12px;
		padding: 12px 16px;
	}

	.rt-table-profile .rt-row {
		grid-template-columns: 1.5fr 1fr;
		gap: 4px 12px;
		padding: 12px 16px;
	}

	.rt-table-profile .rt-cell-code {
		order: 0;
	}

	.rt-table-profile .rt-cell-date {
		order: 1;
	}

	.rt-table-profile .rt-cell-time {
		order: 2;
	}

	.rt-table-profile .rt-cell-tables {
		order: 3;
	}

	.rt-table-profile .rt-cell-arrival {
		order: 4;
	}

	.rt-head {
		display: none;
	}

	.rt-cell::before {
		content: attr(data-label);
		font-size: 0.6rem;
		font-weight: 600;
		letter-spacing: 1px;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 0.3);
		display: block;
		margin-bottom: 2px;
	}

	.rt-table-profile .rt-cell {
		text-align: left;
	}

	.rt-table-profile .rt-cell-arrival {
		text-align: left;
	}
}

@media (max-width: 500px) {
	.rt-row,
	.rt-table-actions .rt-row,
	.rt-table-profile .rt-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.rt-table-profile .rt-cell-tables {
		white-space: normal;
	}

	.rt-table-profile .rt-cell-arrival {
		text-align: right;
	}
}

.rt-table-staff .rt-row {
	grid-template-columns: 1fr 1.5fr 1fr 100px;
}

.rt-table-staff .rt-cell:last-child {
	text-align: right;
}

.rt-table-applications .rt-row {
	grid-template-columns: 1.2fr 1.5fr 130px 150px 110px;
	align-items: center;
	gap: 14px;
	padding: 14px 20px;
}

.rt-table-applications .rt-cell {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.45;
}

.rt-table-applications .rt-cell-applicant-name strong {
	display: block;
	color: #f8f9fa;
	font-size: 0.98rem;
	line-height: 1.25;
}

.rt-table-applications .rt-cell-applicant-contact,
.rt-table-applications .rt-cell-applicant-date {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.82rem;
	overflow-wrap: anywhere;
}

.rt-table-applications .rt-cell-applicant-contact span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rt-table-applications .rt-cell-application-text {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.86rem;
	overflow-wrap: anywhere;
}

.rt-table-applications .rt-cell-application-status {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
}

.rt-table-applications .rt-cell-application-status small {
	color: rgba(255, 255, 255, 0.48);
	font-size: 0.74rem;
	line-height: 1.25;
}

.rt-table-applications .rt-cell-application-action form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.rt-table-applications .rt-cell-application-action .custom-input {
	min-height: 36px;
	padding: 6px 10px;
	font-size: 0.82rem;
}

.rt-table-applications .rt-cell-application-action .btn {
	width: 100%;
	min-height: 34px;
}

.application-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.application-detail-grid > div,
.application-answer {
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 8px;
	padding: 12px 14px;
}

.application-detail-grid span,
.application-answer span {
	display: block;
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.application-detail-grid strong {
	display: block;
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.9rem;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.application-answer p {
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0;
	overflow-wrap: anywhere;
}

.application-modal-actions {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
	.rt-table-staff .rt-row,
	.rt-table-applications .rt-row {
		grid-template-columns: 1fr 1fr;
	}

	.application-modal-actions,
	.application-detail-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 500px) {
	.rt-table-staff .rt-row,
	.rt-table-applications .rt-row {
		grid-template-columns: 1fr;
	}

	.rt-table-staff .rt-cell:last-child {
		text-align: left;
	}
}

.pagination-wrap {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-top: 24px;
}

.pagination-wrap .page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	font-size: 0.85rem;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.pagination-wrap .page-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #f8f9fa;
	border-color: rgba(255, 255, 255, 0.12);
}

.pagination-wrap .page-btn.active {
	background: #4a6a6a;
	color: #e6e6e6;
	border-color: #4a6a6a;
}

.reservation-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.reservation-column {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 1rem;
    min-height: 450px;
}

.reservation-column-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.reservation-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.reservation-card:last-child {
    margin-bottom: 0;
}

.reservation-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .75rem;
}

.reservation-code {
    font-weight: 600;
    color: #fff;
}

.reservation-card-body {
    line-height: 1.6;
    font-size: .95rem;
}
