/* style.css */
:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --success-color: #2ecc71;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --info-color: #1abc9c;
  --light-color: #ecf0f1;
  --dark-color: #34495e;
  --white: #fff;
  --gray: #95a5a6;
  --light-gray: #f8f9fa;
  --border-radius: 6px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  background-color: var(--light-gray);
  color: var(--dark-color);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 20px;
  padding: 0 15px;
}

.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  margin-bottom: 20px;
}

h1, h2, h3, h4 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

p {
  margin-bottom: 10px;
}

/* Form Elements */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group p {
  padding: 8px 12px;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 14px;
}

.btn-success {
  background: var(--success-color);
}

.btn-success:hover {
  background: #27ae60;
}

.btn-danger {
  background: var(--danger-color);
}

.btn-danger:hover {
  background: #c0392b;
}

.btn-warning {
  background: var(--warning-color);
}

.btn-warning:hover {
  background: #e67e22;
}

.btn-info {
  background: var(--info-color);
}

.btn-info:hover {
  background: #16a085;
}

.btn-secondary {
  background: var(--gray);
}

.btn-secondary:hover {
  background: #7f8c8d;
}

.btn-detail {
  background: var(--secondary-color);
}

.btn-detail:hover {
  background: #1a252f;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--secondary-color);
  color: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-brand {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.navbar-menu {
  display: flex;
  gap: 15px;
}

.navbar-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-menu a:hover {
  opacity: 0.8;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: none;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.applications-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.applications-table th,
.applications-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.applications-table th {
  background-color: var(--light-gray);
  font-weight: 600;
}

.applications-table tr:hover {
  background-color: rgba(52, 152, 219, 0.05);
}

.documents-table {
  width: 100%;
  border-collapse: collapse;
}

.documents-table th,
.documents-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.documents-table th {
  background-color: var(--light-gray);
  font-weight: 600;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.status-sigortaya_basvuru {
    background-color: #3498db;
    color: white;
}

.status-on_kayit_ve_on_inceleme {
    background-color: #9b59b6;
    color: white;
}

.status-hakeme_havale_bilirkisi_atamasi {
    background-color: #f39c12;
    color: white;
}

.status-bilirkisi_raporu_ve_itiraz {
    background-color: #e74c3c;
    color: white;
}

.status-karar {
    background-color: #2ecc71;
    color: white;
}

.status-itiraz_sureci {
    background-color: #34495e;
    color: white;
}

.status-itiraz_karari_ve_icrasi {
    background-color: #16a085;
    color: white;
}

/* Durum badge içindeki ikon */
.status-badge i {
    font-size: 16px;
}

.status-completed {
  background-color: var(--success-color);
}

.status-missing {
  background-color: var(--danger-color);
}

.status-pending {
  background-color: #e67e22;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background-color: var(--primary-color);
  color: var(--white);
}

/* Status Progress */
.status-progress {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 10px;
}

.status-steps {
  display: flex;
  justify-content: space-between;
  min-width: 600px;
  position: relative;
  margin-bottom: 20px;
}

.status-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #ddd;
  z-index: 1;
}

.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  color: var(--white);
}

.step-label {
  font-size: 12px;
  text-align: center;
  color: var(--gray);
}

.status-step.completed .step-icon,
.status-step.active .step-icon {
  background-color: var(--primary-color);
}

.status-step.completed::before,
.status-step.active::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  z-index: 3;
}

.status-step:first-child::before {
  width: 50%;
  left: 50%;
}

.status-step:last-child::before {
  width: 50%;
}

.status-step.active .step-label {
  color: var(--dark-color);
  font-weight: 500;
}

/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.photo-item {
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.photo-thumbnail {
  height: 180px;
  overflow: hidden;
}

.photo-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.photo-thumbnail:hover img {
  transform: scale(1.05);
}

.photo-info {
  padding: 10px;
}

.photo-info h4 {
  margin-bottom: 5px;
  font-size: 16px;
}

/* Alerts */
.alert {
  padding: 15px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-danger {
  background-color: #fdecea;
  color: var(--danger-color);
  border-left: 4px solid var(--danger-color);
}

.alert-success {
  background-color: #e8f5e9;
  color: var(--success-color);
  border-left: 4px solid var(--success-color);
}

.alert-info {
  background-color: #e3f2fd;
  color: var(--primary-color);
  border-left: 4px solid var(--primary-color);
}

/* Button Group */
.btn-group {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

/* Checkbox */
.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 4px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--success-color);
}

.checkmark::after {
  content: "";
  display: none;
  color: white;
}

.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-container .checkmark::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  color: white;
}

/* Links */
.link {
  color: var(--primary-color);
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.link:hover {
  text-decoration: underline;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Search Form */
.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.search-form button,
.search-form a {
  align-self: end;
}

/* Add Form */
.add-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* Upload Form */
.upload-form {
  margin-bottom: 20px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .container {
    margin-top: 70px;
    padding: 0 10px;
  }

  .navbar-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    flex-direction: column;
    padding: 15px;
    gap: 10px;
    display: none;
  }

  .navbar-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .applications-table th,
  .applications-table td,
  .documents-table th,
  .documents-table td {
    padding: 8px;
    font-size: 14px;
  }

  .applications-table td[data-label],
  .documents-table td[data-label] {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .applications-table td[data-label]::before,
  .documents-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--secondary-color);
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-group .btn {
    width: 100%;
    margin-bottom: 5px;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .status-steps {
    min-width: 100%;
  }

  .step-label {
    font-size: 10px;
  }

  .mobile-hidden {
    display: none;
  }

  .search-form {
    grid-template-columns: 1fr;
  }
}

/* Print Styles */
@media print {
  .navbar, .btn {
    display: none !important;
  }

  .container {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  /* ... diğer stiller ... */

  .applications-table thead,
  .documents-table thead {
    display: none;
  }
      .applications-table td,
  .documents-table td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 5px;
    border-bottom: 1px solid #ddd;
  }

.applications-table tr,
.documents-table tr {
  display: block;
  margin-bottom: 20px;
  border: 1px solid black; /* Daha belirgin, hafif koyu border */
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Daha yumuşak ama belirgin shadow */
  background-color: var(--white); /* Arka planı beyaz yapalım */
  padding: 10px; /* İç boşluk */
  transition: var(--transition);
}

.applications-table tr:hover,
.documents-table tr:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); /* Hover efekti */
  transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
}


  .applications-table td[data-label]::before,
  .documents-table td[data-label]::before {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 4px;
    display: inline-block;
  }
}







/* Admin Panel Özel Stiller */
.user-list {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--info-color);
}

