204 lines
4.6 KiB
CSS
204 lines
4.6 KiB
CSS
/*
|
|
* Preorder page — supplemental styles
|
|
* Inherits all base styles from quick-order.css
|
|
*/
|
|
|
|
/* ── Day button window: 14-day grid ──────────────────────────────────── */
|
|
.ds-day-buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
max-height: 140px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* ── Info banner ──────────────────────────────────────────────────────── */
|
|
.po-info-banner {
|
|
background: #fff8ee;
|
|
border: 1px solid #f4a236;
|
|
border-left: 4px solid #f4a236;
|
|
border-radius: 8px;
|
|
padding: 12px 18px;
|
|
font-size: 14px;
|
|
color: #1a3c22;
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.po-info-banner .fa {
|
|
color: #f4a236;
|
|
font-size: 16px;
|
|
flex-shrink: 0;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
/* ── Product card: qty starts at 0, selected state ────────────────────── */
|
|
.po-product-card .qty-input {
|
|
color: #aaa;
|
|
}
|
|
|
|
.po-product-card.po-selected {
|
|
border-color: #2d7a3a;
|
|
box-shadow: 0 2px 10px rgba(45, 122, 58, 0.12);
|
|
}
|
|
|
|
.po-product-card.po-selected .qty-input {
|
|
color: #1a3c22;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* ── Note section ─────────────────────────────────────────────────────── */
|
|
.po-note-section {
|
|
margin-top: 24px;
|
|
background: #fff;
|
|
border: 1px solid #dde8da;
|
|
border-radius: 8px;
|
|
padding: 16px 18px;
|
|
}
|
|
|
|
.po-note-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: #2d7a3a;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.4px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.po-note-label .fa {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.po-note-input {
|
|
width: 100%;
|
|
border: 1px solid #dde8da;
|
|
border-radius: 6px;
|
|
padding: 10px 12px;
|
|
font-size: 14px;
|
|
font-family: 'DM Sans', sans-serif;
|
|
color: #2c2c2c;
|
|
resize: vertical;
|
|
min-height: 80px;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.po-note-input:focus {
|
|
outline: none;
|
|
border-color: #2d7a3a;
|
|
}
|
|
|
|
/* ── Submit row ───────────────────────────────────────────────────────── */
|
|
.po-submit-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-top: 20px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid #dde8da;
|
|
}
|
|
|
|
.po-selection-summary {
|
|
font-size: 13px;
|
|
color: #6b7c6e;
|
|
flex: 1;
|
|
}
|
|
|
|
.po-submit-btn {
|
|
padding: 12px 28px;
|
|
background: #2d7a3a;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 15px;
|
|
font-family: 'DM Sans', sans-serif;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transition: background 0.18s;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.po-submit-btn:hover:not(:disabled) {
|
|
background: #1a3c22;
|
|
}
|
|
|
|
.po-submit-btn:disabled {
|
|
background: #dde8da;
|
|
color: #6b7c6e;
|
|
cursor: default;
|
|
}
|
|
|
|
.po-submit-btn .fa {
|
|
font-size: 15px;
|
|
}
|
|
|
|
/* ── Success state ────────────────────────────────────────────────────── */
|
|
.po-success-state {
|
|
text-align: center;
|
|
padding: 60px 20px;
|
|
background: #fff;
|
|
border: 1px solid #dde8da;
|
|
border-radius: 8px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.po-success-icon {
|
|
font-size: 64px;
|
|
color: #2d7a3a;
|
|
margin-bottom: 20px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.po-success-state h2 {
|
|
font-size: 24px;
|
|
font-weight: 800;
|
|
color: #1a3c22;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.po-success-state p {
|
|
font-size: 15px;
|
|
color: #6b7c6e;
|
|
margin-bottom: 28px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.po-back-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 28px;
|
|
background: #f5f7f2;
|
|
color: #2d7a3a !important;
|
|
border: 1px solid #dde8da;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: background 0.18s;
|
|
}
|
|
|
|
.po-back-btn:hover {
|
|
background: #dde8da;
|
|
}
|
|
|
|
/* ── Responsive ───────────────────────────────────────────────────────── */
|
|
@media (max-width: 600px) {
|
|
.po-submit-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.po-submit-btn {
|
|
justify-content: center;
|
|
}
|
|
}
|