3108 lines
51 KiB
CSS
3108 lines
51 KiB
CSS
@import "tailwindcss";
|
||
|
||
:root {
|
||
--background: #ffffff;
|
||
--foreground: #171717;
|
||
}
|
||
|
||
@theme inline {
|
||
--color-background: var(--background);
|
||
--color-foreground: var(--foreground);
|
||
--font-sans: var(--font-geist-sans);
|
||
--font-mono: var(--font-geist-mono);
|
||
}
|
||
|
||
|
||
body {
|
||
background: var(--background);
|
||
color: var(--foreground);
|
||
font-family: Arial, Helvetica, sans-serif;
|
||
}
|
||
|
||
.navbar {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
background: #e68672;
|
||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||
z-index: 1000;
|
||
padding: 0.5rem 2rem;
|
||
display: grid;
|
||
grid-template-columns: 1fr auto 1fr;
|
||
align-items: center;
|
||
min-height: 70px;
|
||
/* border-radius: 0px 0px 10px 10px; */
|
||
}
|
||
|
||
/* Add padding to body to account for fixed header */
|
||
body {
|
||
padding-top: 70px;
|
||
margin: 0;
|
||
font-family: Arial, sans-serif;
|
||
}
|
||
|
||
/* Logo Styles */
|
||
#logo {
|
||
border-radius: 50%;
|
||
transition: transform 0.5s ease;
|
||
}
|
||
|
||
#logo:hover {
|
||
transform: scale(1.1);
|
||
}
|
||
|
||
/* Navigation Links Container */
|
||
.nav-links {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 1.25rem;
|
||
justify-content: center;
|
||
}
|
||
|
||
/* Indivdual Link Styles */
|
||
.nav-link {
|
||
color: #2f2f2f;
|
||
text-decoration: none;
|
||
font-size: 1.05rem;
|
||
font-weight: 600;
|
||
padding: 0.5rem 1rem;
|
||
border-radius: 6px;
|
||
transition: background-color 0.25s ease, color 0.25s ease;
|
||
position: relative;
|
||
}
|
||
|
||
/* Alternative Hover Effect - Background */
|
||
.nav-link:hover {
|
||
background-color: rgba(255, 255, 255, 0.25);
|
||
|
||
}
|
||
|
||
|
||
/* Home Page */
|
||
.home-page {
|
||
min-height: 100vh;
|
||
}
|
||
|
||
/* Slideshow Styles */
|
||
.slideshow-container {
|
||
position: relative;
|
||
width: 100%;
|
||
height: 500px;
|
||
overflow: hidden;
|
||
/* margin-bottom: 4rem; */
|
||
}
|
||
|
||
.slide {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
opacity: 0;
|
||
transition: opacity 1s ease-in-out;
|
||
z-index: 1;
|
||
}
|
||
|
||
.slide.active {
|
||
opacity: 1;
|
||
z-index: 2;
|
||
}
|
||
|
||
.slide-image {
|
||
object-fit: cover;
|
||
}
|
||
|
||
.slideshow-indicators {
|
||
position: absolute;
|
||
bottom: 20px;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
display: flex;
|
||
gap: 10px;
|
||
z-index: 3;
|
||
}
|
||
|
||
.indicator {
|
||
width: 12px;
|
||
height: 12px;
|
||
border-radius: 50%;
|
||
border: 2px solid white;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
padding: 0;
|
||
transition: all 0.3s ease;
|
||
}
|
||
|
||
.indicator.active {
|
||
background: white;
|
||
transform: scale(1.2);
|
||
}
|
||
|
||
.indicator:hover {
|
||
background: rgba(255, 255, 255, 0.5);
|
||
}
|
||
|
||
/* Four Image Links Section */
|
||
.image-links-section {
|
||
max-width: 1200px;
|
||
margin: 0 auto;
|
||
padding: 2rem;
|
||
}
|
||
|
||
.image-links-container {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, 1fr);
|
||
gap: 2rem;
|
||
justify-content: center;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.image-link-card {
|
||
text-decoration: none;
|
||
color: inherit;
|
||
transition: transform 0.3s ease;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
}
|
||
|
||
.image-link-card:hover {
|
||
transform: translateY(-5px);
|
||
}
|
||
|
||
.image-wrapper {
|
||
position: relative;
|
||
width: 100%;
|
||
aspect-ratio: 1;
|
||
border-radius: 20px;
|
||
overflow: hidden;
|
||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.linked-image {
|
||
object-fit: cover;
|
||
transition: transform 0.3s ease;
|
||
}
|
||
|
||
.image-link-card:hover .linked-image {
|
||
transform: scale(1.1);
|
||
}
|
||
|
||
.image-title {
|
||
text-align: center;
|
||
font-size: 1.2rem;
|
||
font-weight: 600;
|
||
color: #333;
|
||
margin-top: 0.5rem;
|
||
}
|
||
|
||
/* Centered Title Section */
|
||
.centered-title-section {
|
||
text-align: center;
|
||
padding: 4rem 2rem;
|
||
background: linear-gradient(to bottom, #f9f9f9, #ffffff);
|
||
/* margin-top: 2re; */
|
||
}
|
||
|
||
.main-title {
|
||
font-size: 3rem;
|
||
color: #333;
|
||
margin-bottom: 1rem;
|
||
font-weight: 700;
|
||
letter-spacing: -0.5px;
|
||
}
|
||
|
||
.subtitle {
|
||
font-size: 1.5rem;
|
||
color: #666;
|
||
margin-bottom: 2rem;
|
||
font-weight: 300;
|
||
}
|
||
|
||
.title-decoration {
|
||
width: 100px;
|
||
height: 4px;
|
||
background: #e68672;
|
||
margin: 2rem auto 0;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
/* Adopt page */
|
||
|
||
.adopt-page {
|
||
min-height: 100vh;
|
||
}
|
||
|
||
.adopt-hero {
|
||
text-align: center;
|
||
padding: 4rem 2rem 3rem;
|
||
background: linear-gradient(to bottom, #f9f9f9, #ffffff);
|
||
}
|
||
|
||
.adopt-hero-title {
|
||
font-size: 3rem;
|
||
color: #333;
|
||
margin-bottom: 1rem;
|
||
font-weight: 700;
|
||
letter-spacing: -0.5px;
|
||
}
|
||
|
||
.adopt-hero-subtitle {
|
||
font-size: 1.5rem;
|
||
color: #666;
|
||
margin-bottom: 2rem;
|
||
font-weight: 300;
|
||
}
|
||
|
||
.adopt-controls {
|
||
max-width: 1200px;
|
||
margin: 0 auto 1.5rem;
|
||
padding: 0 2rem;
|
||
}
|
||
|
||
.adopt-search-form {
|
||
display: flex;
|
||
gap: 0.75rem;
|
||
align-items: center;
|
||
}
|
||
|
||
.adopt-search-input {
|
||
flex: 1;
|
||
max-width: 400px;
|
||
padding: 0.6rem 1rem;
|
||
border: 2px solid #ddd;
|
||
border-radius: 6px;
|
||
font-size: 1rem;
|
||
font-family: Arial, sans-serif;
|
||
transition: border-color 0.2s ease;
|
||
outline: none;
|
||
}
|
||
|
||
.adopt-search-input:focus {
|
||
border-color: #e68672;
|
||
}
|
||
|
||
.adopt-search-btn {
|
||
padding: 0.6rem 1.4rem;
|
||
background: #e68672;
|
||
color: white;
|
||
border: none;
|
||
border-radius: 6px;
|
||
font-size: 1rem;
|
||
font-family: Arial, sans-serif;
|
||
cursor: pointer;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.adopt-search-btn:hover {
|
||
background: #d4705e;
|
||
}
|
||
|
||
.adopt-clear-btn {
|
||
padding: 0.6rem 1rem;
|
||
background: transparent;
|
||
color: #666;
|
||
border: 2px solid #ddd;
|
||
border-radius: 6px;
|
||
font-size: 1rem;
|
||
font-family: Arial, sans-serif;
|
||
cursor: pointer;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.adopt-clear-btn:hover {
|
||
border-color: #aaa;
|
||
color: #333;
|
||
}
|
||
|
||
.adopt-grid-section {
|
||
max-width: 1200px;
|
||
margin: 0 auto;
|
||
padding: 0 2rem 4rem;
|
||
}
|
||
|
||
.adopt-status-msg {
|
||
text-align: center;
|
||
color: #666;
|
||
font-size: 1.1rem;
|
||
padding: 3rem 0;
|
||
}
|
||
|
||
.adopt-error {
|
||
color: #c0392b;
|
||
}
|
||
|
||
.adopt-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, 1fr);
|
||
gap: 1.75rem;
|
||
}
|
||
|
||
.pet-card {
|
||
text-decoration: none;
|
||
color: inherit;
|
||
display: flex;
|
||
flex-direction: column;
|
||
border-radius: 16px;
|
||
overflow: hidden;
|
||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||
background: #fff;
|
||
}
|
||
|
||
.pet-card:hover {
|
||
transform: translateY(-5px);
|
||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
|
||
}
|
||
|
||
.pet-card-image-wrapper {
|
||
background: #fff8ee;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
aspect-ratio: 1 / 1;
|
||
}
|
||
|
||
.pet-card-emoji {
|
||
font-size: 5rem;
|
||
line-height: 1;
|
||
}
|
||
|
||
.pet-card-image {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.pet-card-body {
|
||
padding: 0.6rem 0.75rem 0.75rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.2rem;
|
||
}
|
||
|
||
.pet-card-name {
|
||
font-size: 0.95rem;
|
||
font-weight: 700;
|
||
color: #222;
|
||
margin: 0;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.pet-card-species {
|
||
font-size: 0.8rem;
|
||
color: #666;
|
||
margin: 0;
|
||
}
|
||
|
||
.pet-card-status {
|
||
display: inline-block;
|
||
margin-top: 0.2rem;
|
||
padding: 0.15rem 0.5rem;
|
||
border-radius: 20px;
|
||
font-size: 0.7rem;
|
||
font-weight: 600;
|
||
text-transform: capitalize;
|
||
width: fit-content;
|
||
}
|
||
|
||
.status-available {
|
||
background: #e6f9ee;
|
||
color: #1a7a3c;
|
||
}
|
||
|
||
.status-adopted {
|
||
background: #ffe8e8;
|
||
color: #c0392b;
|
||
}
|
||
|
||
.status-pending {
|
||
background: #fff4e0;
|
||
color: #b36b00;
|
||
}
|
||
|
||
.status-other {
|
||
background: #f0f0f0;
|
||
color: #555;
|
||
}
|
||
|
||
.adopt-pagination {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 1.5rem;
|
||
margin-top: 3rem;
|
||
}
|
||
|
||
.pagination-btn {
|
||
padding: 0.5rem 1.2rem;
|
||
background: #e68672;
|
||
color: white;
|
||
border: none;
|
||
border-radius: 6px;
|
||
font-size: 0.95rem;
|
||
font-family: Arial, sans-serif;
|
||
cursor: pointer;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.pagination-btn:hover:not(:disabled) {
|
||
background: #d4705e;
|
||
}
|
||
|
||
.pagination-btn:disabled {
|
||
background: #ddd;
|
||
color: #aaa;
|
||
cursor: default;
|
||
}
|
||
|
||
.pagination-info {
|
||
font-size: 0.95rem;
|
||
color: #555;
|
||
}
|
||
|
||
/* Pet details */
|
||
|
||
.pet-detail-page {
|
||
min-height: 100vh;
|
||
padding: 3rem 2rem 5rem;
|
||
}
|
||
|
||
.pet-detail-container {
|
||
max-width: 860px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
.pet-detail-back {
|
||
display: inline-block;
|
||
margin-bottom: 2rem;
|
||
color: #e68672;
|
||
text-decoration: none;
|
||
font-size: 1rem;
|
||
font-weight: 600;
|
||
transition: color 0.2s ease;
|
||
}
|
||
|
||
.pet-detail-back:hover {
|
||
color: #d4705e;
|
||
}
|
||
|
||
.pet-detail-card {
|
||
display: flex;
|
||
gap: 3rem;
|
||
background: #fff;
|
||
border-radius: 20px;
|
||
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
|
||
overflow: hidden;
|
||
}
|
||
|
||
.pet-detail-image-wrapper {
|
||
flex-shrink: 0;
|
||
width: 280px;
|
||
background: #fff8ee;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.pet-detail-emoji {
|
||
font-size: 8rem;
|
||
line-height: 1;
|
||
}
|
||
|
||
.pet-detail-image {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.pet-detail-info {
|
||
flex: 1;
|
||
padding: 2.5rem 2.5rem 2.5rem 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 1.5rem;
|
||
}
|
||
|
||
.pet-detail-header {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 1rem;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.pet-detail-name {
|
||
font-size: 2.2rem;
|
||
font-weight: 700;
|
||
color: #222;
|
||
margin: 0;
|
||
}
|
||
|
||
.pet-detail-fields {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0;
|
||
border: 1px solid #eee;
|
||
border-radius: 10px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.pet-detail-row {
|
||
display: flex;
|
||
align-items: center;
|
||
padding: 0.85rem 1.25rem;
|
||
border-bottom: 1px solid #eee;
|
||
}
|
||
|
||
.pet-detail-row:last-child {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.pet-detail-label {
|
||
width: 140px;
|
||
font-size: 0.9rem;
|
||
font-weight: 600;
|
||
color: #888;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.04em;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.pet-detail-value {
|
||
font-size: 1rem;
|
||
color: #333;
|
||
}
|
||
|
||
.pet-detail-price {
|
||
font-weight: 700;
|
||
color: #1a7a3c;
|
||
font-size: 1.1rem;
|
||
}
|
||
|
||
.pet-detail-cta {
|
||
background: #fff8ee;
|
||
border-radius: 12px;
|
||
padding: 1.25rem 1.5rem;
|
||
}
|
||
|
||
.pet-detail-cta-text {
|
||
font-size: 0.95rem;
|
||
color: #555;
|
||
margin: 0 0 1rem;
|
||
}
|
||
|
||
.product-qty-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 1rem;
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.product-qty-label {
|
||
font-size: 0.95rem;
|
||
font-weight: 600;
|
||
color: #555;
|
||
}
|
||
|
||
.product-qty-controls {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.product-add-to-cart-btn {
|
||
width: 100%;
|
||
padding: 0.85rem;
|
||
background: #e68672;
|
||
color: #2f2f2f;
|
||
border: none;
|
||
border-radius: 10px;
|
||
font-size: 1rem;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
transition: background 0.2s ease, transform 0.1s ease;
|
||
}
|
||
|
||
.product-add-to-cart-btn:hover:not(:disabled) {
|
||
background: #d4705e;
|
||
color: #fff;
|
||
}
|
||
|
||
.product-add-to-cart-btn:active:not(:disabled) {
|
||
transform: scale(0.98);
|
||
}
|
||
|
||
.product-add-to-cart-btn:disabled {
|
||
opacity: 0.6;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.product-cart-feedback {
|
||
margin: 0.75rem 0 0;
|
||
font-size: 0.9rem;
|
||
border-radius: 8px;
|
||
padding: 0.6rem 1rem;
|
||
}
|
||
|
||
.product-cart-feedback--success {
|
||
background: #f0fff4;
|
||
border: 1px solid #b2dfdb;
|
||
color: #1a7a3c;
|
||
}
|
||
|
||
.product-cart-feedback--error {
|
||
background: #fff0f0;
|
||
border: 1px solid #f5c6c6;
|
||
color: #c0392b;
|
||
}
|
||
|
||
.pet-detail-cta-btn {
|
||
display: inline-block;
|
||
padding: 0.65rem 1.5rem;
|
||
background: #e68672;
|
||
color: white;
|
||
text-decoration: none;
|
||
border-radius: 8px;
|
||
font-size: 0.95rem;
|
||
font-weight: 600;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.pet-detail-cta-btn:hover {
|
||
background: #d4705e;
|
||
}
|
||
|
||
/* Products Page */
|
||
|
||
.products-page {
|
||
min-height: 100vh;
|
||
}
|
||
|
||
.info-page {
|
||
min-height: 100vh;
|
||
background: linear-gradient(to bottom, #f9f9f9, #ffffff);
|
||
}
|
||
|
||
.info-hero {
|
||
text-align: center;
|
||
padding: 4rem 2rem 3rem;
|
||
}
|
||
|
||
.info-title {
|
||
font-size: 3rem;
|
||
color: #333;
|
||
margin-bottom: 1rem;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.info-subtitle {
|
||
font-size: 1.25rem;
|
||
color: #666;
|
||
margin-bottom: 1.5rem;
|
||
}
|
||
|
||
.info-content {
|
||
max-width: 1200px;
|
||
margin: 0 auto;
|
||
padding: 0 2rem 4rem;
|
||
display: grid;
|
||
gap: 1.5rem;
|
||
}
|
||
|
||
.info-card {
|
||
background: white;
|
||
border-radius: 16px;
|
||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
||
padding: 1.5rem;
|
||
}
|
||
|
||
.info-card h2 {
|
||
margin-top: 0;
|
||
margin-bottom: 1rem;
|
||
color: #222;
|
||
}
|
||
|
||
.info-list {
|
||
margin: 0;
|
||
padding-left: 1.2rem;
|
||
display: grid;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.info-card-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||
gap: 1rem;
|
||
}
|
||
|
||
.info-mini-card {
|
||
background: #fff8ee;
|
||
border-radius: 12px;
|
||
padding: 1rem;
|
||
}
|
||
|
||
.info-mini-card h3 {
|
||
margin-top: 0;
|
||
margin-bottom: 0.5rem;
|
||
}
|
||
|
||
.location-card {
|
||
padding: 0;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.location-card-image-wrapper {
|
||
width: 100%;
|
||
aspect-ratio: 16 / 9;
|
||
overflow: hidden;
|
||
background: #eee;
|
||
}
|
||
|
||
.location-card-image {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.location-card-body {
|
||
padding: 1rem;
|
||
}
|
||
|
||
.location-card-body h3 {
|
||
margin-top: 0;
|
||
margin-bottom: 0.5rem;
|
||
}
|
||
|
||
.location-card-body p {
|
||
margin: 0.25rem 0;
|
||
font-size: 0.9rem;
|
||
color: #555;
|
||
}
|
||
|
||
.products-hero {
|
||
text-align: center;
|
||
padding: 4rem 2rem 3rem;
|
||
background: linear-gradient(to bottom, #f9f9f9, #ffffff);
|
||
}
|
||
|
||
.products-hero-title {
|
||
font-size: 3rem;
|
||
color: #333;
|
||
margin-bottom: 1rem;
|
||
font-weight: 700;
|
||
letter-spacing: -0.5px;
|
||
}
|
||
|
||
.products-hero-subtitle {
|
||
font-size: 1.5rem;
|
||
color: #666;
|
||
margin-bottom: 2rem;
|
||
font-weight: 300;
|
||
}
|
||
|
||
.product-card-price {
|
||
display: inline-block;
|
||
margin-top: 0.4rem;
|
||
font-size: 1.05rem;
|
||
font-weight: 700;
|
||
color: #1a7a3c;
|
||
}
|
||
|
||
/* Responsive Design */
|
||
@media (max-width: 1024px) {
|
||
.adopt-grid {
|
||
grid-template-columns: repeat(3, 1fr);
|
||
}
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.adopt-hero-title,
|
||
.products-hero-title {
|
||
font-size: 2rem;
|
||
}
|
||
|
||
.adopt-hero-subtitle,
|
||
.products-hero-subtitle {
|
||
font-size: 1.2rem;
|
||
}
|
||
|
||
.adopt-grid {
|
||
grid-template-columns: repeat(3, 1fr);
|
||
gap: 1rem;
|
||
}
|
||
|
||
.pet-detail-card {
|
||
flex-direction: column;
|
||
gap: 0;
|
||
}
|
||
|
||
.pet-detail-image-wrapper {
|
||
width: 100%;
|
||
height: 200px;
|
||
}
|
||
|
||
.pet-detail-info {
|
||
padding: 1.75rem;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.adopt-grid {
|
||
grid-template-columns: repeat(3, 1fr);
|
||
gap: 0.6rem;
|
||
}
|
||
|
||
.adopt-hero-title,
|
||
.products-hero-title {
|
||
font-size: 1.6rem;
|
||
}
|
||
|
||
.pet-detail-name {
|
||
font-size: 1.7rem;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 1024px) {
|
||
.slideshow-container {
|
||
height: 400px;
|
||
}
|
||
|
||
.main-title {
|
||
font-size: 2.5rem;
|
||
}
|
||
|
||
.subtitle {
|
||
font-size: 1.25rem;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.slideshow-container {
|
||
height: 300px;
|
||
}
|
||
|
||
.image-links-container {
|
||
grid-template-columns: repeat(2, 1fr);
|
||
gap: 1.5rem;
|
||
}
|
||
|
||
.main-title {
|
||
font-size: 2rem;
|
||
}
|
||
|
||
.image-links-section {
|
||
padding: 1rem;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.slideshow-container {
|
||
height: 250px;
|
||
}
|
||
|
||
.image-links-container {
|
||
grid-template-columns: 1fr;
|
||
gap: 1rem;
|
||
}
|
||
|
||
.main-title {
|
||
font-size: 1.5rem;
|
||
}
|
||
|
||
.subtitle {
|
||
font-size: 1rem;
|
||
}
|
||
|
||
.centered-title-section {
|
||
padding: 2rem 1rem;
|
||
}
|
||
}
|
||
/* Adopt diagnostics */
|
||
|
||
.adopt-filters-row {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
flex-wrap: wrap;
|
||
gap: 1rem;
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.adopt-filter-group {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.3rem;
|
||
min-width: 160px;
|
||
}
|
||
|
||
.adopt-filter-label {
|
||
font-size: 0.8rem;
|
||
font-weight: 600;
|
||
color: #555;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.04em;
|
||
}
|
||
|
||
.adopt-filter-select {
|
||
padding: 0.6rem 1rem;
|
||
border: 2px solid #ddd;
|
||
border-radius: 6px;
|
||
font-size: 0.95rem;
|
||
font-family: Arial, sans-serif;
|
||
background: #fff;
|
||
color: #333;
|
||
cursor: pointer;
|
||
transition: border-color 0.2s ease;
|
||
outline: none;
|
||
appearance: none;
|
||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
|
||
background-repeat: no-repeat;
|
||
background-position: right 0.75rem center;
|
||
padding-right: 2rem;
|
||
}
|
||
|
||
.adopt-filter-select:focus {
|
||
border-color: #e68672;
|
||
}
|
||
|
||
.adopt-filter-select:disabled {
|
||
background-color: #f5f5f5;
|
||
color: #aaa;
|
||
cursor: not-allowed;
|
||
border-color: #e0e0e0;
|
||
}
|
||
|
||
.adopt-controls-row {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
flex-wrap: wrap;
|
||
gap: 1rem;
|
||
}
|
||
|
||
|
||
.adopt-error-box {
|
||
max-width: 640px;
|
||
margin: 3rem auto;
|
||
padding: 1.5rem 2rem;
|
||
background: #fff8f8;
|
||
border: 2px solid #f5c6c6;
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.adopt-error-title {
|
||
font-size: 1.1rem;
|
||
font-weight: 700;
|
||
color: #c0392b;
|
||
margin: 0 0 0.6rem;
|
||
}
|
||
|
||
.adopt-error-detail {
|
||
display: block;
|
||
font-family: monospace;
|
||
font-size: 0.9rem;
|
||
background: #fff0f0;
|
||
border: 1px solid #f5c6c6;
|
||
border-radius: 6px;
|
||
padding: 0.5rem 0.75rem;
|
||
margin-bottom: 0.9rem;
|
||
word-break: break-all;
|
||
}
|
||
|
||
.adopt-error-hint {
|
||
font-size: 0.9rem;
|
||
color: #555;
|
||
margin: 0;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
/* Auth/nav */
|
||
|
||
.nav-auth {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
justify-self: end;
|
||
padding-left: 1.5rem;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.nav-greeting {
|
||
font-weight: 700;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.nav-register-btn {
|
||
background: #2f2f2f;
|
||
color: #e68672 !important;
|
||
font-weight: 600;
|
||
border-radius: 20px;
|
||
padding: 0.4rem 1rem !important;
|
||
}
|
||
|
||
.nav-register-btn:hover {
|
||
background: #444 !important;
|
||
}
|
||
|
||
.nav-logout-btn {
|
||
background: rgba(47, 47, 47, 0.15);
|
||
color: #2f2f2f;
|
||
border: 1px solid rgba(47, 47, 47, 0.4);
|
||
border-radius: 20px;
|
||
padding: 0.35rem 1rem;
|
||
font-size: 0.95rem;
|
||
cursor: pointer;
|
||
transition: background 0.2s ease;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.nav-logout-btn:hover {
|
||
background: rgba(47, 47, 47, 0.25);
|
||
}
|
||
|
||
/* Login/Register */
|
||
|
||
.auth-page {
|
||
min-height: calc(100vh - 70px);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 2rem 1rem;
|
||
background: #fafafa;
|
||
}
|
||
|
||
.auth-card {
|
||
background: white;
|
||
border-radius: 16px;
|
||
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
|
||
padding: 2.5rem;
|
||
width: 100%;
|
||
max-width: 440px;
|
||
}
|
||
|
||
.auth-title {
|
||
font-size: 1.75rem;
|
||
font-weight: 700;
|
||
color: #222;
|
||
margin: 0 0 1.5rem;
|
||
text-align: center;
|
||
}
|
||
|
||
.auth-form {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 1rem;
|
||
}
|
||
|
||
.auth-label {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.35rem;
|
||
font-size: 0.9rem;
|
||
font-weight: 600;
|
||
color: #444;
|
||
}
|
||
|
||
.auth-input {
|
||
padding: 0.6rem 0.85rem;
|
||
border: 1px solid #ddd;
|
||
border-radius: 8px;
|
||
font-size: 1rem;
|
||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||
outline: none;
|
||
}
|
||
|
||
.auth-input:focus {
|
||
border-color: #e68672;
|
||
box-shadow: 0 0 0 3px rgba(230, 134, 114, 0.2);
|
||
}
|
||
|
||
.auth-submit-btn {
|
||
margin-top: 0.5rem;
|
||
padding: 0.75rem;
|
||
background: #e68672;
|
||
color: white;
|
||
border: none;
|
||
border-radius: 8px;
|
||
font-size: 1rem;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
transition: background 0.2s ease, transform 0.1s ease;
|
||
}
|
||
|
||
.auth-submit-btn:hover:not(:disabled) {
|
||
background: #d4705e;
|
||
}
|
||
|
||
.auth-submit-btn:active:not(:disabled) {
|
||
transform: scale(0.98);
|
||
}
|
||
|
||
.auth-submit-btn:disabled {
|
||
opacity: 0.6;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.auth-error {
|
||
background: #fff0f0;
|
||
border: 1px solid #f5c6c6;
|
||
color: #c0392b;
|
||
border-radius: 8px;
|
||
padding: 0.65rem 1rem;
|
||
font-size: 0.9rem;
|
||
margin-bottom: 0.5rem;
|
||
}
|
||
|
||
.auth-switch {
|
||
text-align: center;
|
||
font-size: 0.9rem;
|
||
color: #666;
|
||
margin-top: 1.25rem;
|
||
}
|
||
|
||
.auth-switch-link {
|
||
color: #e68672;
|
||
font-weight: 600;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.auth-switch-link:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
/* User Profile Page */
|
||
|
||
.profile-card {
|
||
background: white;
|
||
border-radius: 16px;
|
||
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
|
||
padding: 2.5rem;
|
||
width: 100%;
|
||
max-width: 480px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 0.75rem;
|
||
}
|
||
|
||
.profile-avatar-circle {
|
||
width: 80px;
|
||
height: 80px;
|
||
border-radius: 50%;
|
||
background: #e68672;
|
||
color: white;
|
||
font-size: 2rem;
|
||
font-weight: 700;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin-bottom: 0.25rem;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.profile-avatar-image {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.profile-name {
|
||
font-size: 1.5rem;
|
||
font-weight: 700;
|
||
color: #222;
|
||
margin: 0;
|
||
}
|
||
|
||
.profile-role-badge {
|
||
display: inline-block;
|
||
background: #fff3e0;
|
||
color: #e67e00;
|
||
border: 1px solid #ffd180;
|
||
border-radius: 20px;
|
||
padding: 0.2rem 0.85rem;
|
||
font-size: 0.8rem;
|
||
font-weight: 700;
|
||
letter-spacing: 0.05em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.profile-fields {
|
||
width: 100%;
|
||
margin: 0.75rem 0 0;
|
||
border-top: 1px solid #eee;
|
||
padding-top: 1rem;
|
||
}
|
||
|
||
.profile-update-form {
|
||
width: 100%;
|
||
display: grid;
|
||
gap: 0.9rem;
|
||
}
|
||
|
||
.profile-update-title {
|
||
margin: 0.25rem 0 0;
|
||
font-size: 1.1rem;
|
||
color: #222;
|
||
}
|
||
|
||
.profile-avatar-actions {
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
gap: 0.75rem;
|
||
}
|
||
|
||
.profile-avatar-upload-btn {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0.65rem 1rem;
|
||
border-radius: 8px;
|
||
background: #fff3e0;
|
||
color: #a65c00;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.profile-field-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: baseline;
|
||
padding: 0.55rem 0;
|
||
border-bottom: 1px solid #f0f0f0;
|
||
gap: 1rem;
|
||
}
|
||
|
||
.profile-field-label {
|
||
font-size: 0.85rem;
|
||
font-weight: 600;
|
||
color: #888;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.profile-field-value {
|
||
font-size: 0.95rem;
|
||
color: #222;
|
||
text-align: right;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.profile-logout-btn {
|
||
width: 100%;
|
||
margin-top: 1rem;
|
||
}
|
||
|
||
.profile-loading {
|
||
color: #888;
|
||
font-size: 1rem;
|
||
}
|
||
|
||
/* Appointments Page */
|
||
|
||
.appt-page {
|
||
min-height: 100vh;
|
||
}
|
||
|
||
.appt-hero {
|
||
text-align: center;
|
||
padding: 3rem 2rem 2rem;
|
||
background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 100%);
|
||
}
|
||
|
||
.appt-hero-title {
|
||
font-size: 2.2rem;
|
||
font-weight: 800;
|
||
color: #222;
|
||
margin: 0 0 0.5rem;
|
||
}
|
||
|
||
.appt-hero-subtitle {
|
||
font-size: 1.1rem;
|
||
color: #666;
|
||
margin: 0 0 1rem;
|
||
}
|
||
|
||
.appt-content {
|
||
max-width: 900px;
|
||
margin: 0 auto;
|
||
padding: 2rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 2.5rem;
|
||
}
|
||
|
||
.appt-form {
|
||
background: white;
|
||
border-radius: 16px;
|
||
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
|
||
padding: 2rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 1.25rem;
|
||
}
|
||
|
||
.appt-form-title {
|
||
font-size: 1.35rem;
|
||
font-weight: 700;
|
||
color: #222;
|
||
margin: 0;
|
||
}
|
||
|
||
.appt-label {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.35rem;
|
||
font-size: 0.9rem;
|
||
font-weight: 600;
|
||
color: #444;
|
||
}
|
||
|
||
.appt-select,
|
||
.appt-input {
|
||
padding: 0.6rem 0.85rem;
|
||
border: 1px solid #ddd;
|
||
border-radius: 8px;
|
||
font-size: 1rem;
|
||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||
outline: none;
|
||
background: white;
|
||
}
|
||
|
||
.appt-select:focus,
|
||
.appt-input:focus {
|
||
border-color: #e68672;
|
||
box-shadow: 0 0 0 3px rgba(230, 134, 114, 0.2);
|
||
}
|
||
|
||
.appt-locked-field {
|
||
padding: 0.6rem 0.85rem;
|
||
border: 1px solid #e0e0e0;
|
||
border-radius: 8px;
|
||
font-size: 1rem;
|
||
background: #f5f5f5;
|
||
color: #555;
|
||
font-weight: 600;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.appt-service-info {
|
||
background: #fff8f0;
|
||
border: 1px solid #ffd180;
|
||
border-radius: 8px;
|
||
padding: 0.75rem 1rem;
|
||
font-size: 0.9rem;
|
||
color: #555;
|
||
}
|
||
|
||
.appt-service-info p {
|
||
margin: 0;
|
||
}
|
||
|
||
.appt-slots-grid {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 0.5rem;
|
||
margin-top: 0.25rem;
|
||
}
|
||
|
||
.appt-slot-btn {
|
||
padding: 0.45rem 0.9rem;
|
||
border: 1px solid #ddd;
|
||
border-radius: 20px;
|
||
background: white;
|
||
font-size: 0.85rem;
|
||
cursor: pointer;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.appt-slot-btn:hover {
|
||
border-color: #e68672;
|
||
background: #fff8f0;
|
||
}
|
||
|
||
.appt-slot-btn--selected {
|
||
background: #e68672;
|
||
color: white;
|
||
border-color: #e68672;
|
||
}
|
||
|
||
.appt-slot-btn--selected:hover {
|
||
background: #d4705e;
|
||
}
|
||
|
||
.appt-slots-loading,
|
||
.appt-no-slots {
|
||
font-size: 0.9rem;
|
||
color: #888;
|
||
font-weight: 400;
|
||
margin: 0.25rem 0 0;
|
||
}
|
||
|
||
.appt-no-slots a {
|
||
color: #2563eb;
|
||
text-decoration: underline;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.appt-no-slots a:hover {
|
||
color: #1d4ed8;
|
||
}
|
||
|
||
.appt-pets-grid {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 0.5rem;
|
||
margin-top: 0.25rem;
|
||
}
|
||
|
||
.appt-pet-chip {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
padding: 0.4rem 0.85rem;
|
||
border: 1px solid #ddd;
|
||
border-radius: 20px;
|
||
font-size: 0.85rem;
|
||
font-weight: 500;
|
||
cursor: pointer;
|
||
transition: all 0.2s ease;
|
||
user-select: none;
|
||
}
|
||
|
||
.appt-pet-chip:hover {
|
||
border-color: #e68672;
|
||
background: #fff8f0;
|
||
}
|
||
|
||
.appt-pet-chip--selected {
|
||
background: #fff3e0;
|
||
border-color: #e68672;
|
||
color: #c47600;
|
||
}
|
||
|
||
.appt-pet-chip-species {
|
||
font-weight: 400;
|
||
color: #888;
|
||
}
|
||
|
||
.appt-pet-chip--selected .appt-pet-chip-species {
|
||
color: #c47600;
|
||
}
|
||
|
||
.appt-pet-checkbox {
|
||
accent-color: #e68672;
|
||
}
|
||
|
||
.appt-add-pet-btn {
|
||
display: inline-block;
|
||
margin-top: 0.5rem;
|
||
padding: 0.4rem 0.85rem;
|
||
background: none;
|
||
border: 1.5px solid #e68672;
|
||
border-radius: 6px;
|
||
color: #e68672;
|
||
font-size: 0.875rem;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
transition: background 0.15s, color 0.15s;
|
||
}
|
||
|
||
.appt-add-pet-btn:hover {
|
||
background: #e68672;
|
||
color: white;
|
||
}
|
||
|
||
.appt-modal-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
background: rgba(0, 0, 0, 0.45);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
z-index: 1000;
|
||
}
|
||
|
||
.appt-modal {
|
||
background: white;
|
||
border-radius: 12px;
|
||
padding: 2rem;
|
||
width: 100%;
|
||
max-width: 420px;
|
||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
|
||
}
|
||
|
||
.appt-link {
|
||
color: #e68672;
|
||
font-weight: 600;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.appt-link:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.appt-submit-btn {
|
||
margin-top: 0.5rem;
|
||
padding: 0.75rem;
|
||
background: #e68672;
|
||
color: white;
|
||
border: none;
|
||
border-radius: 8px;
|
||
font-size: 1rem;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
transition: background 0.2s ease, transform 0.1s ease;
|
||
}
|
||
|
||
.appt-submit-btn:hover:not(:disabled) {
|
||
background: #d4705e;
|
||
}
|
||
|
||
.appt-submit-btn:active:not(:disabled) {
|
||
transform: scale(0.98);
|
||
}
|
||
|
||
.appt-submit-btn:disabled {
|
||
opacity: 0.6;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.appt-error {
|
||
background: #fff0f0;
|
||
border: 1px solid #f5c6c6;
|
||
color: #c0392b;
|
||
border-radius: 8px;
|
||
padding: 0.65rem 1rem;
|
||
font-size: 0.9rem;
|
||
}
|
||
|
||
.appt-success {
|
||
background: #f0fff4;
|
||
border: 1px solid #b2dfdb;
|
||
color: #1a7a3c;
|
||
border-radius: 8px;
|
||
padding: 0.65rem 1rem;
|
||
font-size: 0.9rem;
|
||
}
|
||
|
||
.appt-loading,
|
||
.appt-empty {
|
||
text-align: center;
|
||
color: #888;
|
||
font-size: 0.95rem;
|
||
padding: 1rem 0;
|
||
}
|
||
|
||
.appt-history {
|
||
background: white;
|
||
border-radius: 16px;
|
||
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
|
||
padding: 2rem;
|
||
}
|
||
|
||
.appt-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.75rem;
|
||
margin-top: 1rem;
|
||
}
|
||
|
||
.appt-card {
|
||
border: 1px solid #eee;
|
||
border-radius: 10px;
|
||
padding: 1rem 1.25rem;
|
||
transition: box-shadow 0.2s ease;
|
||
}
|
||
|
||
.appt-card:hover {
|
||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
|
||
}
|
||
|
||
.appt-card-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
margin-bottom: 0.4rem;
|
||
}
|
||
|
||
.appt-card-service {
|
||
font-weight: 700;
|
||
font-size: 1rem;
|
||
color: #222;
|
||
}
|
||
|
||
.appt-card-status {
|
||
font-size: 0.75rem;
|
||
font-weight: 700;
|
||
text-transform: uppercase;
|
||
padding: 0.2rem 0.7rem;
|
||
border-radius: 20px;
|
||
letter-spacing: 0.03em;
|
||
}
|
||
|
||
.appt-card-status--booked {
|
||
background: #e3f2fd;
|
||
color: #1565c0;
|
||
}
|
||
|
||
.appt-card-status--completed {
|
||
background: #e8f5e9;
|
||
color: #2e7d32;
|
||
}
|
||
|
||
.appt-card-status--cancelled {
|
||
background: #fce4ec;
|
||
color: #c62828;
|
||
}
|
||
|
||
.appt-card-status--pending {
|
||
background: #fff8e1;
|
||
color: #f57f17;
|
||
}
|
||
|
||
.appt-card-details {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
font-size: 0.88rem;
|
||
color: #666;
|
||
}
|
||
|
||
.appt-card-pets {
|
||
font-size: 0.85rem;
|
||
color: #888;
|
||
margin-top: 0.35rem;
|
||
}
|
||
|
||
.appt-card-actions {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
margin-top: 0.6rem;
|
||
}
|
||
|
||
.appt-cancel-btn {
|
||
font-size: 0.8rem;
|
||
font-weight: 600;
|
||
padding: 0.25rem 0.85rem;
|
||
border-radius: 6px;
|
||
border: 1px solid #e53935;
|
||
background: transparent;
|
||
color: #e53935;
|
||
cursor: pointer;
|
||
transition: background 0.15s, color 0.15s;
|
||
}
|
||
|
||
.appt-cancel-btn:hover:not(:disabled) {
|
||
background: #e53935;
|
||
color: #fff;
|
||
}
|
||
|
||
.appt-cancel-btn:disabled {
|
||
opacity: 0.5;
|
||
cursor: default;
|
||
}
|
||
|
||
/* Adoption Pet Selection */
|
||
|
||
.appt-adopt-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
||
gap: 0.75rem;
|
||
margin-top: 0.25rem;
|
||
}
|
||
|
||
.appt-adopt-card {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.75rem;
|
||
border: 2px solid #eee;
|
||
border-radius: 12px;
|
||
padding: 0.65rem 0.85rem;
|
||
cursor: pointer;
|
||
transition: all 0.2s ease;
|
||
user-select: none;
|
||
}
|
||
|
||
.appt-adopt-card:hover {
|
||
border-color: #e68672;
|
||
background: #fffaf5;
|
||
}
|
||
|
||
.appt-adopt-card--selected {
|
||
border-color: #e68672;
|
||
background: #fff3e0;
|
||
}
|
||
|
||
.appt-adopt-radio {
|
||
display: none;
|
||
}
|
||
|
||
.appt-adopt-img {
|
||
width: 48px;
|
||
height: 48px;
|
||
border-radius: 50%;
|
||
object-fit: cover;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.appt-adopt-img-placeholder {
|
||
width: 48px;
|
||
height: 48px;
|
||
border-radius: 50%;
|
||
background: #f5f5f5;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 1.3rem;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.appt-adopt-info {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.05rem;
|
||
min-width: 0;
|
||
}
|
||
|
||
.appt-adopt-name {
|
||
font-weight: 700;
|
||
font-size: 0.9rem;
|
||
color: #222;
|
||
}
|
||
|
||
.appt-adopt-detail {
|
||
font-size: 0.78rem;
|
||
color: #888;
|
||
}
|
||
|
||
@media (max-width: 640px) {
|
||
.appt-content {
|
||
padding: 1rem;
|
||
}
|
||
|
||
.appt-form,
|
||
.appt-history {
|
||
padding: 1.25rem;
|
||
}
|
||
|
||
.appt-hero-title {
|
||
font-size: 1.6rem;
|
||
}
|
||
|
||
.appt-card-details {
|
||
flex-direction: column;
|
||
gap: 0.15rem;
|
||
}
|
||
}
|
||
|
||
/* Profile Page Layout (with pets section) */
|
||
|
||
.profile-page-layout {
|
||
min-height: calc(100vh - 70px);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
padding: 2rem 1rem;
|
||
background: #fafafa;
|
||
gap: 2rem;
|
||
}
|
||
|
||
/* Profile Pets Section */
|
||
|
||
.profile-pets-section {
|
||
background: white;
|
||
border-radius: 16px;
|
||
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
|
||
padding: 2rem;
|
||
width: 100%;
|
||
max-width: 640px;
|
||
}
|
||
|
||
.profile-pets-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.profile-pets-title {
|
||
font-size: 1.35rem;
|
||
font-weight: 700;
|
||
color: #222;
|
||
margin: 0;
|
||
}
|
||
|
||
.profile-pets-add-btn {
|
||
background: #e68672;
|
||
color: white;
|
||
border: none;
|
||
border-radius: 20px;
|
||
padding: 0.4rem 1rem;
|
||
font-size: 0.85rem;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.profile-pets-add-btn:hover {
|
||
background: #d4705e;
|
||
}
|
||
|
||
.profile-pets-empty {
|
||
text-align: center;
|
||
color: #888;
|
||
font-size: 0.95rem;
|
||
padding: 1.5rem 0;
|
||
}
|
||
|
||
.profile-pets-grid {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.75rem;
|
||
}
|
||
|
||
.profile-pet-card {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 1rem;
|
||
border: 1px solid #eee;
|
||
border-radius: 12px;
|
||
padding: 0.75rem 1rem;
|
||
transition: box-shadow 0.2s ease;
|
||
}
|
||
|
||
.profile-pet-card:hover {
|
||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
|
||
}
|
||
|
||
.profile-pet-card-img-area {
|
||
position: relative;
|
||
width: 56px;
|
||
height: 56px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.profile-pet-card-img {
|
||
width: 56px;
|
||
height: 56px;
|
||
border-radius: 50%;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.profile-pet-card-placeholder {
|
||
width: 56px;
|
||
height: 56px;
|
||
border-radius: 50%;
|
||
background: #f5f5f5;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 1.5rem;
|
||
}
|
||
|
||
.profile-pet-upload-label {
|
||
position: absolute;
|
||
bottom: -2px;
|
||
right: -2px;
|
||
width: 22px;
|
||
height: 22px;
|
||
background: white;
|
||
border: 1px solid #ddd;
|
||
border-radius: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 0.7rem;
|
||
cursor: pointer;
|
||
transition: border-color 0.2s ease;
|
||
}
|
||
|
||
.profile-pet-upload-label:hover {
|
||
border-color: #e68672;
|
||
}
|
||
|
||
.profile-pet-upload-input {
|
||
display: none;
|
||
}
|
||
|
||
.profile-pet-card-info {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.1rem;
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.profile-pet-card-name {
|
||
font-weight: 700;
|
||
font-size: 0.95rem;
|
||
color: #222;
|
||
}
|
||
|
||
.profile-pet-card-detail {
|
||
font-size: 0.82rem;
|
||
color: #888;
|
||
}
|
||
|
||
.profile-pet-card-actions {
|
||
display: flex;
|
||
gap: 0.4rem;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.profile-pet-edit-btn,
|
||
.profile-pet-delete-btn {
|
||
padding: 0.3rem 0.7rem;
|
||
border-radius: 6px;
|
||
font-size: 0.78rem;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
border: 1px solid #ddd;
|
||
background: white;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.profile-pet-edit-btn:hover {
|
||
border-color: #e68672;
|
||
color: #e68672;
|
||
}
|
||
|
||
.profile-pet-delete-btn:hover {
|
||
border-color: #c0392b;
|
||
color: #c0392b;
|
||
}
|
||
|
||
/* Pet Add/Edit Form */
|
||
|
||
.profile-pet-form {
|
||
background: #fafafa;
|
||
border: 1px solid #eee;
|
||
border-radius: 12px;
|
||
padding: 1.25rem;
|
||
margin-bottom: 1rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.85rem;
|
||
}
|
||
|
||
.profile-pet-form-title {
|
||
font-size: 1rem;
|
||
font-weight: 700;
|
||
color: #222;
|
||
margin: 0;
|
||
}
|
||
|
||
.profile-pet-form-actions {
|
||
display: flex;
|
||
gap: 0.75rem;
|
||
}
|
||
|
||
.profile-pet-form-actions .appt-submit-btn {
|
||
flex: 1;
|
||
margin-top: 0;
|
||
}
|
||
|
||
.profile-pet-cancel-btn {
|
||
flex: 1;
|
||
padding: 0.75rem;
|
||
background: white;
|
||
color: #666;
|
||
border: 1px solid #ddd;
|
||
border-radius: 8px;
|
||
font-size: 1rem;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.profile-pet-cancel-btn:hover {
|
||
border-color: #999;
|
||
color: #333;
|
||
}
|
||
|
||
/* Store Selector */
|
||
|
||
.nav-store-select {
|
||
background: rgba(47, 47, 47, 0.1);
|
||
color: #2f2f2f;
|
||
border: 1px solid rgba(47, 47, 47, 0.35);
|
||
border-radius: 6px;
|
||
padding: 0.3rem 0.6rem;
|
||
font-size: 0.9rem;
|
||
cursor: pointer;
|
||
margin-right: 0.5rem;
|
||
outline: none;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.nav-store-select option {
|
||
background: #fff;
|
||
color: #2f2f2f;
|
||
}
|
||
|
||
.nav-store-select:hover {
|
||
background: rgba(47, 47, 47, 0.2);
|
||
}
|
||
|
||
/* Cart Badge */
|
||
|
||
.nav-cart-btn {
|
||
position: relative;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
font-size: 1.4rem;
|
||
text-decoration: none;
|
||
margin-right: 0.5rem;
|
||
padding: 0.2rem 0.4rem;
|
||
border-radius: 6px;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.nav-cart-btn:hover {
|
||
background: rgba(255, 255, 255, 0.2);
|
||
}
|
||
|
||
.nav-cart-badge {
|
||
position: absolute;
|
||
top: -4px;
|
||
right: -6px;
|
||
background: #e53935;
|
||
color: white;
|
||
border-radius: 999px;
|
||
font-size: 0.65rem;
|
||
font-weight: 700;
|
||
min-width: 18px;
|
||
height: 18px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 0 3px;
|
||
line-height: 1;
|
||
}
|
||
|
||
/* ProductCard Add-to-Cart */
|
||
|
||
.product-card-wrapper {
|
||
display: flex;
|
||
flex-direction: column;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.product-card-link {
|
||
text-decoration: none;
|
||
color: inherit;
|
||
flex: 1;
|
||
}
|
||
|
||
.product-card-actions {
|
||
padding: 0.6rem 0.75rem 0.75rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.4rem;
|
||
}
|
||
|
||
.product-card-qty-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.product-card-qty-btn {
|
||
width: 28px;
|
||
height: 28px;
|
||
border: 1px solid #ddd;
|
||
border-radius: 6px;
|
||
background: white;
|
||
font-size: 1rem;
|
||
cursor: pointer;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
transition: border-color 0.2s ease;
|
||
}
|
||
|
||
.product-card-qty-btn:hover:not(:disabled) {
|
||
border-color: #e68672;
|
||
}
|
||
|
||
.product-card-qty-val {
|
||
min-width: 24px;
|
||
text-align: center;
|
||
font-weight: 600;
|
||
font-size: 0.9rem;
|
||
}
|
||
|
||
.product-card-add-btn {
|
||
width: 100%;
|
||
padding: 0.45rem;
|
||
background: #e68672;
|
||
color: white;
|
||
border: none;
|
||
border-radius: 8px;
|
||
font-size: 0.88rem;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.product-card-add-btn:hover:not(:disabled) {
|
||
background: #d4705e;
|
||
}
|
||
|
||
.product-card-add-btn:disabled {
|
||
opacity: 0.6;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.product-card-feedback {
|
||
font-size: 0.78rem;
|
||
color: #2e7d32;
|
||
margin: 0;
|
||
text-align: center;
|
||
}
|
||
|
||
/* Cart Page */
|
||
|
||
.cart-page {
|
||
max-width: 1100px;
|
||
margin: 2rem auto;
|
||
padding: 0 1.5rem 3rem;
|
||
}
|
||
|
||
.cart-title {
|
||
font-size: 2rem;
|
||
font-weight: 800;
|
||
color: #222;
|
||
margin-bottom: 1.5rem;
|
||
}
|
||
|
||
.cart-status-msg {
|
||
text-align: center;
|
||
color: #888;
|
||
margin-top: 3rem;
|
||
font-size: 1rem;
|
||
}
|
||
|
||
.cart-error-msg {
|
||
color: #c0392b;
|
||
font-size: 0.9rem;
|
||
margin: 0.5rem 0;
|
||
}
|
||
|
||
.cart-empty {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 1rem;
|
||
margin-top: 4rem;
|
||
}
|
||
|
||
.cart-empty-msg {
|
||
font-size: 1.1rem;
|
||
color: #666;
|
||
}
|
||
|
||
.cart-continue-btn {
|
||
background: #e68672;
|
||
color: white;
|
||
border: none;
|
||
border-radius: 8px;
|
||
padding: 0.65rem 1.5rem;
|
||
font-size: 1rem;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.cart-continue-btn:hover {
|
||
background: #d4705e;
|
||
}
|
||
|
||
.cart-layout {
|
||
display: grid;
|
||
grid-template-columns: 1fr 340px;
|
||
gap: 2rem;
|
||
align-items: start;
|
||
}
|
||
|
||
@media (max-width: 800px) {
|
||
.cart-layout {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
.cart-items-section {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0;
|
||
}
|
||
|
||
.cart-item-row {
|
||
display: grid;
|
||
grid-template-columns: 72px 1fr auto auto auto;
|
||
align-items: center;
|
||
gap: 1rem;
|
||
padding: 1rem 0;
|
||
border-bottom: 1px solid #eee;
|
||
}
|
||
|
||
.cart-item-img {
|
||
width: 72px;
|
||
height: 72px;
|
||
object-fit: cover;
|
||
border-radius: 8px;
|
||
background: #f5f5f5;
|
||
}
|
||
|
||
.cart-item-details {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.2rem;
|
||
}
|
||
|
||
.cart-item-name {
|
||
font-weight: 700;
|
||
font-size: 0.95rem;
|
||
color: #222;
|
||
margin: 0;
|
||
}
|
||
|
||
.cart-item-unit-price {
|
||
font-size: 0.82rem;
|
||
color: #888;
|
||
margin: 0;
|
||
}
|
||
|
||
.cart-item-qty-controls {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.4rem;
|
||
}
|
||
|
||
.cart-qty-btn {
|
||
width: 28px;
|
||
height: 28px;
|
||
border: 1px solid #ddd;
|
||
border-radius: 6px;
|
||
background: white;
|
||
font-size: 1rem;
|
||
cursor: pointer;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
transition: border-color 0.2s ease;
|
||
}
|
||
|
||
.cart-qty-btn:hover {
|
||
border-color: #e68672;
|
||
}
|
||
|
||
.cart-qty-val {
|
||
min-width: 28px;
|
||
text-align: center;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.cart-item-line-total {
|
||
font-weight: 700;
|
||
font-size: 0.95rem;
|
||
color: #222;
|
||
min-width: 60px;
|
||
text-align: right;
|
||
margin: 0;
|
||
}
|
||
|
||
.cart-item-remove-btn {
|
||
background: none;
|
||
border: none;
|
||
color: #bbb;
|
||
font-size: 1rem;
|
||
cursor: pointer;
|
||
padding: 0.2rem;
|
||
transition: color 0.2s ease;
|
||
}
|
||
|
||
.cart-item-remove-btn:hover {
|
||
color: #c0392b;
|
||
}
|
||
|
||
.cart-clear-btn {
|
||
align-self: flex-start;
|
||
margin-top: 1rem;
|
||
background: none;
|
||
border: 1px solid #ddd;
|
||
border-radius: 6px;
|
||
padding: 0.4rem 0.9rem;
|
||
font-size: 0.82rem;
|
||
color: #888;
|
||
cursor: pointer;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.cart-clear-btn:hover {
|
||
border-color: #c0392b;
|
||
color: #c0392b;
|
||
}
|
||
|
||
.cart-summary {
|
||
background: #fafafa;
|
||
border: 1px solid #eee;
|
||
border-radius: 14px;
|
||
padding: 1.5rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.75rem;
|
||
position: sticky;
|
||
top: 84px;
|
||
}
|
||
|
||
.cart-summary-title {
|
||
font-size: 1.2rem;
|
||
font-weight: 800;
|
||
color: #222;
|
||
margin: 0 0 0.5rem;
|
||
}
|
||
|
||
.cart-summary-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
font-size: 0.95rem;
|
||
color: #444;
|
||
}
|
||
|
||
.cart-summary-discount {
|
||
color: #2e7d32;
|
||
}
|
||
|
||
.cart-summary-total {
|
||
font-size: 1.1rem;
|
||
font-weight: 800;
|
||
color: #222;
|
||
border-top: 1px solid #eee;
|
||
padding-top: 0.75rem;
|
||
margin-top: 0.25rem;
|
||
}
|
||
|
||
.cart-total-prices {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.cart-total-original {
|
||
font-size: 0.95rem;
|
||
font-weight: 500;
|
||
color: #aaa;
|
||
text-decoration: line-through;
|
||
}
|
||
|
||
.cart-total-discounted {
|
||
color: #2e7d32;
|
||
}
|
||
|
||
.cart-savings-callout {
|
||
background: #f0fdf4;
|
||
border: 1px solid #bbf7d0;
|
||
color: #15803d;
|
||
border-radius: 8px;
|
||
padding: 0.5rem 0.85rem;
|
||
font-size: 0.88rem;
|
||
font-weight: 700;
|
||
text-align: center;
|
||
}
|
||
|
||
.cart-points-estimate {
|
||
background: #fffbeb;
|
||
border: 1px solid #fde68a;
|
||
color: #92400e;
|
||
border-radius: 8px;
|
||
padding: 0.5rem 0.85rem;
|
||
font-size: 0.85rem;
|
||
text-align: center;
|
||
}
|
||
|
||
.cart-points-section {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.5rem;
|
||
margin-top: 0.75rem;
|
||
padding-top: 0.75rem;
|
||
border-top: 1px solid #e5e7eb;
|
||
}
|
||
|
||
.cart-points-balance-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
font-size: 0.9rem;
|
||
color: #374151;
|
||
}
|
||
|
||
.cart-points-balance-row strong {
|
||
color: #7c3aed;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.cart-points-label {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
font-size: 0.9rem;
|
||
color: #374151;
|
||
cursor: pointer;
|
||
user-select: none;
|
||
}
|
||
|
||
.cart-points-label:has(.cart-points-checkbox:disabled) {
|
||
cursor: not-allowed;
|
||
opacity: 0.6;
|
||
}
|
||
|
||
.cart-points-checkbox {
|
||
width: 1rem;
|
||
height: 1rem;
|
||
accent-color: #7c3aed;
|
||
cursor: pointer;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.cart-points-msg {
|
||
font-size: 0.82rem;
|
||
color: #6b7280;
|
||
margin: 0;
|
||
font-style: italic;
|
||
}
|
||
|
||
.cart-points-applied-detail {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
background: #f5f3ff;
|
||
border: 1px solid #ddd6fe;
|
||
border-radius: 6px;
|
||
padding: 0.4rem 0.7rem;
|
||
font-size: 0.85rem;
|
||
color: #5b21b6;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.cart-coupon-section {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.5rem;
|
||
margin-top: 0.25rem;
|
||
}
|
||
|
||
.cart-coupon-applied {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.cart-coupon-badge {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
background: #fff3e0;
|
||
color: #a65c00;
|
||
border: 1px solid #ffd180;
|
||
border-radius: 6px;
|
||
padding: 0.3rem 0.7rem;
|
||
font-size: 0.82rem;
|
||
font-weight: 700;
|
||
letter-spacing: 0.04em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.cart-coupon-remove-btn {
|
||
background: none;
|
||
border: none;
|
||
color: #999;
|
||
font-size: 0.85rem;
|
||
cursor: pointer;
|
||
padding: 0.2rem 0.35rem;
|
||
border-radius: 4px;
|
||
line-height: 1;
|
||
transition: color 0.15s ease, background 0.15s ease;
|
||
}
|
||
|
||
.cart-coupon-remove-btn:hover:not(:disabled) {
|
||
color: #c0392b;
|
||
background: #fff0f0;
|
||
}
|
||
|
||
.cart-coupon-input-row {
|
||
display: flex;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.cart-coupon-input {
|
||
flex: 1;
|
||
min-width: 0;
|
||
border: 1px solid #ddd;
|
||
border-radius: 7px;
|
||
padding: 0.5rem 0.75rem;
|
||
font-size: 0.88rem;
|
||
outline: none;
|
||
transition: border-color 0.2s ease;
|
||
}
|
||
|
||
.cart-coupon-input:focus {
|
||
border-color: #e68672;
|
||
}
|
||
|
||
.cart-coupon-btn {
|
||
background: #333;
|
||
color: white;
|
||
border: none;
|
||
border-radius: 7px;
|
||
padding: 0.5rem 0.9rem;
|
||
font-size: 0.88rem;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
transition: background 0.2s ease;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.cart-coupon-btn:hover:not(:disabled) {
|
||
background: #111;
|
||
}
|
||
|
||
.cart-coupon-btn:disabled {
|
||
opacity: 0.5;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.cart-coupon-hint {
|
||
font-size: 0.78rem;
|
||
color: #888;
|
||
margin: 0;
|
||
}
|
||
|
||
.cart-coupon-success {
|
||
width: 100%;
|
||
font-size: 0.8rem;
|
||
color: #16a34a;
|
||
margin: 0;
|
||
}
|
||
|
||
.cart-coupon-error {
|
||
width: 100%;
|
||
font-size: 0.8rem;
|
||
color: #c0392b;
|
||
margin: 0;
|
||
}
|
||
|
||
.cart-checkout-btn {
|
||
width: 100%;
|
||
padding: 0.85rem;
|
||
background: #e68672;
|
||
color: white;
|
||
border: none;
|
||
border-radius: 10px;
|
||
font-size: 1rem;
|
||
font-weight: 800;
|
||
cursor: pointer;
|
||
margin-top: 0.5rem;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.cart-checkout-btn:hover:not(:disabled) {
|
||
background: #d4705e;
|
||
}
|
||
|
||
.cart-checkout-btn:disabled {
|
||
opacity: 0.5;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.cart-payment-form {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.75rem;
|
||
margin-top: 0.5rem;
|
||
}
|
||
|
||
.cart-payment-title {
|
||
font-size: 1rem;
|
||
font-weight: 700;
|
||
color: #222;
|
||
margin: 0;
|
||
}
|
||
|
||
.cart-payment-total {
|
||
font-size: 0.9rem;
|
||
color: #444;
|
||
margin: 0;
|
||
}
|
||
|
||
.cart-payment-actions {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.cart-pay-btn {
|
||
width: 100%;
|
||
padding: 0.75rem;
|
||
background: #1a56db;
|
||
color: white;
|
||
border: none;
|
||
border-radius: 8px;
|
||
font-size: 0.95rem;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.cart-pay-btn:hover:not(:disabled) {
|
||
background: #1446c0;
|
||
}
|
||
|
||
.cart-pay-btn:disabled {
|
||
opacity: 0.5;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.cart-cancel-btn {
|
||
width: 100%;
|
||
padding: 0.65rem;
|
||
background: white;
|
||
color: #666;
|
||
border: 1px solid #ddd;
|
||
border-radius: 8px;
|
||
font-size: 0.9rem;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.cart-cancel-btn:hover {
|
||
border-color: #999;
|
||
color: #333;
|
||
}
|
||
|
||
.cart-confirmation {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 1rem;
|
||
margin-top: 5rem;
|
||
text-align: center;
|
||
}
|
||
|
||
.cart-confirmation-icon {
|
||
font-size: 3.5rem;
|
||
}
|
||
|
||
.cart-confirmation-title {
|
||
font-size: 1.8rem;
|
||
font-weight: 800;
|
||
color: #222;
|
||
margin: 0;
|
||
}
|
||
|
||
.cart-confirmation-body {
|
||
font-size: 1rem;
|
||
color: #555;
|
||
max-width: 400px;
|
||
margin: 0;
|
||
}
|
||
|
||
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px); } }
|
||
@keyframes spin { to { transform: rotate(360deg); } }
|
||
|
||
/* Floating chat widget */
|
||
.fc-dot {
|
||
display: inline-block;
|
||
width: 7px;
|
||
height: 7px;
|
||
border-radius: 50%;
|
||
background: #aaa;
|
||
animation: bounce 1s infinite;
|
||
}
|
||
|
||
/* Footer */
|
||
.site-footer {
|
||
background: #e68672;
|
||
color: #2f2f2f;
|
||
margin-top: 4rem;
|
||
border-radius: 10px 10px 0 0;
|
||
}
|
||
|
||
.footer-container {
|
||
max-width: 1200px;
|
||
margin: 0 auto;
|
||
padding: 3rem 2rem 2rem;
|
||
display: grid;
|
||
grid-template-columns: 2fr 1fr 1fr 1fr;
|
||
gap: 2rem;
|
||
}
|
||
|
||
.footer-logo {
|
||
border-radius: 50%;
|
||
margin-bottom: 0.75rem;
|
||
}
|
||
|
||
.footer-tagline {
|
||
font-size: 0.95rem;
|
||
line-height: 1.5;
|
||
opacity: 0.9;
|
||
max-width: 260px;
|
||
}
|
||
|
||
.footer-heading {
|
||
font-size: 1rem;
|
||
font-weight: 700;
|
||
margin-bottom: 1rem;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.05em;
|
||
}
|
||
|
||
.footer-links {
|
||
list-style: none;
|
||
padding: 0;
|
||
margin: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.footer-links a {
|
||
color: #2f2f2f;
|
||
text-decoration: none;
|
||
font-size: 0.95rem;
|
||
opacity: 0.85;
|
||
transition: opacity 0.2s ease;
|
||
}
|
||
|
||
.footer-links a:hover {
|
||
opacity: 1;
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.footer-contact li {
|
||
font-size: 0.95rem;
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.footer-bottom {
|
||
border-top: 1px solid rgba(47, 47, 47, 0.2);
|
||
text-align: center;
|
||
padding: 1rem 2rem;
|
||
font-size: 0.85rem;
|
||
opacity: 0.8;
|
||
}
|
||
|
||
@media (max-width: 900px) {
|
||
.footer-container {
|
||
grid-template-columns: 1fr 1fr;
|
||
}
|
||
.footer-brand {
|
||
grid-column: 1 / -1;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 550px) {
|
||
.footer-container {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
/* Mobile / Responsive */
|
||
|
||
/* Compact nav at mid-range widths before collapsing to hamburger */
|
||
@media (min-width: 1101px) and (max-width: 1350px) {
|
||
.nav-links {
|
||
gap: 0.25rem;
|
||
}
|
||
|
||
.nav-link {
|
||
font-size: 0.9rem;
|
||
padding: 0.4rem 0.5rem;
|
||
}
|
||
|
||
.nav-auth {
|
||
gap: 0.35rem;
|
||
padding-left: 0.5rem;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 1100px) {
|
||
.navbar {
|
||
padding: 0.5rem 1rem;
|
||
}
|
||
}
|
||
|
||
/* Hamburger button – hidden on desktop */
|
||
.nav-mobile-bar {
|
||
display: none;
|
||
}
|
||
|
||
.nav-hamburger {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
gap: 5px;
|
||
width: 36px;
|
||
height: 36px;
|
||
background: transparent;
|
||
border: none;
|
||
cursor: pointer;
|
||
padding: 4px;
|
||
border-radius: 6px;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.nav-hamburger:hover {
|
||
background: rgba(47, 47, 47, 0.12);
|
||
}
|
||
|
||
.nav-hamburger span {
|
||
display: block;
|
||
height: 2px;
|
||
width: 100%;
|
||
background: #2f2f2f;
|
||
border-radius: 2px;
|
||
transition: transform 0.25s ease, opacity 0.25s ease;
|
||
transform-origin: center;
|
||
}
|
||
|
||
/* Animate bars to X when open */
|
||
.nav-hamburger--open span:nth-child(1) {
|
||
transform: translateY(7px) rotate(45deg);
|
||
}
|
||
.nav-hamburger--open span:nth-child(2) {
|
||
opacity: 0;
|
||
}
|
||
.nav-hamburger--open span:nth-child(3) {
|
||
transform: translateY(-7px) rotate(-45deg);
|
||
}
|
||
|
||
/* Mobile slide-down drawer */
|
||
.nav-drawer {
|
||
display: none;
|
||
}
|
||
|
||
@media (max-width: 1100px) {
|
||
/* Show hamburger bar, hide desktop nav */
|
||
.nav-mobile-bar {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
margin-left: auto;
|
||
}
|
||
|
||
.nav-links,
|
||
.nav-auth {
|
||
display: none;
|
||
}
|
||
|
||
/* Drawer panel */
|
||
.nav-drawer {
|
||
display: flex;
|
||
flex-direction: column;
|
||
position: absolute;
|
||
top: 70px;
|
||
left: 0;
|
||
width: 100%;
|
||
background: #e68672;
|
||
padding: 1rem 1.5rem 1.5rem;
|
||
z-index: 999;
|
||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
|
||
border-radius: 0 0 10px 10px;
|
||
gap: 0.25rem;
|
||
}
|
||
|
||
.nav-drawer-link {
|
||
display: block;
|
||
color: #2f2f2f;
|
||
text-decoration: none;
|
||
font-size: 1.05rem;
|
||
font-weight: 500;
|
||
padding: 0.65rem 0.5rem;
|
||
border-radius: 6px;
|
||
transition: background 0.2s ease;
|
||
}
|
||
|
||
.nav-drawer-link:hover {
|
||
background: rgba(47, 47, 47, 0.1);
|
||
}
|
||
|
||
.nav-drawer-link--register {
|
||
margin-top: 0.25rem;
|
||
background: #2f2f2f;
|
||
color: #e68672 !important;
|
||
font-weight: 700;
|
||
border-radius: 20px;
|
||
padding: 0.6rem 1rem;
|
||
text-align: center;
|
||
}
|
||
|
||
.nav-drawer-link--register:hover {
|
||
background: #444 !important;
|
||
}
|
||
|
||
.nav-drawer-divider {
|
||
height: 1px;
|
||
background: rgba(47, 47, 47, 0.2);
|
||
margin: 0.5rem 0;
|
||
}
|
||
|
||
.nav-store-select--drawer {
|
||
width: 100%;
|
||
margin: 0 0 0.25rem;
|
||
}
|
||
|
||
.nav-logout-btn--drawer {
|
||
width: 100%;
|
||
margin-top: 0.25rem;
|
||
border-radius: 8px;
|
||
padding: 0.65rem;
|
||
font-size: 1rem;
|
||
}
|
||
}
|
||
|
||
/* Cart item row – stack on small screens */
|
||
@media (max-width: 600px) {
|
||
.cart-item-row {
|
||
grid-template-columns: 56px 1fr;
|
||
grid-template-rows: auto auto;
|
||
gap: 0.5rem 0.75rem;
|
||
}
|
||
|
||
.cart-item-img {
|
||
width: 56px;
|
||
height: 56px;
|
||
grid-row: 1 / 3;
|
||
}
|
||
|
||
.cart-item-details {
|
||
grid-column: 2;
|
||
grid-row: 1;
|
||
}
|
||
|
||
.cart-item-qty-controls {
|
||
grid-column: 2;
|
||
grid-row: 2;
|
||
}
|
||
|
||
.cart-item-line-total {
|
||
display: none;
|
||
}
|
||
|
||
.cart-item-remove {
|
||
position: absolute;
|
||
top: 0.75rem;
|
||
right: 0;
|
||
}
|
||
|
||
.cart-item-row {
|
||
position: relative;
|
||
padding-right: 2rem;
|
||
}
|
||
}
|
||
|
||
/* Adopt filters - stack vertically on mobile */
|
||
@media (max-width: 600px) {
|
||
.adopt-filters-row {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.adopt-filter-group {
|
||
min-width: 0;
|
||
width: 100%;
|
||
}
|
||
|
||
.adopt-filter-select {
|
||
width: 100%;
|
||
}
|
||
|
||
.adopt-search-form {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.adopt-search-input {
|
||
max-width: 100%;
|
||
}
|
||
|
||
.adopt-search-btn,
|
||
.adopt-clear-btn {
|
||
width: 100%;
|
||
}
|
||
}
|
||
|
||
/* Appointments - fix adopt grid on narrow screens */
|
||
@media (max-width: 480px) {
|
||
.appt-adopt-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.appt-modal {
|
||
margin: 1rem;
|
||
padding: 1.25rem;
|
||
}
|
||
|
||
.appt-slots-grid {
|
||
gap: 0.4rem;
|
||
}
|
||
|
||
.appt-slot-btn {
|
||
padding: 0.5rem 0.75rem;
|
||
font-size: 0.9rem;
|
||
}
|
||
}
|
||
|
||
/* Auth pages - reduce padding on very small screens */
|
||
@media (max-width: 480px) {
|
||
.auth-card {
|
||
padding: 1.5rem 1.25rem;
|
||
}
|
||
|
||
.auth-title {
|
||
font-size: 1.4rem;
|
||
}
|
||
}
|
||
|
||
/* Profile - tighten padding on mobile */
|
||
@media (max-width: 480px) {
|
||
.profile-card {
|
||
padding: 1.5rem 1.25rem;
|
||
}
|
||
|
||
.profile-pets-section {
|
||
padding: 1.25rem;
|
||
}
|
||
|
||
.profile-pets-header {
|
||
flex-wrap: wrap;
|
||
gap: 0.5rem;
|
||
}
|
||
}
|
||
|
||
/* General – prevent horizontal overflow on all pages */
|
||
html, body {
|
||
overflow-x: hidden;
|
||
}
|
||
|
||
img, video, iframe {
|
||
max-width: 100%;
|
||
}
|
||
|
||
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
|
||
.contact-label { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 500; color: #333; font-size: 0.95rem; }
|
||
.contact-input, .contact-textarea { border: 1px solid #ddd; border-radius: 8px; padding: 0.6rem 0.8rem; font-size: 0.95rem; font-family: inherit; resize: vertical; }
|
||
.contact-input:focus, .contact-textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
|
||
.contact-submit-btn { align-self: flex-start; background: #2563eb; color: #fff; border: none; border-radius: 8px; padding: 0.65rem 1.4rem; font-size: 0.95rem; cursor: pointer; }
|
||
.contact-submit-btn:hover:not(:disabled) { background: #1d4ed8; }
|
||
.contact-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
|
||
.contact-error { color: #c0392b; font-size: 0.9rem; }
|
||
.contact-success { color: #166534; background: #dcfce7; border: 1px solid #bbf7d0; border-radius: 8px; padding: 0.75rem 1rem; }
|
||
.pagination-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem 1rem; }
|
||
.pagination-btn { background: #333; color: white; border: none; border-radius: 8px; padding: 0.5rem 1.2rem; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
|
||
.pagination-btn:disabled { background: #ccc; cursor: not-allowed; }
|
||
.pagination-info { font-size: 0.9rem; color: #555; font-weight: 500; }
|