/* File: css/cp.css */
/* This file contains styles for the create package form */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

.background {
  background: url('images/background.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
}

.navbar {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.highlight {
  color: orange;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
}

.admin-btn {
  background:orange;
  border: none;
  color: white;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

.package-form {
  background-color: rgba(0, 0, 0, 0.4);
   margin-bottom: 100px;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);

}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
   margin-bottom: 15px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: white;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group select,
.form-group input[type="date"],
.form-group input[type="number"],
.form-group input[type="text"] {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.checkbox {
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.checkbox label {
  font-weight: normal;
}

.destination-row {
  align-items: center;
}

.delete-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 10px 12px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  height: fit-content;
  align-self: center;
}

.add-btn {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 20px;
}

.submit-btn {
  background-color: orange;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 4px;

  float: right;
  cursor: pointer;
}

.note {
  margin-top: 60px;
  font-size: 20px;
  font-weight: bold;
  color: red;
  text-align: center;
}

/* Adjust Select2 height  on create package form*/
  .select2-container--default .select2-selection--single {
     flex: 1;
  min-width: 200px;
    height: 42px; /* You can increase/decrease this value as needed */
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
  }