37048-vm/assets/css/custom.css
2025-12-10 00:53:11 +00:00

579 lines
11 KiB
CSS

:root {
--status-default: #444;
--status-default-dark: #6c757d;
--status-processing: #ffc107;
--status-shipped: #0d6efd;
--status-completed: #198754;
--status-cancelled: #dc3545;
}
.about-us-list {
width: 80vw;
display: grid;
list-style: none;
padding: 0;
grid-template-columns: repeat(3, 1fr);
justify-items: center;
margin: 0 auto;
gap: 20px;
}
.about-us-item {
width: 20vw;
min-width: 200px;
border-radius: 20px;
text-align: center;
border: 1px solid #ebebeb;
}
.inner {
position: relative;
inset: 0px;
overflow: hidden;
transition: inherit;
}
.inner::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(-65deg, #0000 40%, #fff7 50%, #0000 70%);
background-size: 200% 100%;
background-repeat: no-repeat;
animation: thing 1.5s ease infinite;
border-radius: 20px;
}
@keyframes thing {
0% {
background-position: 130%;
opacity: 1;
}
to {
background-position: -166%;
opacity: 0;
}
}
@media (max-width: 768px) {
.about-us-list {
grid-template-columns: 1fr;
}
.about-us-item {
width: 80%;
}
}
.tracking-modal-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1050;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.tracking-modal-container.visible {
opacity: 1;
visibility: visible;
}
.modal-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}
.modal-content {
position: relative;
background-color: #2c2c2c;
color: #f0f0f0;
border-radius: 15px;
width: 90%;
max-width: 800px;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
transform: scale(0.95);
transition: transform 0.3s ease;
}
.tracking-modal-container.visible .modal-content {
transform: scale(1);
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-header h3 {
margin: 0;
font-size: 1.5rem;
font-weight: 500;
}
#modal-order-id {
font-weight: bold;
color: var(--bs-primary);
}
.modal-close-btn {
background: none;
border: none;
color: #f0f0f0;
font-size: 2rem;
line-height: 1;
cursor: pointer;
opacity: 0.7;
transition: opacity 0.2s;
}
.modal-close-btn:hover {
opacity: 1;
}
.modal-body {
padding: 1.5rem;
display: grid;
gap: 2rem;
}
.order-summary,
.shipping-details,
.products-list,
.status-details {
background-color: rgba(255, 255, 255, 0.05);
padding: 1.5rem;
border-radius: 10px;
}
.order-summary {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
}
.modal-body h4 {
margin-top: 0;
margin-bottom: 1rem;
font-weight: 500;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding-bottom: 0.5rem;
}
.detail-item {
font-size: 0.95rem;
}
.detail-item strong {
color: #a0a0a0;
margin-left: 8px;
}
.status-tracker {
position: relative;
display: flex;
justify-content: space-between;
padding: 20px 0;
margin-top: 20px;
}
.status-tracker::before {
content: '';
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 0;
width: calc(100% - 40px);
margin: 0 20px;
height: 4px;
background-color: var(--status-default);
z-index: 1;
}
.status-progress {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 20px;
height: 4px;
z-index: 2;
transition: width 0.5s ease, background-color 0.5s ease;
}
.status-step {
position: relative;
z-index: 3;
text-align: center;
width: 100px;
}
.status-step .dot {
width: 20px;
height: 20px;
border-radius: 50%;
background-color: var(--status-default);
border: 3px solid #2c2c2c;
margin: 0 auto;
transform: translateY(-8px);
transition: background-color 0.5s ease, box-shadow 0.3s ease;
}
.status-step .label {
display: block;
margin-top: 10px;
font-size: 0.8rem;
color: #a0a0a0;
transition: color 0.5s ease;
}
.status-step.completed .label,
.status-step.active .label {
color: #f0f0f0;
font-weight: 500;
}
.status-step.active .dot {
box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}
.status-tracker.is-cancelled .status-step {
opacity: 0.5;
}
.status-tracker.is-cancelled .label {
color: var(--status-cancelled);
}
#modal-products-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.product-item {
display: flex;
align-items: center;
gap: 1rem;
background: rgba(255, 255, 255, 0.05);
padding: 10px;
border-radius: 8px;
}
.product-item img {
width: 60px;
height: 60px;
object-fit: cover;
border-radius: 6px;
}
.product-info {
flex-grow: 1;
}
.product-name {
display: block;
font-weight: 500;
}
.product-quantity {
font-size: 0.9rem;
color: #a0a0a0;
}
.product-price {
font-weight: bold;
}
.product-meta {
display: flex;
align-items: center;
gap: 1rem;
font-size: 0.9rem;
color: #a0a0a0;
margin-top: 4px;
}
.product-color-wrapper {
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.product-color-dot {
width: 16px;
height: 16px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.2);
display: inline-block;
}
@media (max-width: 768px) {
footer {
text-align: center;
}
footer .row > * {
margin-bottom: 1.5rem;
}
footer .row {
justify-content: center;
}
/* Center social icons and contact list items on mobile */
footer .social-icons,
footer .list-unstyled .d-flex {
justify-content: center;
}
}
/* --- Modern Login Page --- */
.login-page-modern {
background-color: var(--color-dark-bg);
background-image: url('../images/pexels/about-us-35056828.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
position: relative;
}
.login-page-modern::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(17, 17, 17, 0.7);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.login-container {
position: relative;
z-index: 2;
width: 100%;
max-width: 450px;
padding: 2rem;
}
.login-form-wrapper {
background-color: var(--color-surface);
padding: 2.5rem;
border-radius: 15px;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.login-header .logo-link {
text-decoration: none;
}
.login-header .logo-title {
color: var(--color-gold);
font-weight: 800;
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
.login-header .tagline {
color: var(--color-text-secondary);
font-size: 1rem;
font-weight: 300;
}
.login-form-wrapper .form-title {
color: var(--color-text-primary);
font-weight: 600;
}
.form-floating > .form-control {
background-color: var(--color-dark-bg);
border-color: var(--color-border);
}
.form-floating > .form-control:focus {
background-color: var(--color-dark-bg);
}
.form-floating > label {
color: var(--color-text-secondary);
}
.login-form-wrapper .btn-primary {
padding: 0.8rem;
font-size: 1.1rem;
letter-spacing: 0.5px;
}
.auth-footer a {
color: var(--color-text-secondary);
font-size: 0.9rem;
}
.auth-footer a:hover {
color: var(--color-gold);
}
@media (max-width: 576px) {
.login-container {
padding: 1rem;
}
}
@media (min-width: 992px) {
.login-container {
max-width: 600px;
padding: 0;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.login-container {
max-width: 500px;
}
.login-form-wrapper {
padding: 2rem 1.5rem;
}
.login-header .logo-title {
font-size: 2rem;
}
}
/* --- Login Toggle Switch --- */
.login-toggle-container .btn-group {
border: 1px solid var(--color-border);
border-radius: var(--bs-border-radius-lg); /* Match form control radius */
overflow: hidden;
}
.login-toggle-container .btn-outline-primary {
background-color: transparent;
color: var(--color-text-secondary);
border-color: transparent; /* Remove individual button borders */
transition: background-color 0.3s ease, color 0.3s ease;
padding: 0.75rem 1rem;
font-size: 1rem;
flex-grow: 1;
}
.login-toggle-container .btn-outline-primary:hover {
background-color: rgba(var(--bs-primary-rgb), 0.1);
color: var(--color-gold);
}
.login-toggle-container .btn-check:checked + .btn-outline-primary {
background-color: var(--color-gold);
color: var(--color-dark-bg);
border-color: var(--color-gold);
box-shadow: 0 0 10px rgba(var(--bs-primary-rgb), 0.3);
}
.login-toggle-container .btn-check:focus + .btn-outline-primary {
box-shadow: none;
}
/* --- Divider --- */
.divider-with-text {
display: flex;
align-items: center;
text-align: center;
color: var(--color-text-secondary);
font-size: 0.9rem;
}
.divider-with-text::before,
.divider-with-text::after {
content: '';
flex: 1;
border-bottom: 1px solid var(--color-border);
}
.divider-with-text:not(:empty)::before {
margin-left: .5em;
}
.divider-with-text:not(:empty)::after {
margin-right: .5em;
}
/* --- Google Sign-in Button --- */
.btn-google {
background-color: #ffffff;
color: #424242;
border: 1px solid #dcdcdc;
transition: background-color 0.3s, border-color 0.3s;
}
.btn-google:hover {
background-color: #f5f5f5;
border-color: #c5c5c5;
color: #212121;
}
.btn-google .ri-google-fill {
color: #DB4437;
font-size: 1.3em;
}
.btn-google span {
font-weight: 500;
}
/* --- Hero Video Section --- */
.hero-video-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: -1; /* Changed from 1 to -1 */
}
.hero-video-background video {
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
object-fit: cover;
}
.hero-video-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1;
}
.hero-section .container {
z-index: 2;
}