* { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background: #f0f2f5;
            color: #1a1a2e;
            min-height: 100vh;
            padding-bottom: 20px;
        }
        .app-container { max-width: 480px; margin: 0 auto; padding: 16px; }
        
        /* ===== HEADER ===== */
        .header {
            background: linear-gradient(135deg, #0f1724 0%, #1a2a3a 100%);
            border-radius: 20px;
            padding: 20px;
            color: white;
            margin-bottom: 16px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        }
        .header-top { display: flex; justify-content: space-between; align-items: center; }
        .header-title { font-size: 22px; font-weight: 900; letter-spacing: -0.5px; }
        .header-title span { color: #4ade80; }
        .header-status {
            display: flex; align-items: center; gap: 8px;
            font-size: 11px; font-weight: 700;
            background: rgba(255,255,255,0.1);
            padding: 4px 12px; border-radius: 20px;
        }
        .status-dot {
            width: 8px; height: 8px; border-radius: 50%;
            display: inline-block;
            animation: pulse-dot 2s infinite;
        }
        .status-dot.online { background: #4ade80; }
        .status-dot.offline { background: #f87171; }
        @keyframes pulse-dot {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }
        .header-deliman { margin-top: 12px; font-size: 14px; opacity: 0.8; }
        .header-deliman strong { color: #4ade80; }
        
        /* ===== CARD ===== */
        .card {
            background: white;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 16px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.06);
            border: 1px solid rgba(0,0,0,0.04);
        }
        .card-title {
            font-size: 14px; font-weight: 700; color: #1a1a2e;
            margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
        }
        .card-title .icon { font-size: 18px; }
        
        /* ===== FORM ===== */
        .form-group { margin-bottom: 14px; }
        .form-label {
            display: block; font-size: 12px; font-weight: 700;
            color: #4a4a6a; margin-bottom: 4px;
            text-transform: uppercase; letter-spacing: 0.5px;
        }
        .form-input {
            width: 100%; padding: 12px 14px;
            border: 2px solid #e8ecf1; border-radius: 12px;
            font-size: 15px; font-weight: 500;
            outline: none; transition: all 0.2s;
            background: #fafbfc;
        }
        .form-input:focus {
            border-color: #16a34a;
            background: white;
            box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
        }
        .form-input:disabled { opacity: 0.6; cursor: not-allowed; }
        
        /* ===== BUTTONS ===== */
        .btn {
            display: inline-flex; align-items: center; justify-content: center;
            gap: 8px; padding: 14px 24px; border: none;
            border-radius: 12px; font-size: 14px; font-weight: 700;
            cursor: pointer; transition: all 0.2s;
            width: 100%; text-decoration: none;
            touch-action: manipulation;
        }
        .btn:active { transform: scale(0.97); }
        .btn-primary {
            background: #16a34a; color: white;
            box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
        }
        .btn-primary:hover { background: #15803d; }
        .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
        .btn-success {
            background: #25D366; color: white;
            box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
        }
        .btn-success:hover { background: #1da851; }
        .btn-black { background: #1a1a2e; color: white; }
        .btn-black:hover { background: #2a2a4e; }
        .btn-outline {
            background: transparent; border: 2px solid #e8ecf1; color: #1a1a2e;
        }
        .btn-outline:hover { border-color: #16a34a; color: #16a34a; }
        .btn-danger { background: #ef4444; color: white; }
        .btn-sm { padding: 10px 16px; font-size: 12px; }
        .btn-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
        
        /* ===== STEPS ===== */
        .steps {
            display: flex; justify-content: space-between;
            align-items: center; margin-bottom: 20px;
            padding: 0 4px;
        }
        .step-item {
            display: flex; flex-direction: column;
            align-items: center; gap: 4px;
            flex: 1; position: relative; cursor: pointer;
        }
        .step-circle {
            width: 40px; height: 40px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-weight: 700; font-size: 14px;
            border: 3px solid #e8ecf1;
            background: white; color: #a0a0b8;
            transition: all 0.3s; position: relative; z-index: 1;
        }
        .step-circle.active {
            border-color: #16a34a; background: #16a34a;
            color: white; box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
        }
        .step-circle.done {
            border-color: #16a34a; background: #16a34a; color: white;
        }
        .step-label {
            font-size: 9px; font-weight: 700; text-transform: uppercase;
            color: #a0a0b8; letter-spacing: 0.5px;
        }
        .step-label.active { color: #16a34a; }
        .step-line {
            flex: 1; height: 3px; background: #e8ecf1;
            margin: 0 -4px; position: relative;
            top: -20px; z-index: 0;
        }
        .step-line.done { background: #16a34a; }
        
        /* ===== PHOTO ===== */
        .photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        .photo-box {
            aspect-ratio: 4/3;
            border: 2px dashed #d1d5db;
            border-radius: 12px;
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
            cursor: pointer; transition: all 0.2s;
            background: #fafbfc; overflow: hidden;
            position: relative;
        }
        .photo-box.has-photo {
            border-color: #16a34a; border-style: solid;
            background: #f0fdf4;
        }
        .photo-box img { width: 100%; height: 100%; object-fit: cover; }
        .photo-box .placeholder {
            font-size: 11px; color: #9ca3af;
            text-align: center; padding: 8px;
        }
        .photo-box .placeholder .big-icon { font-size: 32px; display: block; margin-bottom: 4px; }
        .photo-box .remove-btn {
            position: absolute; top: 4px; right: 4px;
            background: rgba(239, 68, 68, 0.9);
            color: white; border: none; border-radius: 50%;
            width: 24px; height: 24px; font-size: 12px;
            cursor: pointer; display: flex;
            align-items: center; justify-content: center;
        }
        
        /* ===== LOCATION ===== */
        .location-card {
            background: #0f1724;
            border-radius: 12px;
            padding: 16px;
            color: white;
            margin-top: 12px;
        }
        .location-card .label {
            font-size: 10px; text-transform: uppercase;
            letter-spacing: 1px; opacity: 0.6;
            font-weight: 700;
        }
        .location-card .coords {
            font-family: 'Courier New', monospace;
            font-size: 14px; font-weight: 600;
            margin: 4px 0;
        }
        .location-card .time { font-size: 12px; opacity: 0.6; }
        
        /* ===== SIGNATURE ===== */
        .signature-area {
            border: 2px dashed #d1d5db;
            border-radius: 12px;
            height: 160px;
            background: white;
            touch-action: none;
            cursor: crosshair;
            position: relative;
            overflow: hidden;
        }
        .signature-area canvas {
            width: 100%; height: 100%;
            display: block; touch-action: none;
        }
        .signature-area .placeholder {
            position: absolute; top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            color: #9ca3af; font-size: 13px;
            pointer-events: none;
        }
        .signature-actions {
            display: flex; gap: 10px; margin-top: 10px;
        }
        .signature-actions .btn { flex: 1; }
        
        /* ===== LOG ===== */
        .log-item {
            display: flex; gap: 12px; padding: 12px;
            background: #f8fafc; border-radius: 12px;
            margin-bottom: 8px; border-left: 4px solid #16a34a;
            cursor: pointer; transition: all 0.2s;
        }
        .log-item:hover { background: #f1f5f9; }
        .log-item .log-date {
            font-size: 11px; color: #6b7280;
            font-weight: 600; min-width: 70px;
        }
        .log-item .log-info { flex: 1; }
        .log-item .log-info .name { font-weight: 700; font-size: 14px; }
        .log-item .log-info .detail { font-size: 12px; color: #6b7280; }
        .log-item .log-status {
            font-size: 10px; font-weight: 700;
            padding: 2px 10px; border-radius: 20px;
            background: #dcfce7; color: #16a34a;
            align-self: center;
        }
        
        /* ===== FOOTER ===== */
        .footer {
            text-align: center; padding: 24px 16px 8px;
            font-size: 12px; color: #6b7280;
            border-top: 1px solid #e8ecf1; margin-top: 16px;
        }
        .footer .heart { color: #ef4444; }
        .footer .name { color: #1a1a2e; font-weight: 700; }
        .footer .social-links {
            display: flex; flex-wrap: wrap;
            justify-content: center; gap: 6px; margin-top: 8px;
        }
        .footer .social-links a {
            color: #6b7280; text-decoration: none; font-size: 11px;
            padding: 2px 10px; border-radius: 12px;
            background: #f1f5f9; transition: all 0.2s;
        }
        .footer .social-links a:hover { background: #16a34a; color: white; }
        .footer .ai-credit {
            margin-top: 10px; padding: 12px;
            background: linear-gradient(135deg, #0f1724, #1a2a3a);
            border-radius: 12px; color: white; font-size: 11px;
        }
        .footer .ai-credit .whale {
            font-size: 28px; display: inline-block;
            animation: swim 3s ease-in-out infinite;
        }
        @keyframes swim {
            0%, 100% { transform: translateX(0); }
            50% { transform: translateX(8px); }
        }
        
        /* ===== MODAL ===== */
        .modal-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
            display: flex; align-items: center; justify-content: center;
            z-index: 1000; padding: 16px;
            animation: fadeIn 0.2s ease;
        }
        .modal-content {
            background: white; border-radius: 20px;
            max-width: 480px; width: 100%; max-height: 90vh;
            overflow-y: auto; padding: 24px;
            animation: slideUp 0.3s ease;
        }
        .modal-content .modal-title {
            font-size: 18px; font-weight: 700; margin-bottom: 12px;
        }
        .modal-content .modal-close {
            float: right; background: none; border: none;
            font-size: 24px; cursor: pointer; color: #6b7280;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes slideUp {
            from { transform: translateY(30px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        
        /* ===== TOAST ===== */
        .toast {
            position: fixed; bottom: 24px; left: 50%;
            transform: translateX(-50%);
            background: #1a1a2e; color: white;
            padding: 12px 24px; border-radius: 16px;
            font-weight: 600; font-size: 14px;
            z-index: 2000; max-width: 90%; text-align: center;
            box-shadow: 0 8px 32px rgba(0,0,0,0.2);
            border: 1px solid rgba(255,255,255,0.1);
            animation: slideUp 0.3s ease;
        }
        
        /* ===== HIDDEN ===== */
        .hidden-input { display: none; }
        
        /* ===== SCROLLBAR ===== */
        ::-webkit-scrollbar { width: 4px; height: 4px; }
        ::-webkit-scrollbar-track { background: #f1f1f1; }
        ::-webkit-scrollbar-thumb { background: #16a34a; border-radius: 4px; }
        
        /* ===== BADGE ===== */
        .badge {
            display: inline-block; padding: 2px 10px;
            border-radius: 12px; font-size: 10px; font-weight: 700;
        }
        .badge-green { background: #dcfce7; color: #16a34a; }
        .badge-orange { background: #fef3c7; color: #d97706; }
        
        /* ===== UTILITY ===== */
        .text-center { text-align: center; }
        .mt-8 { margin-top: 8px; }
        .mt-12 { margin-top: 12px; }
        .mt-16 { margin-top: 16px; }
        .mt-20 { margin-top: 20px; }
        .gap-8 { gap: 8px; }
        .flex { display: flex; }
        .flex-col { flex-direction: column; }
        .items-center { align-items: center; }
        .justify-between { justify-content: space-between; }
        .gap-4 { gap: 4px; }
        
        /* ===== RESPONSIVE ===== */
        @media (max-width: 400px) {
            .app-container { padding: 10px; }
            .card { padding: 14px; }
            .header { padding: 14px; }
            .header-title { font-size: 18px; }
            .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
            .btn-group { grid-template-columns: 1fr; }
            .step-circle { width: 34px; height: 34px; font-size: 12px; }
        }

        /* ===== FOOTER PREMIUM ===== */
.footer-credit-section {
  padding: 1.5rem 0 0.5rem 0;
  text-align: center;
}

.credit-divider {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #d6c8bc, transparent);
  margin-bottom: 1.2rem;
  opacity: 0.6;
}
.dark-mode .credit-divider {
  background: linear-gradient(to right, transparent, #3f554a, transparent);
}

.credit-text {
  font-size: 0.75rem;
  color: #a28d7a;
  line-height: 1.8;
}
.dark-mode .credit-text {
  color: #7e9a88;
}

.credit-text strong {
  color: #3d2c1e;
  font-weight: 600;
}
.dark-mode .credit-text strong {
  color: #d0e0d0;
}

.social-link {
  color: #8b7a6a;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 0 2px;
}
.social-link:hover {
  color: #3d2c1e;
  text-decoration: underline;
}
.dark-mode .social-link {
  color: #a0b8a8;
}
.dark-mode .social-link:hover {
  color: #e0ece0;
}


/* ===== FLOATING WHATSAPP ===== */
.wa-floating {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
  animation: waPulse 2.5s ease-in-out infinite;
  text-decoration: none;
}
.wa-floating:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}
.wa-floating svg {
  width: 30px;
  height: 30px;
  fill: white;
}