.user-list h3 {
    color: var(--info-color);
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.user-list ul {
    list-style: none;
}

.user-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.user-list li:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.user-list li:last-child {
    border-bottom: none;
}

.user-list a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.user-list a:hover {
    color: var(--primary-color);
}

/* Kullanıcı Detay Bölümü */
.applications-section {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.applications-section h3 {
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.applications-section h3 i {
    font-size: 1.2em;
}

/* Başvuru Ekleme Formu */
.add-application-form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.add-application-form input {
    margin-bottom: 0;
}

/* Başvuru Listesi Tablosu */
.applications-table {
    margin-top: 20px;
}

.applications-table th {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .user-list,
    .applications-section {
        padding: 15px;
    }
    
    .add-application-form {
        grid-template-columns: 1fr;
        padding: 15px;
    }
}

/* Bölümler Arası Boşluk */
.container > div:not(:last-child) {
    margin-bottom: 30px;
}

/* Başlık Ayırıcılar */
.section-divider {
    height: 1px;
    background-color: #eee;
    margin: 30px 0;
    position: relative;
}

.section-divider::after {
    content: attr(data-title);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    padding: 0 15px;
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}


.status-description {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.status-description:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-left-width: 6px;
}


/* Yeni eklenen stiller */
.form-section {
    background-color: #f8f9fa;
    border: 1px solid #ddd; /* Border eklendi */
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-section-title {
    color: #495057;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-application-form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    align-items: end;
}

@media (max-width: 768px) {
    .add-application-form {
        grid-template-columns: 1fr;
    }
}




/* Girişyap, kayıtol, şifremi unuttum formları */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background-color: var(--light-gray);
}

.auth-card {
  width: 100%;
  max-width: 450px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.auth-card h2 {
  color: var(--secondary-color);
  margin-bottom: 30px;
  font-size: 28px;
  position: relative;
  padding-bottom: 15px;
}

.auth-card h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.auth-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.auth-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
  font-size: 14px;
}

.auth-form input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: var(--light-gray);
}

.auth-form input:focus {
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
  outline: none;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.auth-btn:hover {
  transform: translateY(-2px);
}

.auth-links {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.auth-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.auth-link i {
  font-size: 12px;
}

/* Özel Mesaj Stilleri */
.auth-message {
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.success-message {
  background-color: rgba(46, 204, 113, 0.1);
  color: var(--success-color);
  border-left: 3px solid var(--success-color);
}

.error-message {
  background-color: rgba(231, 76, 60, 0.1);
  color: var(--danger-color);
  border-left: 3px solid var(--danger-color);
}

/* Telefon Numarası Input Özel Stili */
.phone-input-group {
  position: relative;
}

.phone-input-group::before {
  position: absolute;
  top: 50%;
  background: var(--light-gray);
  padding: 0 8px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--dark-color);
  z-index: 1;
}

/* Responsive Düzenlemeler */
@media (max-width: 576px) {
  .auth-card {
    padding: 30px 20px;
  }
  
  .auth-card h2 {
    font-size: 24px;
  }
}

/* Animasyonlar */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-card {
  animation: fadeIn 0.5s ease forwards;
}

/* Özel Checkbox Stilleri (Change Password için) */
.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--gray);
  transition: all 0.3s ease;
}

.password-toggle:hover {
  color: var(--primary-color);
}


.welcome-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 25px 0;
}

.welcome-buttons .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.welcome-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
  color: var(--gray);
}







