357 lines
6.4 KiB
CSS
357 lines
6.4 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
|
}
|
|
|
|
body {
|
|
background-color: #fff;
|
|
color: #333;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
height: 100vh;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Sidebar Styles */
|
|
.sidebar {
|
|
display: none;
|
|
flex-direction: column;
|
|
width: 344px;
|
|
background: linear-gradient(to bottom, #f4f4f5, #d0f9f9, #cac5f7);
|
|
padding: 24px;
|
|
border-radius: 14px;
|
|
margin: 20px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 32px;
|
|
}
|
|
.logo-placeholder img{
|
|
width: 100%;
|
|
height: auto;
|
|
max-width: 196px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.step.active {
|
|
border-color: #070065;
|
|
}
|
|
|
|
.step.completed .step-number {
|
|
background-color: #070065;
|
|
border-color: #070065;
|
|
color: white;
|
|
}
|
|
|
|
.step-number {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 2px solid #a1a1aa;
|
|
font-weight: 600;
|
|
color: #a1a1aa;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.step.active .step-number {
|
|
border-color: #000;
|
|
color: #000;
|
|
}
|
|
|
|
.step-text {
|
|
font-size: 14px;
|
|
color: #a1a1aa;
|
|
}
|
|
|
|
.step.active .step-text {
|
|
color: #000;
|
|
}
|
|
|
|
.step-connector {
|
|
height: 24px;
|
|
width: 2px;
|
|
background-color: #a1a1aa;
|
|
margin-left: 16px;
|
|
position: absolute;
|
|
top: 46px;
|
|
left: 12px;
|
|
}
|
|
|
|
.step.active .step-connector {
|
|
background-color: #000;
|
|
}
|
|
|
|
/* Main Content Styles */
|
|
.main-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.mobile-progress {
|
|
background-color: #f4f4f5;
|
|
padding: 16px;
|
|
border-radius: 12px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.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: white;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
padding: 24px;
|
|
}
|
|
|
|
.form-title {
|
|
text-align: center;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 24px;
|
|
color: #000;
|
|
}
|
|
|
|
.form-step {
|
|
display: none;
|
|
}
|
|
|
|
.form-step.active {
|
|
display: block;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.input-container {
|
|
position: relative;
|
|
background-color: #f9fafb;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.input-label {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
font-size: 14px;
|
|
color: #6b7280;
|
|
transition: all 0.2s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.input-field, .select-field {
|
|
width: 100%;
|
|
padding: 16px 12px;
|
|
border: none;
|
|
background: transparent;
|
|
outline: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.checkbox-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.checkbox-group input {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.checkbox-group label {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.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: #070065;
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: #f3f4f6;
|
|
color: #374151;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: #e5e7eb;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.payment-option {
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
margin-bottom: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.payment-option.selected {
|
|
border-color: #070065;
|
|
background-color: #f0f9ff;
|
|
}
|
|
|
|
.payment-option h4 {
|
|
margin-bottom: 8px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.payment-option p {
|
|
font-size: 14px;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.payment-details {
|
|
display: none;
|
|
margin-top: 16px;
|
|
padding: 16px;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
background-color: #f9fafb;
|
|
}
|
|
|
|
.payment-details.active {
|
|
display: block;
|
|
}
|
|
|
|
.success-message {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.success-icon {
|
|
font-size: 48px;
|
|
color: #10b981;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.success-message h3 {
|
|
font-size: 24px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.success-message p {
|
|
color: #6b7280;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.location-loading {
|
|
display: none;
|
|
font-size: 12px;
|
|
color: #6b7280;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.row .form-group {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Responsive styles */
|
|
@media (min-width: 1024px) {
|
|
.sidebar {
|
|
display: flex;
|
|
}
|
|
.mobile-progress {
|
|
display: none;
|
|
}
|
|
} |