/* ==========================================================================
   Kulo Property - Custom Anti-Slop Profile & Dashboard Styling
   ========================================================================== */

/* Animation Keyframes */
@keyframes profileFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes profilePopIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-reveal {
  animation: profileFadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-pop {
  animation: profilePopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Base Body Alignment */
body {
  background-color: #f8fafc;
  color: #0f172a;
}

/* ── Hero Profile Executive Card ────────────────────────────────────────── */
.kulo-hero-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 3px solid #f59e0b;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.kulo-hero-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Avatar Frame */
.kulo-avatar-frame {
  width: 92px;
  height: 92px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #334155, #0f172a);
  border: 3px solid #334155;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.kulo-avatar-frame:hover {
  transform: scale(1.03);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.5);
}

/* Stat Card */
.kulo-stat-card {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.kulo-stat-card:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ── Action Cards (Akses Cepat & Layanan) ──────────────────────────────── */
.kulo-action-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.25rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
}

.kulo-action-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
}

.kulo-action-card:active {
  transform: translateY(-1px);
}

/* Icon Containers */
.kulo-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.kulo-action-card:hover .kulo-icon-box {
  transform: scale(1.08);
}

/* ── Staff Banner ──────────────────────────────────────────────────────── */
.kulo-staff-banner {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
}

/* ── Tab Navigation ────────────────────────────────────────────────────── */
.kulo-nav-tab {
  padding: 0.625rem 1.25rem;
  border-radius: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  background-color: transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.kulo-nav-tab:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.kulo-nav-tab.active {
  color: #ffffff;
  background-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* ── Form Inputs & Focus Rings ──────────────────────────────────────────── */
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #0f172a !important;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12) !important;
}

/* Buttons */
.kulo-btn-primary {
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 700;
  border-radius: 0.875rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.kulo-btn-primary:hover {
  background-color: #1e293b;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}

.kulo-btn-primary:active {
  transform: translateY(0);
}

.kulo-btn-amber {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  font-weight: 700;
  border-radius: 0.875rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

.kulo-btn-amber:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  transform: translateY(-1px);
}
