/* Main Styles */ body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #4DA8DA; color: #1e293b; line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; padding: 1rem; } /* Header Styles */ .header { text-align: center; margin-bottom: 2rem; } .header h1 { font-size: 2rem; font-weight: 800; color: #1e293b; } .header p { color: #eee; font-weight: 400; } /* Database Container */ .database-container { background-color: #eee; border-radius: 0.7rem; box-shadow: 0 5px 3px rgba(0,0,0,0.1); padding: 1.5rem; margin-bottom: 2rem; } .database-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .database-header .h2 { font-size: 1.35rem; font-weight: 800; color: #3b82f6; } .count-container { display: flex; align-items: center; gap: 0.5rem; } #numbersCount { background-color: #e0f2fe; color: #0369a1; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; } #lastUpdated { font-size: 0.75rem; color: #64748b; } /* Numbers Grid */ .numbers-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 0.75rem; min-height: 8rem; } @media (min-width: 640px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 768px) { .numbers-grid { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 1024px) { .numbers-grid { grid-template-columns: repeat(4, 1fr); } } .number-card { background-color: white; border-radius: 0.375rem; padding: 1rem; text-align: center; transition: all 0.2s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border: 1px solid #e2e8f0; } .number-card:hover { transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0,0,0,0.1); } .number-card .number { font-size: 1.125rem; font-weight: 500; margin-bottom: 0.25rem; } .number-card .date { font-size: 0.75rem; color: #64748b; } .loading-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 0; color: #94a3b8; } .loading-state i { font-size: 2rem; margin-bottom: 0.5rem; } .loading-state p { margin-top: 0.5rem; } /* Controls */ .controls { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; background-color: #ffff; border-radius: 0.75rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); padding: 1.5rem; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1rem; border-radius: 0.375rem; font-weight: 700; transition: all 0.2s ease; cursor: pointer; border: none; } .btn i { margin-right: 0.5rem; } .btn-primary { background-color: #3b82f6; color: white; } .btn-primary:hover { background-color: #2563eb; } .btn-danger { background-color: #ef4444; color: white; } .btn-danger:hover { background-color: #dc2626; } .btn-secondary { background-color: #e2e8f5; color: #1e293b; } .btn-secondary:hover { background-color: #cbd5e1; } /* Modals */ .modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; z-index: 999; display: none; } .modal.show { display: flex; } .modal-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5); } .modal-content { position: relative; background-color: white; border-radius: 0.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); width: 100%; max-width: 28rem; margin: 1rem; animation: fadeIn 0.3s ease-out; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid #e2e8f0; } .modal-header h3 { font-size: 1.25rem; font-weight: 800; } .modal-header button { background: none; border: none; font-size: 1.5rem; color: #64748b; cursor: pointer; } .modal-body { padding: 1.5rem; } .modal-footer { display: flex; justify-content: flex-end; gap: 0.75rem; padding: 1.25rem 1.5rem; border-top: 1px solid #e2e8f0; } .form-group { margin-bottom: 1rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 700; color: #334155; left: 0; } .input-group { position: relative; } .input-group input { width: 100%; padding: 0.5rem 0.75rem; border-radius: 0.375rem; border: 1px solid #cbd5e1; transition: border-color 0.2s ease; } .input-group input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } .input-group button { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: #64748b; cursor: pointer; } .preview-box { background-color: #f1f5f9; border-radius: 0.375rem; padding: 0.75rem; margin-top: 0.5rem; display: none; } .preview-box.show { display: block; } .preview-box small { font-size: 0.75rem; color: #64748b; } .preview-number { font-weight: 500; margin-top: 0.25rem; } .error-message { color: #dc2626; font-size: 0.875rem; margin-top: 0.5rem; display: none; } .error-message.show { display: block; } /* Animations */ @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } @keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .shake { animation: shake 0.5s; } .animate-pulse { animation: pulse 1.5s infinite; } /* Toast */ .toast { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000; display: none; } .toast.show { display: block; animation: fadeIn 0.3s ease-out; } .toast-content { background-color: #1e293b; color: white; padding: 0.75rem 1.25rem; border-radius: 0.375rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 0.75rem; } .toast-content.success { background-color: #059669; } .toast-content.error { background-color: #dc2626; } .toast-content.warning { background-color: #d97706; } .toast-content i { font-size: 1.25rem; } .copyright { bottom : 0; position: relative; text-align: center; color: black; } .copyright p { bottom: 0; position: relative; text-align: center; font-weight: 800; margin-bottom: 10px; } .bujug { bottom: 0; position: relative; text-align: center; font-weight: 400; color: #333; font-size: 8px; }