:root {
  --primary: #0066ff;
  --primary-light: #4d9aff;
  --primary-dark: #0047b3;
  --secondary: #50c8fc;
  --secondary-light: #8fdfff;
  --secondary-dark: #0095d9;
  --text-dark: #333333;
  --text-light: #666666;
  --danger: #ff3b30;
  --warning: #ffcc00;
  --success: #34c759;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-full {
  height: 50px;
}

.sidebar {
  width: 280px;
  transition: all 0.3s;
}

.sidebar.collapsed {
  width: 80px;
}

.sidebar-item {
  transition: all 0.2s;
}

.sidebar-item:hover {
  background-color: rgba(0, 102, 255, 0.1);
}

.sidebar-item.active {
  background-color: rgba(0, 102, 255, 0.2);
  border-left: 4px solid var(--primary);
}

.card {
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-danger {
  background-color: var(--danger);
  color: white;
}

.btn-danger:hover {
  background-color: #cc2f26;
}

.btn-warning {
  background-color: var(--warning);
  color: var(--text-dark);
}

.btn-warning:hover {
  background-color: #d9ad00;
}

.btn-success {
  background-color: var(--success);
  color: white;
}

.btn-success:hover {
  background-color: #2ca64c;
}

.contract-expiring {
  border-left: 4px solid var(--warning);
}

.contract-expired {
  border-left: 4px solid var(--danger);
}

.urgent {
  border-left: 4px solid var(--danger);
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 4px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -280px;
    z-index: 40;
    height: 100vh;
  }

  .sidebar.open {
    left: 0;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 30;
  }

  .overlay.active {
    display: block;
  }
}
