/* Auth styles for OxiCloud */ .auth-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; width: 100%; background-color: #f5f7fa; } .auth-panel { width: 400px; max-width: 90%; margin: 0 auto; background-color: white; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); padding: 30px; text-align: center; } .auth-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; } .auth-logo-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #ff5e3a 0%, #ff2d55 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-right: 10px; box-shadow: 0 4px 12px rgba(255, 94, 58, 0.3); } .auth-logo-icon svg { width: 30px; height: 30px; fill: white; } .auth-logo-text { font-size: 24px; font-weight: bold; color: #2a3042; } .auth-title { font-size: 20px; font-weight: bold; margin-bottom: 25px; color: #2a3042; } .auth-form { width: 100%; text-align: left; [dir='rtl'] & { text-align: right; } } .auth-input-group { margin-bottom: 20px; } .auth-label { display: block; margin-bottom: 8px; font-size: 14px; color: #4b5563; font-weight: 500; } .auth-input { width: 100%; padding: 12px 15px; border-radius: 8px; border: 1px solid #e2e8f0; font-size: 14px; background-color: #f9fafb; transition: border-color 0.2s; } .auth-input:focus { outline: none; border-color: #ff5e3a; box-shadow: 0 0 0 3px rgba(255, 94, 58, 0.1); } .auth-button { width: 100%; padding: 12px 15px; border-radius: 10px; background: linear-gradient(135deg, #ff5e3a 0%, #ff2d55 100%); color: white; font-weight: bold; border: none; cursor: pointer; font-size: 16px; transition: all 0.3s ease; margin-top: 10px; box-shadow: 0 4px 12px rgba(255, 94, 58, 0.3); } .auth-button:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255, 94, 58, 0.4); filter: brightness(1.05); } .auth-button:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(255, 94, 58, 0.3); } .auth-button:disabled { background-color: #f9a799; cursor: not-allowed; } .auth-toggle { margin-top: 20px; font-size: 14px; color: #718096; } .auth-toggle-link { color: #ff5e3a; cursor: pointer; text-decoration: none; font-weight: 500; } .auth-toggle-link:hover { text-decoration: underline; } .auth-error { background-color: #fee2e2; color: #b91c1c; padding: 10px 15px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; display: none; } .auth-success { background-color: #dcfce7; color: #15803d; padding: 10px 15px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; display: none; } /* Admin setup panel styles */ .admin-setup-panel { display: none; } .setup-steps { margin-bottom: 25px; display: flex; justify-content: space-between; } .setup-step { display: flex; flex-direction: column; align-items: center; width: 30%; } .step-number { width: 30px; height: 30px; background-color: #e2e8f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #64748b; font-weight: bold; margin-bottom: 5px; } .step-number.active { background-color: #ff5e3a; color: white; } .step-title { font-size: 12px; color: #64748b; } .step-title.active { color: #1e293b; font-weight: 500; } /* Language selector panel styles */ .language-selector-panel { text-align: center; } /* Auto-detected language banner */ .lang-autodetected { display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border: 1px solid #bbf7d0; border-radius: 8px; padding: 10px 16px; margin-bottom: 16px; color: #16a34a; font-size: 14px; font-weight: 500; } .lang-autodetected i { font-size: 14px; } .language-subtitle { color: #64748b; font-size: 16px; margin-bottom: 30px; } .language-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; } .language-option { display: flex; align-items: center; padding: 15px 20px; border: 2px solid #e2e8f0; border-radius: 10px; cursor: pointer; transition: all 0.2s ease; background-color: #f9fafb; } .language-option:hover { border-color: #ff5e3a; background-color: #fff; } .language-option.selected { border-color: #ff5e3a; background-color: #fff5f3; } .language-option input[type="radio"] { display: none; } .language-radio { width: 22px; height: 22px; border: 2px solid #cbd5e1; border-radius: 50%; margin-right: 15px; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; } .language-option.selected .language-radio { border-color: #ff5e3a; } .language-radio::after { content: ''; width: 12px; height: 12px; background-color: #ff5e3a; border-radius: 50%; opacity: 0; transition: opacity 0.2s ease; } .language-option.selected .language-radio::after { opacity: 1; } .language-flag { font-size: 28px; margin-right: 15px; } .language-name { font-size: 16px; font-weight: 500; color: #1e293b; } .language-native { font-size: 14px; color: #64748b; margin-left: auto; } /* "More languages" button */ .lang-more-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; margin-bottom: 20px; border: 1px dashed #cbd5e1; border-radius: 10px; background: transparent; color: #64748b; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .lang-more-btn:hover { border-color: #ff5e3a; color: #ff5e3a; background: #fff5f3; } .lang-more-btn i { font-size: 16px; } /* ====== Language Modal ====== */ .lang-modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 20px; animation: fadeIn 0.2s ease; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .lang-modal { background: #fff; border-radius: 16px; width: 100%; max-width: 480px; max-height: 70vh; display: flex; flex-direction: column; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25); animation: slideUp 0.25s ease; } @keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .lang-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 12px; } .lang-modal-header h3 { margin: 0; font-size: 18px; font-weight: 600; color: #1e293b; } .lang-modal-close { background: none; border: none; font-size: 24px; color: #94a3b8; cursor: pointer; padding: 4px 8px; border-radius: 6px; line-height: 1; transition: all 0.15s; } .lang-modal-close:hover { background: #f1f5f9; color: #475569; } .lang-modal-search { position: relative; padding: 0 24px 12px; } .lang-modal-search i { position: absolute; left: 38px; top: 12px; color: #94a3b8; font-size: 14px; } .lang-modal-search input { width: 100%; padding: 10px 14px 10px 36px; border: 2px solid #e2e8f0; border-radius: 10px; font-size: 14px; outline: none; transition: border-color 0.2s; box-sizing: border-box; } .lang-modal-search input:focus { border-color: #ff5e3a; } .lang-modal-list { overflow-y: auto; padding: 0 12px 16px; flex: 1; } .lang-modal-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; cursor: pointer; transition: all 0.15s; } .lang-modal-item:hover { background: #f8fafc; } .lang-modal-item.selected { background: #fff5f3; } .lang-modal-flag { font-size: 24px; flex-shrink: 0; } .lang-modal-native { font-size: 15px; font-weight: 500; color: #1e293b; } .lang-modal-english { font-size: 13px; color: #94a3b8; margin-left: auto; } .lang-modal-check { color: #ff5e3a; font-size: 14px; flex-shrink: 0; } .lang-modal-empty { text-align: center; color: #94a3b8; padding: 30px; font-size: 14px; } @media (max-width: 480px) { .auth-panel { width: 90%; padding: 20px; } .language-option { padding: 12px 15px; } .language-flag { font-size: 24px; } .lang-modal { max-height: 80vh; } .lang-autodetected { font-size: 13px; padding: 8px 12px; } }