547 lines
9.1 KiB
CSS
547 lines
9.1 KiB
CSS
:root {
|
|
--primary: #6c8cf5;
|
|
--primary-hover: #5a79e6;
|
|
--secondary: #a8c5ff;
|
|
--accent: #f4b183;
|
|
--background: #f8fafc;
|
|
--surface: #ffffff;
|
|
--soft-section: #eef4ff;
|
|
--text-primary: #1f2937;
|
|
--text-secondary: #6b7280;
|
|
--border: #e5e7eb;
|
|
--shadow-soft: 0 12px 32px rgba(31, 41, 55, 0.08);
|
|
--shadow-card: 0 8px 24px rgba(31, 41, 55, 0.06);
|
|
--radius-xl: 22px;
|
|
--radius-lg: 16px;
|
|
--radius-md: 12px;
|
|
--container: 1200px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body.booking-page {
|
|
min-width: 1200px;
|
|
background: var(--background);
|
|
color: var(--text-primary);
|
|
font-family: "Poppins", sans-serif;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.container {
|
|
width: min(100% - 96px, var(--container));
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px;
|
|
padding: 12px 18px;
|
|
font-weight: 600;
|
|
border: 1px solid transparent;
|
|
transition: all 0.2s ease;
|
|
cursor: pointer;
|
|
font-family: "Montserrat", sans-serif;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--primary-hover);
|
|
}
|
|
|
|
.btn-outline {
|
|
border-color: var(--border);
|
|
background: #fff;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.full-width {
|
|
width: 100%;
|
|
}
|
|
|
|
.site-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 110;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid rgba(229, 231, 235, 0.7);
|
|
}
|
|
|
|
.header-inner {
|
|
height: 84px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 11px;
|
|
background: linear-gradient(145deg, var(--primary), #7ba0ff);
|
|
color: #fff;
|
|
display: grid;
|
|
place-items: center;
|
|
box-shadow: 0 8px 18px rgba(108, 140, 245, 0.28);
|
|
}
|
|
|
|
.brand-text {
|
|
font-family: "Montserrat", sans-serif;
|
|
font-weight: 800;
|
|
font-size: 1.16rem;
|
|
}
|
|
|
|
.main-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 28px;
|
|
}
|
|
|
|
.main-nav a {
|
|
font-family: "Montserrat", sans-serif;
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.main-nav a:hover,
|
|
.main-nav a.is-active {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.auth-link {
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.auth-link:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.booking-layout-section {
|
|
padding: 36px 0 80px;
|
|
}
|
|
|
|
.booking-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.4fr) 380px;
|
|
gap: 22px;
|
|
align-items: start;
|
|
}
|
|
|
|
.booking-main-column {
|
|
display: grid;
|
|
gap: 18px;
|
|
}
|
|
|
|
.booking-side-column {
|
|
display: grid;
|
|
gap: 14px;
|
|
position: sticky;
|
|
top: 102px;
|
|
}
|
|
|
|
.booking-card,
|
|
.vehicle-summary-card,
|
|
.cost-summary-card,
|
|
.cta-card {
|
|
background: #fff;
|
|
border: 1px solid #e8edf8;
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.booking-card {
|
|
padding: 22px;
|
|
}
|
|
|
|
.section-heading {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.section-heading.compact {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.section-heading .eyebrow {
|
|
margin: 0 0 8px;
|
|
color: var(--primary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.section-heading h2 {
|
|
margin: 0;
|
|
font-family: "Montserrat", sans-serif;
|
|
font-size: 1.55rem;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.vehicle-summary {
|
|
display: grid;
|
|
grid-template-columns: 220px 1fr;
|
|
gap: 18px;
|
|
align-items: center;
|
|
}
|
|
|
|
.vehicle-summary img {
|
|
width: 100%;
|
|
height: 170px;
|
|
object-fit: cover;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.vehicle-summary-top {
|
|
display: flex;
|
|
align-items: start;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.vehicle-summary-top h3 {
|
|
margin: 0;
|
|
font-family: "Montserrat", sans-serif;
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
.rental-name {
|
|
margin: 6px 0 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.summary-meta-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.summary-meta-row span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 7px 10px;
|
|
border-radius: 999px;
|
|
background: #f8fafc;
|
|
border: 1px solid #e9eef6;
|
|
color: #475569;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.summary-meta-row i {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.summary-price strong {
|
|
font-family: "Montserrat", sans-serif;
|
|
color: var(--primary);
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.summary-price span {
|
|
color: var(--text-secondary);
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.status-badge {
|
|
white-space: nowrap;
|
|
border-radius: 999px;
|
|
font-size: 0.72rem;
|
|
padding: 5px 9px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.status-badge.available {
|
|
color: #166534;
|
|
background: #ecfdf3;
|
|
border: 1px solid #caefd9;
|
|
}
|
|
|
|
.booking-form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.booking-form-grid.two-column {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.field-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.field-group.full-span {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.field-group label {
|
|
font-family: "Montserrat", sans-serif;
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
color: #475569;
|
|
}
|
|
|
|
.field-group input,
|
|
.field-group select,
|
|
.field-group textarea {
|
|
width: 100%;
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
padding: 0 14px;
|
|
font-family: "Poppins", sans-serif;
|
|
color: var(--text-primary);
|
|
background: #fff;
|
|
min-height: 46px;
|
|
}
|
|
|
|
.field-group textarea {
|
|
padding-top: 12px;
|
|
padding-bottom: 12px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.field-group input[type="file"] {
|
|
padding: 11px 14px;
|
|
}
|
|
|
|
.field-group input:focus,
|
|
.field-group select:focus,
|
|
.field-group textarea:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(108, 140, 245, 0.12);
|
|
}
|
|
|
|
.radio-pill-group {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.radio-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 11px 13px;
|
|
border-radius: 12px;
|
|
border: 1px solid #e8edf5;
|
|
background: #f8fafc;
|
|
color: #475569;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.radio-pill.is-active {
|
|
border-color: var(--primary);
|
|
background: rgba(108, 140, 245, 0.08);
|
|
color: #27409a;
|
|
}
|
|
|
|
.radio-pill input {
|
|
accent-color: var(--primary);
|
|
}
|
|
|
|
.voucher-box {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: end;
|
|
}
|
|
|
|
.voucher-input-group {
|
|
flex: 1;
|
|
}
|
|
|
|
.voucher-options {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.voucher-options span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border-radius: 999px;
|
|
padding: 8px 11px;
|
|
background: #fff7ed;
|
|
border: 1px solid #f3d3b3;
|
|
color: #9f5f32;
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.cost-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.cost-list div {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
color: #475569;
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.cost-list strong {
|
|
color: #1f2937;
|
|
font-family: "Montserrat", sans-serif;
|
|
}
|
|
|
|
.total-box {
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid #edf1f7;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.total-box span {
|
|
color: #475569;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.total-box strong {
|
|
color: var(--primary);
|
|
font-family: "Montserrat", sans-serif;
|
|
font-size: 1.32rem;
|
|
}
|
|
|
|
.cta-card {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 18px;
|
|
}
|
|
|
|
.mobile-total-info {
|
|
display: none;
|
|
}
|
|
|
|
.site-footer {
|
|
background: #e7eefc;
|
|
border-top: 1px solid #d9e4fb;
|
|
}
|
|
|
|
.footer-grid {
|
|
padding: 70px 0 36px;
|
|
display: grid;
|
|
grid-template-columns: 1.5fr 1fr 1fr 1fr;
|
|
gap: 28px;
|
|
}
|
|
|
|
.footer-brand p {
|
|
margin-top: 14px;
|
|
color: #4d5b76;
|
|
max-width: 340px;
|
|
}
|
|
|
|
.footer-col h4 {
|
|
margin: 0 0 12px;
|
|
font-family: "Montserrat", sans-serif;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.footer-col a,
|
|
.footer-col p {
|
|
display: block;
|
|
margin: 0 0 9px;
|
|
color: #4d5b76;
|
|
font-size: 0.93rem;
|
|
}
|
|
|
|
.footer-col a:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.social-links {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.social-links a {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(255, 255, 255, 0.85);
|
|
border: 1px solid #d4def5;
|
|
color: #4e5e7f;
|
|
}
|
|
|
|
.social-links a:hover {
|
|
color: #fff;
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.footer-bottom {
|
|
border-top: 1px solid #d7e1f8;
|
|
padding: 18px 0;
|
|
color: #5f6f8d;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.booking-card,
|
|
.vehicle-summary-card,
|
|
.cost-summary-card,
|
|
.cta-card {
|
|
animation: fadeUp 0.7s ease both;
|
|
}
|
|
|
|
@keyframes fadeUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(14px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|