body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #000;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

label {
  font-weight: bold;
  margin-top: 10px;
  display: block;
}

input[type="text"],
input[type="date"] {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

button {
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background-color: #0056b3;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
}

.kv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: white;
}

.kv-table th,
.kv-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.kv-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.highlight {
  background-color: yellow !important;
}

.editable {
  background-color: #e9f5ff;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
}

.modal-content h3 {
  margin-top: 0;
}

.modal-content select {
  width: 100%;
  padding: 8px;
  margin-top: 10px;
  margin-bottom: 15px;
}
.maliyye-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.maliyye-table th, .maliyye-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

.maliyye-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.maliyye-table tr[style*="background:yellow"] {
  background-color: yellow !important;
  font-weight: bold;
}

/* Silmə modalının ümumi örtüyü */
#confirmDeleteModal {
  display: none;
  position: fixed;
  z-index: 2000; /* Digər modalardan üstün */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

/* Modal pəncərənin öz dizaynı */
#confirmDeleteModal .modal-content {
  background: #fff;
  padding: 20px 25px;
  border-radius: 10px;
  max-width: 380px; /* Daha dar görünüş */
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  animation: scaleIn 0.2s ease-out;
}

/* Başlıq */
#confirmDeleteModal h3 {
  margin-top: 0;
  font-size: 20px;
  color: #d32f2f;
}

/* Təsvir mətn */
#confirmDeleteModal p {
  font-size: 14px;
  margin: 10px 0 20px;
  color: #555;
}

/* Düymələr */
#confirmDeleteModal button {
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

#confirmDeleteModal #confirmDeleteYesBtn {
  background: #d32f2f;
  color: white;
}

#confirmDeleteModal #confirmDeleteYesBtn:hover {
  background: #b71c1c;
}

#confirmDeleteModal #confirmDeleteNoBtn {
  background: #ccc;
}

#confirmDeleteModal #confirmDeleteNoBtn:hover {
  background: #aaa;
}

/* Kiçik açılış animasiyası */
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
