* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #080808; color: #F0EFE8; font-family: 'DM Sans', sans-serif; padding: 1rem; }
.container { max-width: 550px; margin: 0 auto; }

/* Cards & Layout */
.card { background: #101010; border: 1px solid #252525; border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.hidden { display: none !important; }

/* Typography & Badges */
.badge { display: inline-block; padding: 4px 8px; border-radius: 20px; font-size: 11px; background: rgba(232,255,71,.1); color: #E8FF47; }
.debug-log { font-size: 10px; color: #888; margin-top: 5px; word-break: break-all; }
.contact-footer { margin-top: 20px; padding: 12px; text-align: center; border-top: 1px solid #252525; font-size: 12px; color: #888; }
.contact-footer a { color: #E8FF47; text-decoration: none; font-weight: 600; }

/* Inputs & Buttons */
input, select, textarea { width: 100%; padding: 12px; margin-bottom: 12px; background: #181818; border: 1px solid #303030; border-radius: 8px; color: #fff; }
textarea { resize: vertical; }
.btn { background: #E8FF47; color: #000; border: none; padding: 12px; border-radius: 8px; font-weight: 600; cursor: pointer; width: 100%; font-size: 16px; }
.btn-secondary { background: transparent; border: 1px solid #303030; color: #fff; }
.btn-danger { background: #FF4F30; color: #fff; }
.btn-small { background: #E8FF47; color: #000; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 600; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Toggles & Loading */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #101010; border: 1px solid #303030; border-radius: 8px; padding: 10px 20px; z-index: 1000; max-width: 90%; }
.loading-spinner { width: 40px; height: 40px; border: 3px solid #303030; border-top-color: #E8FF47; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Modals */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; z-index: 10000; }
.modal-overlay.active { display: flex; }
.rating-modal { background: #101010; border: 1px solid #303030; border-radius: 20px; padding: 24px; width: 90%; max-width: 350px; text-align: center; }

/* Shared Features */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.feature-item { background: #181818; border-radius: 8px; padding: 8px; text-align: center; }
.profile-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #252525; }
.profile-photo-large { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: #252525; }

/* Panic Button Shared */
.panic-btn { background: #FF4F30; color: #fff; border: none; padding: 12px; border-radius: 8px; font-weight: 700; cursor: pointer; width: 100%; font-size: 16px; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.3s ease; }
.panic-btn:hover { background: #ff1a00; transform: scale(1.02); }