434 lines
6.4 KiB
CSS
434 lines
6.4 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=Noto+Sans+Arabic:wght@400;600;700&display=swap");
|
|
|
|
:root {
|
|
color: #1c1b1f;
|
|
background: linear-gradient(160deg, #fdf1e5 0%, #f7f2ec 40%, #eef1ff 100%);
|
|
font-family: "Space Grotesk", "Noto Sans Arabic", "Trebuchet MS", sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
:dir(rtl) {
|
|
font-family: "Noto Sans Arabic", "Space Grotesk", "Trebuchet MS", sans-serif;
|
|
}
|
|
|
|
.page {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
padding: 48px 24px 80px;
|
|
}
|
|
|
|
.main-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 32px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid #eadfd2;
|
|
}
|
|
|
|
.main-nav {
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-brand,
|
|
.nav-link {
|
|
color: #1c1b1f;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nav-brand:hover,
|
|
.nav-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.nav-logout {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
}
|
|
|
|
.hero {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
padding: 32px;
|
|
border-radius: 24px;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
box-shadow: 0 20px 40px rgba(26, 26, 26, 0.08);
|
|
}
|
|
|
|
.hero-top {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.eyebrow {
|
|
letter-spacing: 0.2em;
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 40px;
|
|
margin: 0;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 18px;
|
|
margin: 0;
|
|
max-width: 640px;
|
|
}
|
|
|
|
.search input {
|
|
width: 100%;
|
|
max-width: 520px;
|
|
padding: 14px 16px;
|
|
border-radius: 12px;
|
|
border: 1px solid #dad3ca;
|
|
font-size: 16px;
|
|
}
|
|
|
|
:dir(rtl) .eyebrow {
|
|
letter-spacing: 0.08em;
|
|
text-transform: none;
|
|
}
|
|
|
|
:dir(rtl) .search input {
|
|
text-align: right;
|
|
}
|
|
|
|
.locale-switch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: rgba(255, 255, 255, 0.7);
|
|
border-radius: 999px;
|
|
padding: 6px;
|
|
border: 1px solid #eadfd2;
|
|
}
|
|
|
|
.locale-switch button {
|
|
border: none;
|
|
background: transparent;
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
color: #3c3a3f;
|
|
}
|
|
|
|
.locale-switch button.active {
|
|
background: #1c1b1f;
|
|
color: white;
|
|
}
|
|
|
|
.results {
|
|
margin-top: 48px;
|
|
}
|
|
|
|
.payments {
|
|
margin-top: 48px;
|
|
background: rgba(255, 255, 255, 0.85);
|
|
border-radius: 24px;
|
|
padding: 28px;
|
|
box-shadow: 0 18px 32px rgba(23, 23, 23, 0.08);
|
|
}
|
|
|
|
.payments-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.payments-subtitle {
|
|
margin: 8px 0 0;
|
|
color: #5c5a5f;
|
|
}
|
|
|
|
.payments-badge {
|
|
background: #1c1b1f;
|
|
color: #fff;
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.payments-form {
|
|
margin-top: 20px;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
font-size: 14px;
|
|
color: #3c3a3f;
|
|
}
|
|
|
|
.field input,
|
|
.field select {
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid #dad3ca;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.payments-actions {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.payments-actions button {
|
|
padding: 10px 18px;
|
|
border-radius: 999px;
|
|
border: none;
|
|
background: #1c1b1f;
|
|
color: white;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.payments-actions button:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.helper {
|
|
font-size: 13px;
|
|
color: #5c5a5f;
|
|
margin: 0;
|
|
}
|
|
|
|
.payment-result {
|
|
margin-top: 16px;
|
|
background: #f5f5f5;
|
|
border-radius: 12px;
|
|
padding: 12px;
|
|
font-size: 12px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.card {
|
|
background: white;
|
|
padding: 20px;
|
|
border-radius: 16px;
|
|
box-shadow: 0 12px 24px rgba(21, 21, 21, 0.08);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.rating {
|
|
background: #ffcc80;
|
|
padding: 4px 8px;
|
|
border-radius: 999px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: #5c5a5f;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.card-link {
|
|
display: inline-block;
|
|
margin-top: 8px;
|
|
color: #1c1b1f;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.card-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.auth-page {
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.auth-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.auth-subtitle {
|
|
color: #5c5a5f;
|
|
margin: 8px 0 0;
|
|
}
|
|
|
|
.auth-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.auth-back {
|
|
background: transparent;
|
|
border: 1px solid #dad3ca;
|
|
color: #3c3a3f;
|
|
}
|
|
|
|
.auth-loading {
|
|
text-align: center;
|
|
padding: 48px;
|
|
}
|
|
|
|
.salon-detail {
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.service-list,
|
|
.staff-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.service-list li,
|
|
.staff-list li {
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid #eadfd2;
|
|
}
|
|
|
|
.book-cta {
|
|
display: inline-block;
|
|
margin-top: 24px;
|
|
padding: 12px 24px;
|
|
background: #1c1b1f;
|
|
color: white;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.book-cta:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.book-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
max-width: 400px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.book-salon {
|
|
color: #5c5a5f;
|
|
margin: 4px 0 0;
|
|
}
|
|
|
|
.bookings-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 24px 0 0;
|
|
}
|
|
|
|
.booking-card {
|
|
background: white;
|
|
padding: 20px;
|
|
border-radius: 16px;
|
|
box-shadow: 0 12px 24px rgba(21, 21, 21, 0.08);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.booking-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.booking-status {
|
|
text-transform: capitalize;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.booking-service,
|
|
.booking-time,
|
|
.booking-price {
|
|
margin: 8px 0 0;
|
|
color: #5c5a5f;
|
|
}
|
|
|
|
.booking-pay-link {
|
|
display: inline-block;
|
|
margin-top: 12px;
|
|
font-weight: 600;
|
|
color: #1c1b1f;
|
|
}
|
|
|
|
.payment-return {
|
|
max-width: 480px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.payment-return-id {
|
|
font-size: 14px;
|
|
color: #5c5a5f;
|
|
}
|
|
|
|
.profile-phone {
|
|
margin: 8px 0 16px;
|
|
color: #5c5a5f;
|
|
}
|
|
|
|
.error {
|
|
color: #b00020;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
h1 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.hero {
|
|
padding: 24px;
|
|
}
|
|
}
|