
/* index page start */
.contragent-container-index {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 10px 0;
  padding: 10px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.contragent-container-index:hover {
  background-color: #f5f5f5;
}

.contragent-list-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.profile-picture-index img {
  width: 60px;
  height: 60px;
}

.profile-picture-index {
  margin: 10px;
}

.contragent-info-index {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  margin-left: 15px;
  color: rgb(82, 74, 74);
}

.contragent-job-title {
  margin-left: auto;
  text-align: right;
  font-weight: bold;
  white-space: nowrap;
  align-self: center;
}

.no-underline {
  text-decoration: none !important;
}
/* index page end */

/* show contragent start */
.contragent-show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 10px 0;
  padding: 10px;
  transition: background-color 0.3s ease;
}

.contragent-show ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  width: 100%;
}

.profile-picture {
  margin: 20px;
}

.contragent-info {
  margin-right: 25px;
  margin-left: 15px;
}

.contragent-info strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.divider {
  width: 2px;
  background-color: #ccc;
  height: auto;
  align-self: stretch;
}

.contragent-contact {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-left: auto;
}

.phone, .email {
  font-size: 15px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.phone img, .email img {
  margin-right: 5px;
}

ul.contragent-details li {
  font-size: 15px;
  line-height: 1.6;
}
/* show contragent end */

.link-container {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  color: #6495ED;
}

.style_link, .create_contragent {
  color: inherit !important;
  margin: 5px;
}
/* form new */
.contragent-page {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-left: 50px;
  padding-right: 50px;
  gap: 20px;
  box-sizing: border-box;
}

.main-info, .addition-info, .compony-info, .other-info {
  width: 100%;
  max-width: 800px;
  background-color: #f2f2f2;
  border-radius: 5px;
  border: 2px solid #588bbd;
  padding: 20px;
  box-sizing: border-box;
}

.form-field, .form-field-main {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

textarea.form-field {
  height: 100px;
}

.form-input {
  margin-bottom: 20px;
}

.btn-submit {
  display: block;
  width: 100%;
  max-width: 200px; 
  margin: 20px auto 0;
  padding: 10px;
  background-color: #588bbd;
  color: #fff;
  border: none;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
}

.btn-submit:hover {
  background-color: #466a9e;
}



form .btn-submit {
  width: 100%;
  background-color: #588bbd;
  color: black;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  height: auto; 
}

form .btn-submit:hover {
  background-color:  #4a7fa7;
}

.btn-edit {
  cursor: pointer;
  color: #588bbd !important;
  text-decoration: none;
  float: right; 
}

.btn-edit:hover {
  text-decoration: none;
  color: #2a506e !important;
}

.btn-delete {
  cursor: pointer;
  color: red !important;
  text-decoration: none;
  margin-left: 10px;
}

.btn-delete:hover {
  text-decoration: none;
  color: rgb(179, 11, 11) !important;
}

.btn-container {
  display: flex;
  justify-content: flex-end;
  margin: 10px 20px;
}
/* form end  */
tbody.tab-order,
tbody.tab-order {
  border: 1px solid rgb(160 160 160);
}

th.tab-order, th.tab-order {
  padding-top: 12px;
  padding-bottom: 12px;
  color: #588bbd;
  font-size: 10px;
}

tr.tab-order {
  border-bottom: 1px solid rgb(160, 160, 160);
}
tr.tab-order-title {
  padding: 5px;
  font-size: 12px;
}

th.tab-order-title {
  font-size: 12px;
  padding: 5px;
}

th[scope="row-tab-order"] a:hover {
  text-decoration: underline;
  color: #4679a5;
}

th[scope="col-tab-order"] {
  background-color: #d7d7d7;
  color: black;
}

td.tab-order {
  text-align: center;
}

table.tab-order {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #ccc(140 140 140);
  font-size: 12px;
  letter-spacing: 1px;
}

tr.tab-order {
  cursor: pointer;
}

tr.tab-order:hover {
  background-color: #d7d7d7;
}
/* table end */
