1296 lines
23 KiB
CSS
1296 lines
23 KiB
CSS
:root {
|
|
--bg-dark: #0f172a;
|
|
--bg-sidebar: #0b0f19;
|
|
--accent-teal: #2dd4bf;
|
|
--accent-green: #10b981;
|
|
--text-primary: #f8fafc;
|
|
--text-muted: #94a3b8;
|
|
--card-bg: rgba(30, 41, 59, 0.7);
|
|
--border-color: rgba(255, 255, 255, 0.1);
|
|
--font-heading: 'Outfit', sans-serif;
|
|
}
|
|
|
|
.posContainer {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: var(--bg-dark);
|
|
color: var(--text-primary);
|
|
overflow: hidden;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
/* Header Styles */
|
|
.header {
|
|
height: 80px;
|
|
background: #ffffff;
|
|
border-bottom: 2px solid #eef2f6;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 2rem;
|
|
z-index: 100;
|
|
}
|
|
|
|
.brandInfo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.logo {
|
|
width: 44px;
|
|
height: 44px;
|
|
background: var(--accent-teal);
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
}
|
|
|
|
.brandText h1 {
|
|
font-size: 1.2rem;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
margin: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.brandText span {
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
color: #ef4444;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.headerCenter {
|
|
flex: 1;
|
|
max-width: 600px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.searchBar {
|
|
flex: 1;
|
|
position: relative;
|
|
}
|
|
|
|
.searchIcon {
|
|
position: absolute;
|
|
left: 16px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.searchBar input {
|
|
width: 100%;
|
|
padding: 0.85rem 1.5rem 0.85rem 3.5rem;
|
|
background: #f1f5f9;
|
|
border: 2px solid transparent;
|
|
border-radius: 16px;
|
|
color: #0f172a;
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
outline: none;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.searchBar input:focus {
|
|
background: white;
|
|
border-color: var(--accent-teal);
|
|
box-shadow: 0 4px 20px rgba(45, 212, 191, 0.15);
|
|
}
|
|
|
|
.modeBadge {
|
|
background: #0f172a;
|
|
color: #fbbf24;
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
font-weight: 800;
|
|
font-size: 0.85rem;
|
|
text-transform: uppercase;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
/* Dashboard Upgrade */
|
|
.dashboardContainer {
|
|
flex: 1;
|
|
padding: 3rem;
|
|
overflow-y: auto;
|
|
background: radial-gradient(circle at top right, #1e293b 0%, #0b0f19 100%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3rem;
|
|
position: relative;
|
|
}
|
|
|
|
.dashboardHero {
|
|
z-index: 10;
|
|
}
|
|
|
|
.dashboardTitle {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
background: linear-gradient(to right, #f8fafc, #2dd4bf);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.dashboardSubtitle {
|
|
color: #94a3b8;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.sessionGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
|
|
gap: 2.5rem;
|
|
z-index: 10;
|
|
}
|
|
|
|
.sessionCard {
|
|
background: rgba(30, 41, 59, 0.7);
|
|
backdrop-filter: blur(12px);
|
|
border-radius: 28px;
|
|
padding: 2.5rem;
|
|
position: relative;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 280px;
|
|
}
|
|
|
|
.sessionCard:hover {
|
|
transform: translateY(-12px) scale(1.02);
|
|
border-color: rgba(45, 212, 191, 0.4);
|
|
box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.sessionName {
|
|
font-size: 1.8rem;
|
|
font-weight: 800;
|
|
color: #f8fafc;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.sessionBadges {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.6rem;
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
.badge {
|
|
padding: 0.4rem 1rem;
|
|
border-radius: 12px;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.badgeInfo {
|
|
background: rgba(8, 145, 178, 0.2);
|
|
color: #22d3ee;
|
|
}
|
|
|
|
.badgeWarn {
|
|
background: rgba(185, 28, 28, 0.2);
|
|
color: #f87171;
|
|
}
|
|
|
|
.continueBtn {
|
|
margin-top: auto;
|
|
background: linear-gradient(135deg, #2dd4bf, #14b8a6);
|
|
color: #0f172a;
|
|
border: none;
|
|
padding: 1.2rem 2rem;
|
|
border-radius: 18px;
|
|
font-weight: 800;
|
|
font-size: 1.1rem;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
}
|
|
|
|
.userInitial {
|
|
position: absolute;
|
|
bottom: 1rem;
|
|
right: 1rem;
|
|
width: 36px;
|
|
height: 36px;
|
|
background: #f97316;
|
|
color: white;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 900;
|
|
}
|
|
|
|
/* Floor Management Styles */
|
|
.floorHeader {
|
|
height: 70px;
|
|
background: #ffffff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 2rem;
|
|
border-bottom: 2px solid #e5e7eb;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.floorTabs {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.floorTab {
|
|
padding: 0.6rem 1.2rem;
|
|
border-radius: 14px;
|
|
background: #f9fafb;
|
|
border: 2px solid #e5e7eb;
|
|
color: #6b7280;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.floorTab:hover {
|
|
background: #ffffff;
|
|
border-color: #2dd4bf;
|
|
color: #2dd4bf;
|
|
}
|
|
|
|
.activeFloorTab {
|
|
background: linear-gradient(135deg, #2dd4bf, #14b8a6);
|
|
border-color: #2dd4bf;
|
|
color: #ffffff;
|
|
box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
|
|
}
|
|
|
|
.designerActions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.addTableBtn,
|
|
.designToggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.6rem 1.2rem;
|
|
border-radius: 14px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.addTableBtn {
|
|
background: linear-gradient(135deg, #2dd4bf, #14b8a6);
|
|
color: white;
|
|
box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
|
|
}
|
|
|
|
.addTableBtn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 16px rgba(45, 212, 191, 0.4);
|
|
}
|
|
|
|
.designToggle {
|
|
background: #f9fafb;
|
|
color: #6b7280;
|
|
border: 2px solid #e5e7eb;
|
|
}
|
|
|
|
.designToggle:hover {
|
|
border-color: #2dd4bf;
|
|
color: #2dd4bf;
|
|
}
|
|
|
|
.activeDesignToggle {
|
|
background: linear-gradient(135deg, #14b8a6, #0d9488);
|
|
color: #ffffff;
|
|
border-color: #14b8a6;
|
|
box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
|
|
}
|
|
|
|
.floorAreaWrapper {
|
|
flex: 1;
|
|
display: flex;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.floorArea {
|
|
flex: 1;
|
|
background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
background-image:
|
|
linear-gradient(#e5e7eb 1px, transparent 1px),
|
|
linear-gradient(90deg, #e5e7eb 1px, transparent 1px);
|
|
background-size: 50px 50px;
|
|
}
|
|
|
|
.tableBox {
|
|
position: absolute;
|
|
width: 120px;
|
|
height: 120px;
|
|
background: #ffffff;
|
|
backdrop-filter: blur(8px);
|
|
border: 3px solid #e5e7eb;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
z-index: 5;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.tableBox:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.squareTable {
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.occupiedTable {
|
|
border-color: #10b981;
|
|
background: linear-gradient(135deg, #d1fae5, #a7f3d0);
|
|
box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
|
|
}
|
|
|
|
.selectedTableBox {
|
|
border-color: #2dd4bf;
|
|
box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.2), 0 8px 30px rgba(45, 212, 191, 0.4);
|
|
}
|
|
|
|
.tableNameLabel {
|
|
font-weight: 800;
|
|
font-size: 1rem;
|
|
color: #111827;
|
|
}
|
|
|
|
.seatsLabel {
|
|
font-size: 0.75rem;
|
|
color: #6b7280;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.orderBadge {
|
|
position: absolute;
|
|
top: -8px;
|
|
right: -8px;
|
|
background: linear-gradient(135deg, #ef4444, #dc2626);
|
|
color: white;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.7rem;
|
|
font-weight: 900;
|
|
border: 2px solid #ffffff;
|
|
animation: pulse 2s infinite;
|
|
box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: scale(1);
|
|
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
|
|
}
|
|
|
|
70% {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
|
|
}
|
|
|
|
100% {
|
|
transform: scale(1);
|
|
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
|
|
}
|
|
}
|
|
|
|
.serverActiveTable {
|
|
border-color: #f59e0b !important;
|
|
background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
|
|
animation: serverPulse 2.5s infinite ease-in-out;
|
|
}
|
|
|
|
@keyframes serverPulse {
|
|
0% {
|
|
box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
|
|
}
|
|
|
|
70% {
|
|
box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
|
|
}
|
|
|
|
100% {
|
|
box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
|
|
}
|
|
}
|
|
|
|
|
|
.propSidebar {
|
|
width: 350px;
|
|
background: #ffffff;
|
|
backdrop-filter: blur(20px);
|
|
border-left: 2px solid #e5e7eb;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 2rem;
|
|
z-index: 20;
|
|
box-shadow: -4px 0 20px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.propHeader {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.propHeader h3 {
|
|
font-size: 1.25rem;
|
|
font-weight: 800;
|
|
color: #2dd4bf;
|
|
}
|
|
|
|
.propGroup {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.propGroup label {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
font-weight: 800;
|
|
color: #6b7280;
|
|
text-transform: uppercase;
|
|
margin-bottom: 0.5rem;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.propGroup input {
|
|
width: 100%;
|
|
background: #f9fafb;
|
|
border: 2px solid #e5e7eb;
|
|
border-radius: 12px;
|
|
padding: 0.8rem 1rem;
|
|
color: #111827;
|
|
font-weight: 600;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.propGroup input:focus {
|
|
outline: none;
|
|
border-color: #2dd4bf;
|
|
background: #ffffff;
|
|
box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
|
|
}
|
|
|
|
.shapeToggle {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.5rem;
|
|
background: #f3f4f6;
|
|
padding: 4px;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.shapeBtn {
|
|
padding: 0.6rem;
|
|
border-radius: 10px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #6b7280;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.shapeBtn:hover {
|
|
color: #2dd4bf;
|
|
}
|
|
|
|
.activeShape {
|
|
background: #ffffff;
|
|
color: #2dd4bf;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.deleteBtn {
|
|
background: #fee2e2;
|
|
color: #dc2626;
|
|
border: 2px solid #fecaca;
|
|
padding: 0.5rem;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
font-weight: 700;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.deleteBtn:hover {
|
|
background: #fecaca;
|
|
border-color: #dc2626;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Main Layout */
|
|
.mainLayout {
|
|
flex: 1;
|
|
display: flex;
|
|
overflow: hidden;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
/* Quick Stock Sidebar */
|
|
.quickStockSidebar {
|
|
width: 280px;
|
|
background: #0f172a;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1.5rem;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.sidebarTitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
color: #fbbf24;
|
|
font-weight: 800;
|
|
font-size: 1rem;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.stockList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.stockItem {
|
|
padding: 1rem;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 14px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.stockName {
|
|
font-weight: 700;
|
|
font-size: 0.9rem;
|
|
color: white;
|
|
}
|
|
|
|
.toggleSwitch {
|
|
width: 44px;
|
|
height: 24px;
|
|
background: #1e293b;
|
|
border-radius: 12px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: background 0.3s ease;
|
|
}
|
|
|
|
.toggleActive {
|
|
background: var(--accent-green);
|
|
}
|
|
|
|
.toggleCircle {
|
|
width: 18px;
|
|
height: 18px;
|
|
background: white;
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.toggleActive .toggleCircle {
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
/* Product Section */
|
|
.productSection {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1.5rem;
|
|
gap: 1.5rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.categoryGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 1rem;
|
|
}
|
|
|
|
.categoryCard {
|
|
height: 110px;
|
|
border-radius: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
border: none;
|
|
color: white;
|
|
}
|
|
|
|
.catAll {
|
|
background: #0f172a;
|
|
}
|
|
|
|
.catBiryani {
|
|
background: #f97316;
|
|
}
|
|
|
|
.catTandoor {
|
|
background: #b45309;
|
|
}
|
|
|
|
.catCurry {
|
|
background: #ef4444;
|
|
}
|
|
|
|
.categoryCard:hover {
|
|
transform: translateY(-4px);
|
|
filter: brightness(1.1);
|
|
box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.activeCatCard {
|
|
outline: 4px solid var(--accent-teal);
|
|
outline-offset: 4px;
|
|
}
|
|
|
|
.catName {
|
|
font-weight: 900;
|
|
font-size: 1rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.productGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.productCard {
|
|
background: white;
|
|
border-radius: 24px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
aspect-ratio: 1;
|
|
cursor: pointer;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.productCard:hover {
|
|
transform: translateY(-6px);
|
|
box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.productImg {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
filter: brightness(0.9);
|
|
}
|
|
|
|
.productOverlay {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 1.25rem;
|
|
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.pName {
|
|
font-weight: 800;
|
|
font-size: 1.1rem;
|
|
color: white;
|
|
}
|
|
|
|
.pPrice {
|
|
font-size: 1.2rem;
|
|
font-weight: 900;
|
|
color: var(--accent-teal);
|
|
}
|
|
|
|
.pBadge {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
padding: 0.4rem 0.75rem;
|
|
background: var(--accent-teal);
|
|
color: var(--bg-dark);
|
|
border-radius: 8px;
|
|
font-size: 0.65rem;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Order Section */
|
|
.orderSidebar {
|
|
width: 420px;
|
|
background: white;
|
|
border-left: 2px solid #eef2f6;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.orderHeader {
|
|
padding: 1.5rem;
|
|
border-bottom: 2px solid #eef2f6;
|
|
}
|
|
|
|
.orderTitleRow {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.orderTitleRow h2 {
|
|
font-size: 1.4rem;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
margin: 0;
|
|
}
|
|
|
|
.orderMeta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.tableTag {
|
|
background: #ecfeff;
|
|
color: var(--accent-teal);
|
|
padding: 0.4rem 0.75rem;
|
|
border-radius: 8px;
|
|
font-weight: 800;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.customerName {
|
|
font-size: 0.85rem;
|
|
color: #64748b;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.orderList {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.orderItem {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
padding-bottom: 1.25rem;
|
|
border-bottom: 1px dashed #e2e8f0;
|
|
}
|
|
|
|
.itemMain {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.itemInfo h4 {
|
|
margin: 0;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.itemPrice {
|
|
color: #64748b;
|
|
font-weight: 700;
|
|
font-size: 0.85rem;
|
|
margin-top: 0.2rem;
|
|
}
|
|
|
|
.qtyControl {
|
|
display: flex;
|
|
align-items: center;
|
|
background: #f1f5f9;
|
|
padding: 4px;
|
|
border-radius: 12px;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.qtyBtn {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #0f172a;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.qtyValue {
|
|
font-weight: 800;
|
|
min-width: 20px;
|
|
text-align: center;
|
|
color: #0f172a;
|
|
/* Fix visibility */
|
|
}
|
|
|
|
.deleteItemBtn {
|
|
background: #fee2e2;
|
|
color: #ef4444;
|
|
border: none;
|
|
border-radius: 12px;
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.deleteItemBtn:hover {
|
|
background: #fecaca;
|
|
color: #dc2626;
|
|
}
|
|
|
|
.modifierGrid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.modifierTag {
|
|
padding: 0.4rem 0.8rem;
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 10px;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
color: #64748b;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.modifierActive {
|
|
background: #ecfeff;
|
|
border-color: var(--accent-teal);
|
|
color: var(--accent-teal);
|
|
}
|
|
|
|
.orderFooter {
|
|
padding: 1.5rem;
|
|
background: #f8fafc;
|
|
border-top: 2px solid #eef2f6;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.totalRow {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.totalLabel {
|
|
font-size: 1.2rem;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.totalValue {
|
|
font-size: 2rem;
|
|
font-weight: 900;
|
|
color: var(--accent-green);
|
|
}
|
|
|
|
.proceedBtn {
|
|
background: var(--accent-green);
|
|
color: white;
|
|
border: none;
|
|
padding: 1.25rem;
|
|
border-radius: 20px;
|
|
font-size: 1.2rem;
|
|
font-weight: 800;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.proceedBtn:hover {
|
|
filter: brightness(1.1);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
|
|
}
|
|
|
|
.secondaryActions {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.secBtn {
|
|
padding: 1rem;
|
|
border: 2px solid #e2e8f0;
|
|
background: white;
|
|
border-radius: 16px;
|
|
font-weight: 800;
|
|
font-size: 0.85rem;
|
|
color: #64748b;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.secBtnPrint {
|
|
border-color: var(--accent-teal);
|
|
color: var(--accent-teal);
|
|
}
|
|
|
|
.bottomNavBar {
|
|
height: 100px;
|
|
background: white;
|
|
border-top: 2px solid #eef2f6;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1.5fr;
|
|
padding: 1rem 1.5rem;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.navBtn {
|
|
border: none;
|
|
border-radius: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.4rem;
|
|
font-weight: 800;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.navBtnCash {
|
|
background: #0f172a;
|
|
color: white;
|
|
}
|
|
|
|
.navBtnRepeat {
|
|
background: #3b82f6;
|
|
color: white;
|
|
}
|
|
|
|
.navBtnKitchen {
|
|
background: #f87171;
|
|
color: white;
|
|
}
|
|
|
|
.navBtn:hover {
|
|
transform: translateY(-4px);
|
|
filter: brightness(1.1);
|
|
}
|
|
|
|
.navBtnSpan {
|
|
font-size: 0.7rem;
|
|
opacity: 0.8;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.lockedItem {
|
|
opacity: 0.85;
|
|
background: rgba(248, 250, 252, 0.5);
|
|
border-left: 4px solid #f59e0b;
|
|
}
|
|
|
|
.statusSmallBadge {
|
|
font-size: 0.6rem;
|
|
padding: 2px 6px;
|
|
border-radius: 6px;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.statusKITCHEN {
|
|
background: #fef3c7;
|
|
color: #b45309;
|
|
}
|
|
|
|
.statusREADY {
|
|
background: #d1fae5;
|
|
color: #065f46;
|
|
}
|
|
|
|
.statusSERVED {
|
|
background: #dbeafe;
|
|
color: #1e40af;
|
|
}
|
|
|
|
.qtyValueLocked {
|
|
font-size: 1.1rem;
|
|
font-weight: 900;
|
|
color: #1e293b;
|
|
width: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
/* Payment Modal */
|
|
.modalOverlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(15, 23, 42, 0.85);
|
|
backdrop-filter: blur(8px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.paymentModal {
|
|
background: white;
|
|
width: 600px;
|
|
border-radius: 32px;
|
|
overflow: hidden;
|
|
box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.modalHeader {
|
|
padding: 2rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid #eef2f6;
|
|
}
|
|
|
|
.modalHeader h2 {
|
|
font-size: 1.8rem;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
margin: 0;
|
|
}
|
|
|
|
.modalHeader button {
|
|
background: #f1f5f9;
|
|
border: none;
|
|
padding: 0.8rem;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
color: #64748b;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.modalHeader button:hover {
|
|
background: #eef2f6;
|
|
color: #ef4444;
|
|
}
|
|
|
|
.paymentContent {
|
|
padding: 2.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.amountDisplay {
|
|
text-align: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.amountDisplay span {
|
|
font-size: 0.9rem;
|
|
color: #64748b;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.amountDisplay h1 {
|
|
font-size: 3.5rem;
|
|
font-weight: 900;
|
|
color: #0f172a;
|
|
margin: 0.5rem 0 0 0;
|
|
letter-spacing: -1px;
|
|
}
|
|
|
|
.paymentMethods {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1rem;
|
|
}
|
|
|
|
.payMethodBtn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
padding: 1.5rem;
|
|
background: #f8fafc;
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 20px;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
color: #64748b;
|
|
}
|
|
|
|
.payMethodBtn span {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.payMethodBtn:hover {
|
|
background: #ffffff;
|
|
border-color: #2dd4bf;
|
|
color: #2dd4bf;
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 24px rgba(45, 212, 191, 0.15);
|
|
}
|
|
|
|
.activeMethod {
|
|
background: #f0fdfa;
|
|
border-color: #2dd4bf;
|
|
color: #0d9488;
|
|
box-shadow: 0 4px 0 #2dd4bf;
|
|
}
|
|
|
|
.cashInputSection {
|
|
background: #f8fafc;
|
|
padding: 1.5rem;
|
|
border-radius: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.8rem;
|
|
}
|
|
|
|
.cashInputSection label {
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
color: #64748b;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.cashInputSection input {
|
|
width: 100%;
|
|
padding: 1rem;
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
outline: none;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.cashInputSection input:focus {
|
|
border-color: #2dd4bf;
|
|
background: white;
|
|
}
|
|
|
|
.changeDisplay {
|
|
font-size: 1.2rem;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.modalFooter {
|
|
padding: 2rem;
|
|
background: #f8fafc;
|
|
border-top: 1px solid #eef2f6;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.cancelBtn {
|
|
padding: 1rem 2rem;
|
|
border: none;
|
|
background: transparent;
|
|
color: #64748b;
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.confirmPayBtn {
|
|
padding: 1rem 2.5rem;
|
|
background: #0f172a;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 16px;
|
|
font-weight: 800;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
box-shadow: 0 12px 24px rgba(15, 23, 42, 0.3);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.confirmPayBtn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4);
|
|
}
|
|
|
|
.confirmPayBtn:disabled {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
} |