@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #3b7fbc;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --background-color: #f5f9ff;
  --text-color: #1e2130;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: "Figtree", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.mp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: var(--primary-color);
}

.mp-header {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.mp-logo {
  z-index: 3;
  position: sticky;
}

.mp-logo img {
  width: 140px;
  height: auto;
}

.mp-nav {
  display: flex;
  align-items: center;
}

.mp-menu {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.mp-menu li {
  margin: 0 15px;
}

.mp-menu a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 16px;
  transition: color 0.3s ease;
}

.mp-menu a:hover {
  color: #f0f0f0;
}

.mp-menu a svg {
  margin-right: 8px;
}

.mp-logout-button {
  text-decoration: none;
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.mp-logout-button:hover {
  background-color: #c0392b;
}

.mp-logout-button svg {
  margin-right: 8px;
}

.mp-mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.mp-mobile-logout {
  display: none;
}

@media (max-width: 768px) {
  .mp-mobile-menu-toggle {
    display: block;
    z-index: 9999;
  }

  .mp-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #3b7fbc;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 130px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .mp-nav.active {
    right: 0;
  }

  .mp-menu {
    flex-direction: column;
    width: 100%;
  }

  .mp-menu li {
    margin: 15px 0;
    width: 100%;
  }

  .mp-menu a {
    padding: 10px 20px;
  }

  .mp-desktop-logout {
    display: none;
  }

  .mp-mobile-logout {
    display: block;
    margin-top: auto;
    padding: 20px;
  }

  .mp-logout-button {
    width: 100%;
    justify-content: center;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

.mp-nav.active {
  animation: slideIn 0.3s forwards;
}

.mp-nav.inactive {
  animation: slideOut 0.3s forwards;
}

.mp-welcome-section {
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.mp-welcome-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mp-welcome-text {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.mp-button-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.mp-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.mp-button-secondary {
  background-color: #2ecc71;
  color: #fff;
}

.mp-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mp-button i {
  margin-right: 0.5rem;
}

.mp-register-container {
  max-width: 900px;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mp-title {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
  margin: 0;
}

.mp-form {
  padding: 2rem;
}

.mp-form-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  transition: box-shadow 0.3s ease;
}

.mp-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.mp-label {
  display: block;
  margin: 1rem 0;
  font-weight: 500;
}

.mp-input,
.mp-select,
.mp-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.mp-input:focus,
.mp-select:focus,
.mp-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.mp-button-primary {
  background-color: #28a745;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  display: block;
  width: 100%;
  margin-top: 2rem;
}

.mp-message {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  font-weight: 600;
}

.mp-message-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.mp-message-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.mp-home-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.mp-home-button-primary {
  background-color: var(--accent-color);
  color: #fff;
}

.mp-home-button-secondary {
  background-color: #2ecc71;
  color: #fff;
}

.mp-home-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mp-home-button i {
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .mp-button-container {
    flex-direction: column;
  }

  .mp-home-button {
    width: 100%;
    margin-bottom: 1rem;
  }
}

.mp-customer-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #f0f0f0;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}

.mp-header-name {
  flex-grow: 1;
}

.mp-header-actions {
  display: flex;
  gap: 20px;
}

.mp-customer-list-container {
  max-width: 900px;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mp-search-container {
  flex: 1;
  margin-right: 20px;
}

#customerSearch {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
}

.mp-customer-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.mp-customer-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.3s ease;
}

.mp-customer-item:hover {
  background-color: #f8f9fa;
}

.mp-customer-name {
  flex-grow: 1;
  font-weight: 500;
}

.mp-customer-status {
  margin: 0 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
}

.mp-status-teslim-edilmedi {
  background-color: red;
  color: #fff;
}

.mp-status-teslim-edildi {
  background-color: #28a745;
  color: #fff;
}

.mp-actions {
  display: flex;
  gap: 0.5rem;
}

.mp-button-icon {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mp-button-icon:hover {
  background-color: #e9ecef;
}

.mp-button-icon svg {
  width: 20px;
  height: 20px;
}

.mp-detail-button svg {
  color: var(--primary-color);
}

.mp-delete-button svg {
  color: var(--accent-color);
}

.mp-filter-container {
  display: flex;
  justify-content: space-between;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
}

.mp-search-container input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.mp-status-filter select {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 40px;
}

.mp-status-filter select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

@media (max-width: 768px) {
  .mp-filter-container {
    align-items: stretch;
  }

  .mp-search-container {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

.mp-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.mp-popup-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: popupFadeIn 0.3s ease-out;
  z-index: 9999999;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mp-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mp-popup-close:hover {
  color: #333;
}

.mp-popup h3 {
  margin-top: 0;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.mp-popup p {
  margin-bottom: 10px;
}

.mp-popup strong {
  color: var(--secondary-color);
}

.mp-popup img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 10px;
}

.status-toggle {
  display: flex;
  align-items: center;
  margin: 20px 0;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

.status-label {
  margin-right: 10px;
  font-weight: bold;
}

#statusSelect {
  flex-grow: 1;
}

#updateStatusButton {
  margin-top: 20px;
  width: 100%;
}

.accordion-header {
  cursor: pointer;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 5px;
  margin-bottom: 5px;
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.accordion-header:hover {
  background-color: #f8f9fa;
}

.accordion-icon {
  color: var(--primary-color);
  transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.mp-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.mp-grid-item {
  position: relative;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mp-grid-item:hover {
  transform: translateY(-2px);
}

.mp-grid-item.selected::after {
  content: "✓";
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: var(--primary-color);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.mp-hidden-input {
  display: none;
}

.mp-grid-label {
  cursor: pointer;
}

.mp-hidden-input:checked + .mp-grid-label {
  border-color: #007bff;
  background-color: #e7f1ff;
}

.mp-grid-title {
  font-size: 1.1rem;
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.mp-grid-price {
  font-weight: 600;
  font-size: 20px;
  display: block;
  color: #28a745;
}

.equipment-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.mp-equipment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.mp-checkbox {
  margin-right: 10px;
}

.mp-checkbox-text {
  font-size: 14px;
}

@media screen and (max-width: 1200px) {
  .mp-grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 992px) {
  .mp-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .mp-grid-title {
    font-size: 1.1em;
  }

  .mp-grid-price {
    font-size: 1em;
  }
}

@media screen and (max-width: 768px) {
  .mp-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .mp-grid-item {
    padding: 12px;
  }
}

@media screen and (max-width: 576px) {
  .mp-grid-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .mp-grid-title {
    font-size: 1em;
  }

  .mp-grid-price {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 480px) {
  .mp-grid-item {
    padding: 10px;
  }

  .mp-grid-title {
    font-size: 0.9em;
  }

  .mp-grid-price {
    font-size: 0.8em;
  }
}

.mp-show-more {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

.mp-show-more:hover {
  background-color: #0056b3;
}

.mp-total-price {
  width: 100%;
  background-color: #f8f9fa;
  border-radius: 4px;
  padding: 10px 15px;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
}

.mp-total-price-label {
  margin-right: 10px;
  font-size: 18px;
  color: #27ae60;
  font-weight: 700;
  border-radius: 8px;
  display: inline-block;
}

.mp-total-price-amount {
  font-size: 1.2em;
  color: #28a745;
  font-weight: bold;
  float: right;
}

.mp-login-container h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 28px;
}

.mp-form-group {
  margin-bottom: 25px;
  position: relative;
}

.mp-form-group label {
  display: block;
  font-weight: bold;
}

.mp-form-group input {
  border: none;
  background: #def2fb61;
  padding: 18px 40px;
  padding-left: 40px;
  width: 100%;
  border-radius: 30px;
  font-size: 16px;
}

.mp-form-group input:focus {
  border-color: #3b7fbc;
  outline: none;
}

.mp-form-group svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.mp-login-button {
  width: 100%;
  padding: 18px 40px;
  background-color: #3b7fbc;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.mp-form-group input::placeholder {
  opacity: 0.4;
  color: #333;
}

.mp-login-button:hover {
  background-color: #3b7fbc;
}

.mp-login-button:active {
  transform: scale(0.98);
}

.error {
  color: #e74c3c;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.avatar-container {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.avatar {
  width: 45px;
  height: 45px;
  color: #3b7fbc;
}

.company-info {
  margin-top: 20px;
  text-align: center;
}

.company-info p {
  font-size: 16px;
  color: #666;
}

@media screen and (max-width: 768px) {
  .avatar-container {
    top: -40px;
    width: 80px;
    height: 80px;
  }

  .avatar {
    width: 35px;
    height: 35px;
  }

  h2 {
    font-size: 1.5em;
  }

  .mp-form-group input {
    font-size: 14px;
  }

  .mp-login-button {
    font-size: 16px;
  }

  .company-info p {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .avatar-container {
    top: -30px;
    width: 60px;
    height: 60px;
  }

  .avatar {
    width: 25px;
    height: 25px;
  }

  h2 {
    font-size: 1.2em;
  }

  .mp-form-group input {
    font-size: 12px;
  }

  .mp-login-button {
    font-size: 14px;
  }

  .company-info p {
    font-size: 12px;
  }
}

.mp-dashboard-container {
  max-width: 900px;
  margin: 2rem auto;
}

.mp-dashboard-section {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  padding: 20px;
}

.mp-section-title {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--primary-color);
}

.section-icon {
  margin-right: 0.5rem;
  color: #007bff;
}

.mp-section-title svg {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.mp-dashboard-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.mp-summary-card {
  flex: 1 1 calc(50% - 10px);
  min-width: 200px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mp-summary-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.mp-summary-card h3 svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.mp-summary-value {
  font-size: 24px;
  font-weight: bold;
  color: #1e2130;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mp-summary-value-small {
  font-size: 0.8em;
  color: #666;
  display: block;
  margin-top: 5px;
}

.currency-icon,
.currency-icon-small {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}

.currency-icon-small {
  width: 16px;
  height: 16px;
}

.mp-currency {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
}

.mp-table-responsive {
  overflow-x: auto;
}

.mp-table {
  width: 100%;
  border-collapse: collapse;
}

.mp-table th,
.mp-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.mp-table th {
  background-color: #f8f9fa;
  font-weight: bold;
  color: #333;
}

.mp-table tr:last-child td {
  border-bottom: none;
}

.mp-table tr:hover {
  background-color: #f5f5f5;
}

.mp-date-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mp-date-filter label {
  font-size: 12px;
  font-weight: 600;
  margin-right: 10px;
  color: var(--secondary-color);
}

.mp-date-filter input[type="date"] {
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  margin-right: 15px;
  transition: border-color 0.3s ease;
}

.mp-date-filter input[type="date"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 127, 188, 0.1);
}

.mp-date-filter .mp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 20px;
  margin: 0;
  font-size: 14px;
  width: 30%;
}

.mp-date-filter .mp-button:hover {
  transform: translateY(-1px);
}

.mp-date-filter .mp-button:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .mp-date-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .mp-date-filter label,
  .mp-date-filter input[type="date"],
  .mp-date-filter .mp-button {
    margin-bottom: 10px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mp-dashboard-summary {
    flex-direction: column;
  }

  .mp-summary-card {
    flex: 1 1 100%;
  }

  .mp-table th,
  .mp-table td {
    padding: 8px;
  }

  .mp-summary-value {
    font-size: 19px;
  }
}

.mp-equipment-grid.accordion-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px;
}

.mp-equipment-grid.accordion-content.hidden {
  display: none;
}

.mp-equipment-item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mp-equipment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.mp-equipment-item .mp-checkbox-label {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  cursor: pointer;
}

.mp-equipment-item .mp-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #3498db;
  border-radius: 4px;
  outline: none;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.mp-equipment-item .mp-checkbox:checked {
  background-color: #3498db;
}

.mp-equipment-item .mp-checkbox:checked::after {
  content: "\2714";
  font-size: 14px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mp-equipment-item .mp-item-name {
  font-weight: 600;
  font-size: 1.1em;
  margin-left: 15px;
}

.mp-equipment-item .mp-item-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.mp-equipment-item .mp-item-price {
  font-weight: 600;
  font-size: 20px;
  display: block;
  color: #28a745;
}

.mp-equipment-item .mp-input-small {
  width: 70px;
  text-align: center;
  padding: 8px;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.mp-equipment-category {
  background-color: #f8f9fa;
}

.mp-equipment-item .mp-input-small::-webkit-inner-spin-button,
.mp-equipment-item .mp-input-small::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media screen and (max-width: 1200px) {
  .mp-equipment-grid.accordion-content {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .mp-equipment-item {
    padding: 18px;
  }

  .mp-equipment-item .mp-item-name {
    font-size: 1em;
  }

  .mp-equipment-item .mp-item-price {
    font-size: 1.1em;
  }
}

@media screen and (max-width: 992px) {
  .mp-equipment-grid.accordion-content {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .mp-equipment-item {
    padding: 15px;
  }

  .mp-equipment-item .mp-checkbox {
    width: 20px;
    height: 20px;
  }

  .mp-equipment-item .mp-item-name {
    font-size: 0.95em;
  }

  .mp-equipment-item .mp-item-price {
    font-size: 1.05em;
  }

  .mp-equipment-item .mp-input-small {
    width: 65px;
    padding: 7px;
  }
}

@media screen and (max-width: 768px) {
  .mp-equipment-grid.accordion-content {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .mp-equipment-item {
    padding: 12px;
  }

  .mp-equipment-item .mp-item-name {
    font-size: 0.9em;
  }

  .mp-equipment-item .mp-item-price {
    font-size: 1em;
  }

  .mp-equipment-item .mp-input-small {
    width: 60px;
    padding: 6px;
  }
}

@media screen and (max-width: 576px) {
  .mp-equipment-grid.accordion-content {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .mp-equipment-item {
    padding: 10px;
  }

  .mp-equipment-item .mp-checkbox {
    width: 18px;
    height: 18px;
  }

  .mp-equipment-item .mp-item-name {
    font-size: 0.85em;
    margin-left: 10px;
  }

  .mp-equipment-item .mp-item-price {
    font-size: 0.95em;
  }

  .mp-equipment-item .mp-input-small {
    width: 55px;
    padding: 5px;
    font-size: 0.9em;
  }
}

@media screen and (max-width: 480px) {
  .mp-equipment-grid.accordion-content {
    grid-template-columns: 1fr;
  }

  .mp-equipment-item .mp-item-name {
    font-size: 0.8em;
  }

  .mp-equipment-item .mp-item-price {
    font-size: 0.9em;
  }

  .mp-equipment-item .mp-input-small {
    width: 50px;
    padding: 4px;
    font-size: 0.85em;
  }
}

.ski-form-section {
  background-color: #ffffff;
  border-radius: 12px;
  margin-bottom: 40px;
  transition: box-shadow 0.3s ease;
}

.ski-form-row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.ski-form-group {
  flex: 1 1 300px;
  margin: 15px;
}

.ski-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.ski-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #c0c7df;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fff;
}

.ski-input:focus {
  border-color: #3498db;
  outline: none;
  background-color: #ffffff;
}

input[type="file"].ski-input {
  padding: 10px;
  background-color: #f1f8ff;
  border-color: #bde0fe;
}

input[type="datetime-local"].ski-input {
  padding: 10px 15px;
}

@media (max-width: 768px) {
  .ski-form-group {
    flex: 1 1 100%;
  }

  .ski-section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .ski-section-title {
    font-size: 1.5rem;
  }

  .ski-input {
    font-size: 0.9rem;
  }
}

.currency-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.currency-switch {
  position: relative;
  display: inline-block;
  width: 160px;
  height: 48px;
}

.currency-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

.currency-label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e0e0e0;
  border-radius: 40px;
  transition: 0.4s;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.currency-slider {
  position: absolute;
  content: "";
  height: 34px;
  width: 71px;
  left: 3px;
  bottom: 8px;
  background-color: var(--primary-color);
  transition: 0.4s;
  border-radius: 34px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.currency-checkbox:checked + .currency-label .currency-slider {
  transform: translateX(80px);
}

.currency-option {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-weight: bold;
  transition: 0.4s;
}

.currency-option.try {
  left: 30px;
}

.currency-option.eur {
  right: 25px;
}

.currency-checkbox:checked + .currency-label .currency-option.try,
.currency-checkbox:not(:checked) + .currency-label .currency-option.eur {
  color: #333;
}

.currency-checkbox:checked + .currency-label .currency-option.eur,
.currency-checkbox:not(:checked) + .currency-label .currency-option.try {
  color: #ffffff;
}

.ski-form-group input[type="datetime-local"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.ski-form-group
  input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  color: transparent;
  opacity: 1;
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z'/%3E%3C/svg%3E")
    no-repeat;
  width: 16px;
  height: 16px;
  border-width: thin;
}

.ski-file-input-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.ski-file-input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.ski-file-label {
  width: 100%;
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ski-file-label svg {
  margin-right: 8px;
}

.ski-file-name {
  font-size: 14px;
  color: #28a745;
}

.message-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.message-popup-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  color: #aaa;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-popup:hover {
  color: #333;
}

#popupIcon {
  margin-bottom: 20px;
}

#popupIcon svg {
  width: 64px;
  height: 64px;
}

.mp-message-success #popupIcon svg {
  fill: #28a745;
}

.mp-message-error #popupIcon svg {
  fill: #dc3545;
}

#popupMessage {
  font-size: 18px;
  margin: 0;
}


.mp-discount-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
}

.mp-discount-section label {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--secondary-color);
}

#iskontoInput {
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}

#applyDiscountButton {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mp-discounted-price-label {
  font-size: 18px;
  color: #27ae60;
  font-weight: 700;
  display: inline-block;
}

.mp-inventory-container {
  max-width: 900px;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 20px;
}

.mp-inventory-container .mp-label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.mp-pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.mp-pagination-link {
  padding: 5px 10px;
  margin: 0 5px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--primary-color);
}

.mp-pagination-link.active {
  background-color: var(--primary-color);
  color: white;
}

#trainerList {
  margin-top: 20px;
}

.trainer-item {
  padding: 10px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.trainer-item:hover {
  background-color: #f0f0f0;
}

#timeRangeInput {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

#timeRangeInput label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

#timeRangeInput input[type="time"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 16px;
}

#timeRangeInput button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#timeRangeInput button:hover {
  background-color: #2c5d8f;
}

.trainer-back-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin-right: 10px;
}

.trainer-back-button svg {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.mp-popup-content h3 {
  margin: 0;
}

.mp-popup-content {
  position: relative;
}

.mp-popup-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.mp-selected-trainer {
  margin-top: 15px;
  padding: 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  font-size: 18px;
}

.mp-selected-trainer span:first-child {
  font-weight: bold;
  margin-right: 5px;
}

#selectedTrainerName {
  color: var(--primary-color);
  font-weight: bold;
}
