950 lines
20 KiB
CSS
950 lines
20 KiB
CSS
/* QR Destination Page Styles - Light Mode Only */
|
|
:root {
|
|
/* Color Palette - Light Mode Only */
|
|
--primary-color: #2563eb;
|
|
--primary-hover: #1d4ed8;
|
|
--success-color: #059669;
|
|
--warning-color: #d97706;
|
|
--danger-color: #dc2626;
|
|
--info-color: #0891b2;
|
|
|
|
/* Neutral Colors - Light Theme Fixed */
|
|
--white: #ffffff;
|
|
--gray-50: #f8fafc;
|
|
--gray-100: #f1f5f9;
|
|
--gray-200: #e2e8f0;
|
|
--gray-300: #cbd5e1;
|
|
--gray-400: #94a3b8;
|
|
--gray-500: #64748b;
|
|
--gray-600: #475569;
|
|
--gray-700: #334155;
|
|
--gray-800: #1e293b;
|
|
--gray-900: #0f172a;
|
|
|
|
/* Spacing and Layout */
|
|
--radius-sm: 0.25rem;
|
|
--radius: 0.375rem;
|
|
--radius-lg: 0.75rem;
|
|
--radius-xl: 1rem;
|
|
--radius-2xl: 1.5rem;
|
|
|
|
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
|
|
--transition: all 0.15s ease-in-out;
|
|
}
|
|
|
|
/* Force Light Mode - Override any dark mode preferences */
|
|
* {
|
|
color-scheme: light only !important;
|
|
}
|
|
|
|
/* Reset and Base */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
|
|
min-height: 100vh;
|
|
color: var(--gray-900) !important;
|
|
line-height: 1.6;
|
|
/* Force light mode */
|
|
color-scheme: light !important;
|
|
}
|
|
|
|
/* Container */
|
|
.destination-container {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 2rem 1rem;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
}
|
|
|
|
/* Header Section */
|
|
.destination-header {
|
|
text-align: center;
|
|
color: var(--white) !important;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.header-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 80px;
|
|
height: 80px;
|
|
background: rgba(255, 255, 255, 0.2) !important;
|
|
border-radius: 50%;
|
|
font-size: 2rem;
|
|
margin-bottom: 1rem;
|
|
backdrop-filter: blur(10px);
|
|
border: 2px solid rgba(255, 255, 255, 0.3) !important;
|
|
color: var(--white) !important;
|
|
}
|
|
|
|
.destination-header h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
color: var(--white) !important;
|
|
}
|
|
|
|
.location-info {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
font-size: 1.125rem;
|
|
opacity: 0.9;
|
|
color: var(--white) !important;
|
|
}
|
|
|
|
/* Card Styles - Force Light Theme */
|
|
.info-card,
|
|
.checkin-card,
|
|
.success-card {
|
|
background: var(--white) !important;
|
|
border-radius: var(--radius-2xl);
|
|
box-shadow: var(--shadow-xl);
|
|
padding: 2rem;
|
|
width: 100%;
|
|
color: var(--gray-900) !important;
|
|
}
|
|
|
|
.info-card {
|
|
background: rgba(255, 255, 255, 0.95) !important;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
/* Header Styles for Cards */
|
|
.info-header,
|
|
.checkin-header,
|
|
.success-header {
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.info-header h2,
|
|
.checkin-header h2,
|
|
.success-header h2 {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: var(--gray-900) !important;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.info-header h2 i,
|
|
.checkin-header h2 i,
|
|
.success-header h2 i {
|
|
color: var(--primary-color) !important;
|
|
}
|
|
|
|
.info-header p,
|
|
.checkin-header p {
|
|
color: var(--gray-600) !important;
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Info Details */
|
|
.info-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.detail-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
background: var(--gray-50) !important;
|
|
border-radius: var(--radius-lg);
|
|
transition: var(--transition);
|
|
border: 1px solid var(--gray-200) !important;
|
|
}
|
|
|
|
.detail-item:hover {
|
|
background: var(--gray-100) !important;
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.detail-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
background: var(--primary-color) !important;
|
|
color: var(--white) !important;
|
|
border-radius: var(--radius-lg);
|
|
font-size: 1.25rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.detail-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.detail-label {
|
|
font-weight: 600;
|
|
color: var(--gray-900) !important;
|
|
margin-bottom: 0.25rem;
|
|
font-size: 0.875rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.detail-value {
|
|
color: var(--gray-700) !important;
|
|
font-size: 1.125rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Form Styles - Light Theme */
|
|
.checkin-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-weight: 600;
|
|
color: var(--gray-900) !important;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.form-group label i {
|
|
color: var(--primary-color) !important;
|
|
}
|
|
|
|
.form-group input {
|
|
padding: 1rem 1.25rem;
|
|
border: 2px solid var(--gray-300) !important;
|
|
border-radius: var(--radius-lg);
|
|
font-size: 1.125rem;
|
|
transition: var(--transition);
|
|
background: var(--white) !important;
|
|
color: var(--gray-900) !important;
|
|
}
|
|
|
|
.form-group input:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color) !important;
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
|
|
}
|
|
|
|
.form-group input::placeholder {
|
|
color: var(--gray-500) !important;
|
|
}
|
|
|
|
.form-help {
|
|
font-size: 0.875rem;
|
|
color: var(--gray-600) !important;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* Button Styles - Light Theme */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 1rem 2rem;
|
|
border: none;
|
|
border-radius: var(--radius-lg);
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
min-height: 3rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary-color) !important;
|
|
color: var(--white) !important;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--primary-hover) !important;
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--gray-500) !important;
|
|
color: var(--white) !important;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: var(--gray-600) !important;
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
transform: none !important;
|
|
}
|
|
|
|
.btn-content {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.btn-loader {
|
|
display: none;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.btn-loader i {
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Success Card Styles - Light Theme */
|
|
.success-card {
|
|
text-align: center;
|
|
background: var(--white) !important;
|
|
}
|
|
|
|
.success-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100px;
|
|
height: 100px;
|
|
background: var(--success-color) !important;
|
|
color: var(--white) !important;
|
|
border-radius: 50%;
|
|
font-size: 3rem;
|
|
margin-bottom: 1.5rem;
|
|
animation: successPulse 1s ease-out;
|
|
}
|
|
|
|
@keyframes successPulse {
|
|
0% {
|
|
transform: scale(0);
|
|
opacity: 0;
|
|
}
|
|
50% {
|
|
transform: scale(1.1);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.success-card h2 {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: var(--success-color) !important;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.success-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
margin-bottom: 2rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.success-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.75rem 1rem;
|
|
background: var(--gray-50) !important;
|
|
border-radius: var(--radius);
|
|
border-left: 4px solid var(--success-color) !important;
|
|
}
|
|
|
|
.success-item strong {
|
|
color: var(--gray-900) !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.success-item span {
|
|
color: var(--gray-700) !important;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.success-actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
/* Status Message Styles - Light Theme */
|
|
.status-message {
|
|
padding: 1rem 1.25rem;
|
|
border-radius: var(--radius-lg);
|
|
font-weight: 500;
|
|
margin: 1rem 0;
|
|
border-left: 4px solid transparent;
|
|
background: var(--white) !important;
|
|
}
|
|
|
|
.status-message.success {
|
|
background: var(--gray-50) !important;
|
|
color: var(--success-color) !important;
|
|
border-left-color: var(--success-color) !important;
|
|
}
|
|
|
|
.status-message.error {
|
|
background: var(--gray-50) !important;
|
|
color: var(--danger-color) !important;
|
|
border-left-color: var(--danger-color) !important;
|
|
}
|
|
|
|
.status-message.warning {
|
|
background: var(--gray-50) !important;
|
|
color: var(--warning-color) !important;
|
|
border-left-color: var(--warning-color) !important;
|
|
}
|
|
|
|
.status-message.info {
|
|
background: var(--gray-50) !important;
|
|
color: var(--info-color) !important;
|
|
border-left-color: var(--info-color) !important;
|
|
}
|
|
|
|
/* Footer Styles - Light Theme */
|
|
.destination-footer {
|
|
text-align: center;
|
|
color: rgba(255, 255, 255, 0.8) !important;
|
|
font-size: 0.875rem;
|
|
margin-top: auto;
|
|
}
|
|
|
|
.destination-footer p {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
color: rgba(255, 255, 255, 0.9) !important;
|
|
}
|
|
|
|
.destination-footer i {
|
|
color: rgba(255, 255, 255, 0.7) !important;
|
|
}
|
|
|
|
.destination-footer small {
|
|
opacity: 0.7;
|
|
color: rgba(255, 255, 255, 0.6) !important;
|
|
}
|
|
|
|
/* Loading Overlay - Light Theme */
|
|
.loading-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(255, 255, 255, 0.95) !important;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.loading-spinner {
|
|
text-align: center;
|
|
color: var(--primary-color) !important;
|
|
}
|
|
|
|
.loading-spinner i {
|
|
font-size: 3rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--primary-color) !important;
|
|
}
|
|
|
|
.loading-spinner p {
|
|
font-size: 1.125rem;
|
|
font-weight: 500;
|
|
color: var(--gray-700) !important;
|
|
}
|
|
|
|
/* Language Selector Styles - Light Theme Enhanced */
|
|
.language-selector {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.language-toggle {
|
|
background: rgba(255, 255, 255, 0.2) !important;
|
|
border: 2px solid rgba(255, 255, 255, 0.3) !important;
|
|
border-radius: 50px;
|
|
padding: 0.5rem 1rem;
|
|
color: white !important;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
backdrop-filter: blur(10px);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
outline: none;
|
|
}
|
|
|
|
.language-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.3) !important;
|
|
border-color: rgba(255, 255, 255, 0.5) !important;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.language-toggle:active {
|
|
background: rgba(255, 255, 255, 0.4) !important;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.language-toggle:focus {
|
|
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
|
|
}
|
|
|
|
.language-toggle i {
|
|
font-size: 1rem;
|
|
color: white !important;
|
|
}
|
|
|
|
/* Smooth transitions - SIMPLIFIED */
|
|
.fade-transition {
|
|
transition: opacity 0.15s ease;
|
|
}
|
|
|
|
.fade-transition.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Additional Location Tracking Styles - Light Theme */
|
|
.location-status {
|
|
background: var(--gray-50) !important;
|
|
border: 1px solid var(--gray-200) !important;
|
|
border-radius: 8px;
|
|
padding: 12px 16px;
|
|
margin: 15px 0;
|
|
font-size: 14px;
|
|
display: none;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--gray-700) !important;
|
|
}
|
|
|
|
.location-status.loading {
|
|
background: #e0f2fe !important;
|
|
border-color: #0284c7 !important;
|
|
color: #0c4a6e !important;
|
|
}
|
|
|
|
.location-status.success {
|
|
background: #dcfce7 !important;
|
|
border-color: #059669 !important;
|
|
color: #14532d !important;
|
|
}
|
|
|
|
.location-status.error {
|
|
background: #fee2e2 !important;
|
|
border-color: #dc2626 !important;
|
|
color: #7f1d1d !important;
|
|
}
|
|
|
|
.location-info {
|
|
background: var(--gray-50) !important;
|
|
border: 1px solid var(--gray-200) !important;
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
margin: 15px 0;
|
|
display: none;
|
|
font-size: 13px;
|
|
color: var(--gray-700) !important;
|
|
}
|
|
|
|
.location-info h4 {
|
|
margin: 0 0 10px 0;
|
|
font-size: 14px;
|
|
color: var(--gray-900) !important;
|
|
}
|
|
|
|
.coord-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 4px 0;
|
|
border-bottom: 1px solid var(--gray-200) !important;
|
|
color: var(--gray-700) !important;
|
|
}
|
|
|
|
.coord-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.coord-value {
|
|
font-family: 'Courier New', monospace;
|
|
font-weight: bold;
|
|
color: var(--gray-900) !important;
|
|
}
|
|
|
|
.location-controls {
|
|
text-align: center;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.btn-small {
|
|
background: var(--gray-500) !important;
|
|
color: white !important;
|
|
border: none;
|
|
padding: 6px 12px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
margin: 0 4px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.btn-small:hover {
|
|
background: var(--gray-600) !important;
|
|
}
|
|
|
|
/* Mobile responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.language-selector {
|
|
position: relative;
|
|
top: 0;
|
|
right: 0;
|
|
text-align: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.destination-container {
|
|
padding: 1rem 0.5rem;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.destination-header h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.header-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.info-card,
|
|
.checkin-card,
|
|
.success-card {
|
|
margin: 0 0.5rem;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.detail-item {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.detail-icon {
|
|
align-self: center;
|
|
}
|
|
|
|
.success-details {
|
|
text-align: center;
|
|
}
|
|
|
|
.success-item {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.destination-container {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.destination-header h1 {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.form-group input {
|
|
font-size: 1rem;
|
|
padding: 0.875rem;
|
|
}
|
|
|
|
.btn {
|
|
padding: 1rem 1.5rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.success-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
font-size: 2.5rem;
|
|
}
|
|
}
|
|
|
|
/* Accessibility - High Contrast Mode */
|
|
@media (prefers-contrast: high) {
|
|
.info-card,
|
|
.checkin-card,
|
|
.success-card {
|
|
border: 2px solid var(--gray-900) !important;
|
|
}
|
|
|
|
.detail-item {
|
|
border: 1px solid var(--gray-900) !important;
|
|
}
|
|
|
|
.form-group input {
|
|
border: 2px solid var(--gray-900) !important;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--gray-900) !important;
|
|
border: 2px solid var(--white) !important;
|
|
}
|
|
}
|
|
|
|
/* Reduced Motion */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
* {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
|
|
.success-icon {
|
|
animation: none;
|
|
}
|
|
|
|
.btn:hover,
|
|
.detail-item:hover {
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
/* Print Styles */
|
|
@media print {
|
|
body {
|
|
background: white !important;
|
|
color: black !important;
|
|
}
|
|
|
|
.destination-container {
|
|
max-width: none;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.info-card,
|
|
.checkin-card,
|
|
.success-card {
|
|
box-shadow: none;
|
|
border: 1px solid #000 !important;
|
|
break-inside: avoid;
|
|
}
|
|
|
|
.btn,
|
|
.loading-overlay,
|
|
.language-selector {
|
|
display: none !important;
|
|
}
|
|
|
|
.destination-header {
|
|
color: black !important;
|
|
}
|
|
|
|
.header-icon {
|
|
background: white !important;
|
|
border: 2px solid black !important;
|
|
color: black !important;
|
|
}
|
|
}
|
|
|
|
/* Override any dark mode preferences - IMPORTANT */
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
/* Keep light theme variables even when system prefers dark */
|
|
--white: #ffffff !important;
|
|
--gray-50: #f8fafc !important;
|
|
--gray-100: #f1f5f9 !important;
|
|
--gray-200: #e2e8f0 !important;
|
|
--gray-300: #cbd5e1 !important;
|
|
--gray-400: #94a3b8 !important;
|
|
--gray-500: #64748b !important;
|
|
--gray-600: #475569 !important;
|
|
--gray-700: #334155 !important;
|
|
--gray-800: #1e293b !important;
|
|
--gray-900: #0f172a !important;
|
|
}
|
|
|
|
/* Force light mode styles */
|
|
body {
|
|
background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
|
|
color: var(--gray-900) !important;
|
|
}
|
|
}
|
|
|
|
/* Force override any dark theme attributes */
|
|
[data-theme="dark"] {
|
|
/* Reset to light theme */
|
|
--white: #ffffff !important;
|
|
--gray-50: #f8fafc !important;
|
|
--gray-100: #f1f5f9 !important;
|
|
--gray-200: #e2e8f0 !important;
|
|
--gray-300: #cbd5e1 !important;
|
|
--gray-400: #94a3b8 !important;
|
|
--gray-500: #64748b !important;
|
|
--gray-600: #475569 !important;
|
|
--gray-700: #334155 !important;
|
|
--gray-800: #1e293b !important;
|
|
--gray-900: #0f172a !important;
|
|
}
|
|
|
|
.location-warning-banner {
|
|
background: linear-gradient(135deg, #ff6b6b, #ee5a24);
|
|
color: white;
|
|
padding: 15px;
|
|
margin-bottom: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(238, 90, 36, 0.3);
|
|
animation: slideDown 0.3s ease-out;
|
|
}
|
|
|
|
.warning-content {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.warning-icon {
|
|
font-size: 24px;
|
|
color: #fff;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.warning-text {
|
|
flex: 1;
|
|
}
|
|
|
|
.warning-message {
|
|
display: block;
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.warning-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.warning-retry-btn,
|
|
.warning-dismiss-btn {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
color: white;
|
|
padding: 8px 12px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.warning-retry-btn:hover,
|
|
.warning-dismiss-btn:hover {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Blocked Form Styling */
|
|
.location-blocked {
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
position: relative;
|
|
}
|
|
|
|
.location-blocked::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(255, 107, 107, 0.1);
|
|
border-radius: 8px;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Animation for warning banner */
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Mobile responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.warning-actions {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.warning-retry-btn,
|
|
.warning-dismiss-btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
} |