.additional-fields {
    display: none;
}

form {
    margin: 0;
}

/* Стили для шапки */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #eb604f 0%, #d14534 100%);
    padding: 15px 30px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}


.nav-container {
    display: flex;
    gap: 40px;
    margin-left: 20px;
}

header h1.navig {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    position: relative;
    cursor: pointer;
    padding: 8px 5px;
    margin: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

header h1.navig::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 2px;
    transition: width 0.3s ease;
}

header h1.navig:hover::after,
header h1.navig.active::after {
    width: 100%;
}

.navig.active {
    transform: translateY(-2px);
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.container {
    padding-top: 80px;
}

.border-purple-700 {
    color: #e84b38 !important;
}

#user-data-block{
    display: none;
}

.account-btn, header .navig{
    cursor: pointer;
    padding-bottom: 0 !important;
}

.btn-icon::after, .account-btn::after {
    display: none !important;
}

.account-actions{
    display: flex;
    gap: 25px;
    margin-right: 10px;
    align-items: center;
}

.account-actions form {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.account-actions button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.account-btn.navig {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.header-auth__icon {
    width: 24px;
    height: 24px;
    fill: white;
    cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

/* Содержимое окна */
.modal-content {
  background-color: #fff;
  padding: 24px;
  border-radius: 8px;
  width: 700px;
  max-width: 90vw;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: fixed;
}

.modal-content button{
    width: 100%;
}

/* Кнопка закрытия */
.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

.object {
    border-left: 2px solid gray;
    padding-left: 16px;
}

.tenant {
    border-left: 2px solid gray;
    padding-left: 16px;
}

.contr {
    border-left: 2px solid gray;
    padding-left: 16px;
}

.response {
    border-color: #410e07 !important;
    background-color: #75190e;
    color: white !important;
    z-index: 1001;
    margin-top: 60px;
}

.custom-button {
    height: 40px;
}

.flex {
    border-radius: 15px;
}

.page-layout {
    position: relative;
    min-height: 100vh;
}

.container {
    background-color: white;
    position: relative;
    width: auto;
    z-index: 1;
}

/* модальное окно удаления арендодателя*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  max-width: 90%;
  max-height: 90%;
  z-index: 1000;
}

.modal-header {
  margin-bottom: 15px;
}

.modal-body {
  margin-bottom: 20px;
}

.modal-footer {
  justify-content: flex-end;
}

.bg-red-500 {
  background-color: #ef4444;
}

.bg-red-500:hover {
  background-color: #dc2626;
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
}

.modal-close:hover {
  color: #333;
}

.modal-header {
  position: relative;
  padding-right: 30px;
}

.flex.gap-2 {
  gap: 10px;
}

.more-info-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow-y: auto;
}

.more-info-modal .modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 25px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: modalopen 0.3s;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.info-table th, .info-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.info-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.info-table tr:hover {
    background-color: #f9f9f9;
}

.no-data {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.table-responsive {
    overflow-x: auto;
}

.modal-footer {
    margin-top: 20px;
    text-align: right;
}

.close-modal-btn {
    padding: 8px 16px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal-btn:hover {
    background-color: #e9e9e9;
}

#tenantList {
    font-weight: bold;
}

/* Стили для модального окна */
#user-data-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

#user-data-block {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    margin: auto;
    transform: translate(0, 0);
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ff0000;
}

.account-btn {
    cursor: pointer;
}