/* components.css */

/* --- Modern Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  height: 3rem;
  border-radius: var(--radius-md); 
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-light);
  border: 1px solid transparent;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-offwhite);
  border-color: rgba(0,0,0,0.15);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--bg-light);
  border: none;
  box-shadow: 0 4px 14px 0 rgba(6, 182, 212, 0.39);
}

.btn-accent:hover {
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.23);
  transform: translateY(-1px);
}

/* --- Premium Cards --- */
.card {
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.1);
}

.card-dark {
  background: var(--glass-bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light-muted);
}

.card-dark h3 {
  color: var(--text-light);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-offwhite);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: var(--space-6);
}

.card-dark .card-icon {
  background: rgba(255,255,255,0.1);
  color: var(--accent-cyan);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

/* --- Floating Dashboard Mockup --- */
.dashboard-mockup {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-floating);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
  z-index: 10;
  transform-origin: center right;
}

@media (min-width: 992px) {
  .dashboard-mockup {
    transform: scale(1.15) translateX(30px);
  }
}

.dashboard-header {
  background: var(--bg-offwhite);
  height: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  padding: 0 var(--space-4);
  gap: 8px;
}

.mac-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 500;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* --- Stats Counter --- */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
}