/* Date Input Styling */
input[type="date"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--white);
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  padding: 10px 15px;
  font-size: 16px;
  color: var(--dark-color);
  height: 42px; /* Match other input heights */
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23424242' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 40px;
  transition: var(--transition);
}

/* Focus state */
input[type="date"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Placeholder color */
input[type="date"]::-webkit-input-placeholder {
  color: #95a5a6;
}
input[type="date"]::-moz-placeholder {
  color: #95a5a6;
}
input[type="date"]:-ms-input-placeholder {
  color: #95a5a6;
}
input[type="date"]:-moz-placeholder {
  color: #95a5a6;
}

/* Date picker dropdown styling */
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
  display: none;
  -webkit-appearance: none;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  input[type="date"] {
    width: 100%;
    font-size: 14px;
    padding: 8px 12px;
    padding-right: 35px;
    background-position: right 10px center;
  }
  
  /* Make sure date inputs stack properly in forms */
  .search-form input[type="date"],
  .add-application-form input[type="date"] {
    grid-column: 1 / -1;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  input[type="date"] {
    background-color: #2c3e50;
    border-color: #34495e;
    color: #ecf0f1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ecf0f1' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E");
  }
}




/* filtre için */
.filter-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.filter-header i {
    font-size: 1.2em;
}

.search-form {
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    padding: 20px;
    background: white;
    box-shadow: var(--box-shadow);
    margin-bottom: 25px;
}







/* style.css dosyasına ekleyin */
@media (max-width: 768px) {
  .status-steps {
    flex-direction: column;
    position: relative;
    padding-left: 25px;
    gap: 15px;
  }

  /* Sol dikey çizgi */
  .status-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12px;
    width: 2px;
    height: 100%;
    background-color: #ccc;
    z-index: 0;
  }

  .status-step {
    flex-direction: row;
    align-items: center;
    position: relative;
    display: flex; /* Tüm adımları göster */
  }

  /* Nokta (ikon) - varsayılan gri */
  .step-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    font-size: 13px;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    z-index: 2;
  }

  /* Tamamlanmış adımların noktası mavi */
  .status-step.completed .step-icon {
    background-color: var(--primary-color);
  }

  /* Aktif adımın noktası */
  .status-step.active .step-icon {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary-color);
  }

  /* Pasif adımların etiketi */
  .step-label {
    font-size: 13px;
    color: var(--gray);
  }

  /* Tamamlanmış ve aktif adımların etiketi */
  .status-step.completed .step-label,
  .status-step.active .step-label {
    color: var(--dark-color);
  }

  /* Aktif adımın etiketi daha belirgin */
  .status-step.active .step-label {
    font-weight: bold;
    color: var(--secondary-color);
  }

  /* Her adımın altına kendi çizgisi */
  .status-step::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 12px;
    width: 2px;
    height: 100%;
    background-color: #ccc;
    z-index: 1;
  }

  /* Tamamlanmış adımlara mavi çizgi */
  .status-step.completed::after {
    background-color: var(--primary-color);
  }

  /* Aktif adıma kadar mavi çizgi */
  .status-step.active::after {
    background-color: var(--primary-color);
  }

  /* Son adımda alt çizgi olmasın */
  .status-step:last-child::after {
    display: none;
  }

  /* Aktif adımdan sonraki çizgiler gri kalsın */
  .status-step.active ~ .status-step::after {
    background-color: #ccc;
  }

  /* Yatay çizgi ve önceki kodlar devre dışı */
  .status-steps::before,
  .status-step::before {
    display: none;
  }
}







/* style.css dosyasına ekleyin (en alta ekleyebilirsiniz) */
@media (max-width: 768px) {
  .applications-table tr {
    display: flex;
    flex-direction: column;
    align-items: center; /* Kart içeriğini yatayda ortala */
    text-align: center; /* Metinleri ortala */
    padding: 15px;
  }

  .applications-table td {
    width: 100%;
    max-width: 300px; /* Kartların çok geniş olmaması için */
    text-align: center; /* İçerikleri ortala */
    padding: 10px 5px;
  }

  .applications-table td[data-label]::before {
    justify-content: center; /* Etiketleri ortala */
    margin-bottom: 5px;
  }

  .btn-group {
    justify-content: center; /* Butonları ortala */
  }

  .status-progress {
    width: 100%;
    overflow-x: auto;
    padding: 0 10px;
  }

  .status-steps {
    min-width: 100%;
    justify-content: center;
  }
}




