790 lines
16 KiB
CSS
790 lines
16 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
|
}
|
|
|
|
:root {
|
|
--bg-primary: #ffffff;
|
|
--bg-secondary: #f8fafc;
|
|
--bg-card: #ffffff;
|
|
--bg-sidebar: linear-gradient(to bottom, #f4f4f5, #d0f9f9, #cac5f7);
|
|
--text-primary: #333333;
|
|
--text-secondary: #6b7280;
|
|
--text-muted: #9ca3af;
|
|
--border-color: #e5e7eb;
|
|
--border-dark: #374151;
|
|
--accent-color: #000000;
|
|
--accent-light: #070065;
|
|
--success-color: #10b981;
|
|
--error-color: #dc2626;
|
|
--warning-bg: #fff3cd;
|
|
--warning-border: #ffeaa7;
|
|
--warning-text: #856404;
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
--shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--bg-primary: #121212;
|
|
--bg-secondary: #1e1e1e;
|
|
--bg-card: #1e1e1e;
|
|
--bg-sidebar: linear-gradient(to bottom, #2d2d2d, #1a3a3a, #2a264d);
|
|
--text-primary: #f5f5f5;
|
|
--text-secondary: #d1d5db;
|
|
--text-muted: #9ca3af;
|
|
--border-color: #374151;
|
|
--border-dark: #4b5563;
|
|
--accent-color: #ffffff;
|
|
--accent-light: #6366f1;
|
|
--success-color: #10b981;
|
|
--error-color: #ef4444;
|
|
--warning-bg: #422006;
|
|
--warning-border: #854d0e;
|
|
--warning-text: #fef3c7;
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
--shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
height: 100vh;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Sidebar Styles */
|
|
.sidebar {
|
|
display: none;
|
|
flex-direction: column;
|
|
width: 388px;
|
|
background: var(--bg-sidebar);
|
|
padding: 24px;
|
|
border-radius: 14px;
|
|
margin: 20px;
|
|
box-shadow: var(--shadow);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 32px;
|
|
}
|
|
.logo-placeholder img{
|
|
width: 100%;
|
|
height: auto;
|
|
max-width: 196px;
|
|
filter: brightness(var(--logo-brightness, 1));
|
|
}
|
|
|
|
[data-theme="dark"] .logo-placeholder img {
|
|
--logo-brightness: 0.9;
|
|
}
|
|
|
|
.logo-placeholder h2 {
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
text-align: center;
|
|
}
|
|
|
|
.form-title-sec {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color:var(--text-primary);
|
|
text-align: center;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.progress-steps {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.step {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
border-radius: 12px;
|
|
border: 2px solid transparent;
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: all 0.3s ease;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
[data-theme="dark"] .step {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.step.active {
|
|
border-color: var(--accent-color);
|
|
}
|
|
|
|
[data-theme="dark"] .step.active {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.step.completed .step-number {
|
|
background-color: var(--accent-color);
|
|
border-color: var(--accent-color);
|
|
color: white;
|
|
}
|
|
|
|
.step-number {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 2px solid var(--accent-color);
|
|
font-weight: 600;
|
|
color: var(--accent-color);
|
|
transition: all 0.3s ease;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
[data-theme="dark"] .step-number {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: var(--accent-color);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.step.active .step-number {
|
|
border-color:var(--text-primary);
|
|
color:var(--text-primary);
|
|
opacity: 1;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
[data-theme="dark"] .step.active .step-number {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.step-text {
|
|
font-size: 14px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.step.active .step-text {
|
|
color:var(--text-primary);
|
|
}
|
|
|
|
.step-connector {
|
|
height: 24px;
|
|
width: 2px;
|
|
background-color: var(--accent-color);
|
|
margin-left: 16px;
|
|
position: absolute;
|
|
top: 46px;
|
|
left: 12px;
|
|
}
|
|
|
|
.step.active .step-connector {
|
|
background-color:var(--text-primary);
|
|
}
|
|
|
|
/* Main Content Styles */
|
|
.main-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
background-color: var(--bg-primary);
|
|
}
|
|
|
|
.mobile-progress {
|
|
background-color: var(--bg-secondary);
|
|
padding: 16px;
|
|
border-radius: 12px;
|
|
margin-bottom: 20px;
|
|
box-shadow: var(--shadow);
|
|
overflow-x: auto;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.mobile-progress ol {
|
|
display: flex;
|
|
list-style: none;
|
|
gap: 12px;
|
|
min-width: max-content;
|
|
}
|
|
|
|
.mobile-progress .step {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.form-container {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 40px 0;
|
|
}
|
|
|
|
.form-card {
|
|
width: 100%;
|
|
max-width: 450px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 12px;
|
|
box-shadow: var(--shadow-lg);
|
|
padding: 24px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.form-title {
|
|
text-align: center;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 24px;
|
|
color:var(--text-primary);
|
|
}
|
|
|
|
.form-step {
|
|
display: none;
|
|
}
|
|
|
|
.form-step.active {
|
|
display: block;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 16px;
|
|
position: relative;
|
|
}
|
|
|
|
.input-container {
|
|
position: relative;
|
|
background-color: var(--bg-secondary);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
padding: 2px 0;
|
|
border: 1px solid transparent;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.input-container:focus-within {
|
|
border-color: var(--accent-light);
|
|
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
|
|
}
|
|
|
|
.input-label {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
transition: all 0.2s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.input-field, .select-field {
|
|
width: 100%;
|
|
padding: 18px 12px 14px;
|
|
border: none;
|
|
background: transparent;
|
|
outline: none;
|
|
font-size: 14px;
|
|
border-radius: 6px;
|
|
color: var(--text-primary);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
[data-theme="dark"] .input-field, [data-theme="dark"] .select-field {
|
|
background-color: #ffffff1a;
|
|
}
|
|
|
|
.input-field::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.select-field {
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
|
|
background-repeat: no-repeat;
|
|
background-position: right 12px center;
|
|
background-size: 16px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
[data-theme="dark"] .select-field {
|
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d1d5db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
|
|
}
|
|
|
|
.input-field:focus + .input-label,
|
|
.input-field:not(:placeholder-shown) + .input-label,
|
|
.select-field:focus + .input-label,
|
|
.select-field:valid + .input-label {
|
|
top: 2px;
|
|
font-size: 12px;
|
|
transform: none;
|
|
color: var(--accent-light);
|
|
}
|
|
|
|
.checkbox-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.checkbox-group input {
|
|
width: 16px;
|
|
height: 16px;
|
|
accent-color: var(--accent-color);
|
|
}
|
|
|
|
.checkbox-group label {
|
|
font-size: 14px;
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.btn {
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--accent-color);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
opacity: 0.9;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: var(--bg-secondary);
|
|
color: var(--text-primary);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: var(--border-color);
|
|
}
|
|
|
|
.btn-outline {
|
|
background-color: transparent;
|
|
border: 1px solid var(--accent-light);
|
|
color: var(--accent-light);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background-color: var(--accent-light);
|
|
color: white;
|
|
}
|
|
|
|
|
|
.btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
transform: none !important;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 6px 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.payment-option {
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
margin-bottom: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.payment-option.selected {
|
|
border-color: var(--border-color);
|
|
transition: all 0.3s ease;
|
|
background: var(--bg-card);
|
|
}
|
|
|
|
.payment-option:hover {
|
|
border-color: var(--accent-light);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.payment-option.selected {
|
|
border-color: var(--accent-color);
|
|
background-color: rgba(99, 102, 241, 0.1);
|
|
}
|
|
|
|
[data-theme="dark"] .payment-option.selected {
|
|
background-color: rgba(99, 102, 241, 0.2);
|
|
}
|
|
|
|
/* Button Dark Mode Styles */
|
|
[data-theme="dark"] .btn-primary {
|
|
background-color: #6366f1;
|
|
color: white;
|
|
border: 1px solid #6366f1;
|
|
}
|
|
|
|
[data-theme="dark"] .btn-primary:hover {
|
|
background-color: #4f46e5;
|
|
border-color: #4f46e5;
|
|
opacity: 1;
|
|
}
|
|
|
|
[data-theme="dark"] .btn-secondary {
|
|
background-color: #374151;
|
|
color: #d1d5db;
|
|
border: 1px solid #4b5563;
|
|
}
|
|
|
|
[data-theme="dark"] .btn-secondary:hover {
|
|
background-color: #4b5563;
|
|
border-color: #6b7280;
|
|
}
|
|
|
|
[data-theme="dark"] .btn-outline {
|
|
background-color: transparent;
|
|
border: 1px solid #6366f1;
|
|
color: #6366f1;
|
|
}
|
|
|
|
[data-theme="dark"] .btn-outline:hover {
|
|
background-color: #6366f1;
|
|
color: white;
|
|
}
|
|
|
|
[data-theme="dark"] .btn:disabled {
|
|
background-color: #374151;
|
|
color: #6b7280;
|
|
border-color: #4b5563;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* Action button dark mode styles */
|
|
[data-theme="dark"] .password-toggle,
|
|
[data-theme="dark"] .password-generate,
|
|
[data-theme="dark"] .detect-location {
|
|
color: #818cf8;
|
|
}
|
|
|
|
[data-theme="dark"] .password-toggle:hover,
|
|
[data-theme="dark"] .password-generate:hover,
|
|
[data-theme="dark"] .detect-location:hover {
|
|
color: #6366f1;
|
|
}
|
|
|
|
/* Focus states for dark mode */
|
|
[data-theme="dark"] .btn:focus-visible {
|
|
outline: 2px solid #818cf8;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.payment-option h4 {
|
|
margin-bottom: 8px;
|
|
font-size: 16px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.payment-option p {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.payment-details {
|
|
display: none;
|
|
margin: 4px 0 16px;
|
|
padding: 16px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.payment-details.active {
|
|
display: block;
|
|
animation: slideDown 0.3s ease-out;
|
|
}
|
|
|
|
.success-message {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.success-icon {
|
|
font-size: 48px;
|
|
color: var(--success-color);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.success-message h3 {
|
|
font-size: 24px;
|
|
margin-bottom: 8px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.success-message p {
|
|
color: var(--text-secondary);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.location-loading {
|
|
display: none;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
margin-top: 4px;
|
|
margin-left: 12px;
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.row .form-group {
|
|
flex: 1;
|
|
}
|
|
|
|
.profile-incomplete {
|
|
background: var(--warning-bg);
|
|
border: 1px solid var(--warning-border);
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
color: var(--warning-text);
|
|
}
|
|
|
|
.password-strength {
|
|
height: 5px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 5px;
|
|
margin-top: 5px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.password-strength-bar {
|
|
height: 100%;
|
|
width: 0;
|
|
border-radius: 5px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.password-weak {
|
|
background: var(--error-color);
|
|
width: 25%;
|
|
}
|
|
|
|
.password-medium {
|
|
background: #ffc107;
|
|
width: 50%;
|
|
}
|
|
|
|
.password-strong {
|
|
background: var(--success-color);
|
|
width: 100%;
|
|
}
|
|
|
|
.password-actions {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.password-toggle, .password-generate, .detect-location {
|
|
background: none;
|
|
border: none;
|
|
color: var(--accent-light);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.password-toggle:hover, .password-generate:hover, .detect-location:hover {
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.form-text {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* Error States */
|
|
.step-error-container {
|
|
background-color: rgba(220, 38, 38, 0.1);
|
|
border: 1px solid rgba(220, 38, 38, 0.3);
|
|
border-radius: 8px;
|
|
padding: 12px 16px;
|
|
margin-bottom: 20px;
|
|
animation: slideDown 0.3s ease-out;
|
|
}
|
|
|
|
[data-theme="dark"] .step-error-container {
|
|
background-color: rgba(220, 38, 38, 0.2);
|
|
border-color: rgba(220, 38, 38, 0.4);
|
|
}
|
|
|
|
.error-message {
|
|
color: var(--error-color);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.error-message::before {
|
|
content: "⚠";
|
|
font-size: 16px;
|
|
}
|
|
|
|
.field-error {
|
|
border: 1px solid var(--error-color) !important;
|
|
background-color: rgba(220, 38, 38, 0.05) !important;
|
|
}
|
|
|
|
[data-theme="dark"] .field-error {
|
|
background-color: rgba(220, 38, 38, 0.1) !important;
|
|
}
|
|
|
|
.additional-info-heading {
|
|
margin-top: 24px;
|
|
margin-bottom: 16px;
|
|
border-top: 1px solid #e5e7eb;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* Scrollbar Styling */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--bg-secondary);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border-color);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--text-muted);
|
|
}
|
|
|
|
[data-theme="dark"] ::-webkit-scrollbar-thumb {
|
|
background: var(--border-dark);
|
|
}
|
|
|
|
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
|
|
background: var(--text-secondary);
|
|
}
|
|
|
|
.btn:focus-visible,
|
|
.input-field:focus-visible,
|
|
.select-field:focus-visible,
|
|
.payment-option:focus-visible {
|
|
outline: 2px solid var(--accent-light);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Selection Color */
|
|
::selection {
|
|
background-color: rgba(99, 102, 241, 0.3);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
|
|
/* Responsive styles */
|
|
@media (min-width: 1024px) {
|
|
.sidebar {
|
|
display: flex;
|
|
}
|
|
.mobile-progress {
|
|
display: none;
|
|
}
|
|
|
|
.form-title-sec {
|
|
font-size: 40px;
|
|
margin-bottom: 40px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1023px) {
|
|
[data-theme="dark"] .mobile-progress {
|
|
background-color: var(--bg-card);
|
|
border: 1px solid var(--border-dark);
|
|
}
|
|
|
|
.mobile-progress .step {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
[data-theme="dark"] .mobile-progress .step {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
}
|
|
|
|
@media print {
|
|
[data-theme="dark"] {
|
|
--bg-primary: #ffffff;
|
|
--bg-card: #ffffff;
|
|
--text-primary: #000000;
|
|
--text-secondary: #333333;
|
|
--border-color: #cccccc;
|
|
}
|
|
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
|
|
.btn {
|
|
display: none;
|
|
}
|
|
} |