html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background: #f4f6fb;
  min-height: 100vh;
  color: #2c3e50;
  animation: bgmove 12s ease-in-out infinite alternate;
  font-family: 'Segoe UI', Arial, sans-serif;
}

@keyframes bgmove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.card {
  background: rgba(255,255,255,0.97);
  color: #232526;
  transition: transform 0.25s cubic-bezier(.4,2,.3,1), box-shadow 0.25s;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.18);
  border: 1.5px solid #ffb347;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn:active:after {
  width: 200px;
  height: 200px;
  transition: 0s;
}

.table-hover tbody tr:hover {
  background: linear-gradient(90deg, #ffe9c7 0%, #fffbe6 100%);
  color: #232526;
  transition: background 0.2s, color 0.2s;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
  color: #232526;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  margin-left: 12px;
}

.fade-in {
  animation: fadeIn 1s cubic-bezier(.4,2,.3,1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* Navbar sağa hizalı kullanıcı adı */
.navbar-user {
  color: #ffb347;
  font-weight: 600;
  margin-left: 18px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.form-control, .form-select {
  background: #fff;
  color: #232526;
  border: 1px solid #ffb347;
  border-radius: 12px;
}

.form-control:focus, .form-select:focus {
  border-color: #ffb347;
  box-shadow: 0 0 0 0.2rem rgba(255,179,71,.18);
}

h2, h1 {
  color: #ffb347;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer {
  background: #f8fafc;
  color: #ffb347;
  border-top: 2px solid #ffb347;
}

.alert {
  border-radius: 12px;
  color: #232526;
  background: #fffbe6;
  border: 1px solid #ffb347;
}

.container, .main-content, .content-wrapper {
  background: #f0f1f3;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px;
  margin-top: 32px;
}

h1, h2, h3, h4, h5, h6 {
  color: #2c3e50;
  font-weight: 600;
}

label {
  color: #34495e;
  font-weight: 500;
}

.form-control {
  font-size: 1.1rem;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #bfc9d1;
  margin-bottom: 16px;
  background: #f8f9fa;
}

.btn-primary, .btn-success, .btn-danger, .btn-secondary {
  font-size: 1.1rem;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 1px;
  border: none;
}

.btn-primary {
  background: #2c3e50;
}

.btn-success {
  background: #27ae60;
}

.btn-danger {
  background: #c0392b;
}

.btn-secondary {
  background: #7f8c8d;
}

.table {
  background: #f0f1f3;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.alert-danger, .alert-success {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 18px;
}

.navbar, header, footer {
  background: #2c3e50 !important;
  color: #fff !important;
}

.navbar a, .navbar-user, .navbar-brand {
  color: #fff !important;
}

.form-control, input[type="text"], input[type="password"], select, textarea {
  color: #2c3e50;
  background: #f8f9fa;
}

.form-control:focus, input[type="text"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
  color: #2c3e50;
  background: #f0f1f3;
  border-color: #2c3e50;
  outline: none;
  box-shadow: 0 0 0 2px #bfc9d1;
}