* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; }
.hidden { display: none !important; }
.page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.card { background: white; border-radius: 16px; padding: 2rem; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.login-card { width: 100%; max-width: 400px; }
.login-card h1 { text-align: center; margin-bottom: 0.5rem; font-size: 2rem; }
.subtitle { text-align: center; color: #666; margin-bottom: 2rem; }
input { width: 100%; padding: 1rem; margin-bottom: 1rem; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 1rem; transition: border-color 0.3s; }
input:focus { border-color: #667eea; outline: none; }
button { width: 100%; padding: 1rem; border: none; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: all 0.3s; }
.btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(102,126,234,0.4); }
.btn-secondary { background: #f0f0f0; color: #333; }
.register-link { text-align: center; margin-top: 1rem; color: #666; }
.register-link a { color: #667eea; text-decoration: none; }
header { background: white; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
header h1 { font-size: 1.5rem; }
.user-info { display: flex; align-items: center; gap: 1rem; }
.user-info button { width: auto; padding: 0.5rem 1rem; }
#dashboard-page { display: none; flex-direction: column; padding: 0; }
#dashboard-page.page:not(.hidden) { display: flex; }
main { padding: 2rem; max-width: 1200px; margin: 0 auto; flex: 1; }
.actions { margin-bottom: 2rem; }
.actions button { width: auto; padding: 1rem 2rem; }
.numbers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 1.5rem; }
.number-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.number-card h3 { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.number-card .phone { font-size: 1.2rem; color: #667eea; font-weight: 600; }
.number-card .status { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.85rem; margin: 0.5rem 0; }
.status.active { background: #d4edda; color: #155724; }
.status.inactive { background: #f8d7da; color: #721c24; }
.number-card .actions { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.number-card button { width: auto; padding: 0.5rem 1rem; font-size: 0.9rem; }
.modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.modal-content { max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-content h2 { margin-bottom: 1.5rem; }
.modal-actions { display: flex; gap: 1rem; margin-top: 1rem; }
.modal-actions button { flex: 1; }
.sip-detail { background: #f5f5f5; padding: 1rem; border-radius: 8px; margin-bottom: 0.5rem; }
.sip-detail label { display: block; font-size: 0.85rem; color: #666; margin-bottom: 0.25rem; }
.sip-detail code { font-size: 1.1rem; font-family: monospace; word-break: break-all; }
.copy-btn { background: #667eea; color: white; border: none; padding: 0.25rem 0.5rem; border-radius: 4px; cursor: pointer; font-size: 0.8rem; margin-left: 0.5rem; }
