va-tracker-middleware/public/css/va-register.css

478 lines
7.9 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: 280px;
background: linear-gradient(to bottom, #0b57d0bd, #0b57d0d6, #0b57d0);
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;
}
.logo-placeholder h2 {
font-size: 32px;
font-weight: 700;
color: #000;
text-align: center;
}
.form-title-sec {
font-size: 24px;
font-weight: 700;
color: #000;
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;
}
.step.active {
border-color: #000000;
}
.step.completed .step-number {
background-color: #000000;
border-color: #000000;
color: white;
}
.step-number {
width: 34px;
height: 34px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid #00000070;
font-weight: 600;
color: #000000b5;
transition: all 0.3s ease;
}
.step.active .step-number {
border-color: #000;
color: #000;
}
.step-text {
font-size: 14px;
color: #000000b5;
}
.step.active .step-text {
color: #000;
}
.step-connector {
height: 24px;
width: 2px;
background-color: #00000070;
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;
position: relative;
}
.input-container {
position: relative;
background-color: #f9fafb;
border-radius: 6px;
overflow: hidden;
padding: 2px 0;
}
.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: 18px 12px 14px;
border: none;
background: transparent;
outline: none;
font-size: 14px;
border-radius: 6px;
}
.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;
}
.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: #000000;
color: white;
}
.btn-primary:hover {
opacity: 0.9;
}
.btn-secondary {
background-color: #f3f4f6;
color: #374151;
}
.btn-secondary:hover {
background-color: #e5e7eb;
}
.btn-outline {
background-color: transparent;
border: 1px solid #070065;
color: #070065;
}
.btn-outline:hover {
background-color: #070065;
color: white;
}
.btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.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: #000000;
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: 4px 0 16px;
padding: 16px;
border: 1px solid #e5e7eb;
border-radius: 8px;
background-color: #bdbdbd;
}
.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;
margin-left: 12px;
position: absolute;
bottom: 0;
}
.row {
display: flex;
gap: 12px;
}
.row .form-group {
flex: 1;
}
.profile-incomplete {
background: #fff3cd;
border: 1px solid #ffeaa7;
border-radius: 8px;
padding: 1rem;
margin-bottom: 1.5rem;
color: #856404;
}
.password-strength {
height: 5px;
background: #e9ecef;
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: #dc3545;
width: 25%;
}
.password-medium {
background: #ffc107;
width: 50%;
}
.password-strong {
background: #28a745;
width: 100%;
}
.password-actions {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 8px;
}
.password-toggle {
background: none;
border: none;
color: #070065;
cursor: pointer;
font-size: 12px;
}
.password-generate {
background: none;
border: none;
color: #070065;
cursor: pointer;
font-size: 12px;
}
.form-text {
font-size: 12px;
color: #6b7280;
margin-top: 4px;
}
.detect-location {
background: none;
border: none;
color: #070065;
cursor: pointer;
font-size: 12px;
text-decoration: underline;
margin-top: 5px;
}
/* Responsive styles */
@media (min-width: 1024px) {
.sidebar {
display: flex;
}
.mobile-progress {
display: none;
}
.form-title-sec {
font-size: 40px;
margin-bottom: 40px;
}
}