@media only screen and (max-width: 1360px) {
  .home-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: ;
  }
}

@media only screen and (max-width: 1024px) {
  .hide-from-tablet {
    display: none;
  }
  .home-blocks {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: ;
  }
  .main-menu {
    display: flex;
    align-items: center;
    gap: 25px;
  }
  .header-wrap {
    gap: 40px;
  }
  .container {
    padding: 0px 20px;
  }
  .archive-table .table-btn-actions {
    justify-content: flex-end;
  }
  .archive-btn-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    width: 60px;
  }
  .header-wrap .account-menu {
    right: 13px;
  }
}

@media only screen and (max-width: 768px) {
  h3 {
    font-size: 16px !important;
  }
  .container {
    padding: 0px 16px;
  }
  .mobile-item {
    display: block !important;
  }
  .header-wrap {
    height: 64px;
    gap: 16px;
  }
  .logo img {
    max-height: 19px;
  }
  .header-menu {
    position: absolute;
    background-color: #fff;
    height: 100vh;
    z-index: 999;
    top: 0;
    left: -100%;
    width: 288px;
    padding: 22px 48px;
  }
  .main-menu {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    flex-direction: column;
    margin-top: 54px;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }
  .header-menu.opened-menu {
    left: -0%;
  }
  .mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
  }

  .main-menu li a {
    color: #141414;
  }
  header {
    height: 64px;
    background-color: #363d4d;
    width: 100%;
    margin-bottom: 25px;
  }
  .mobile-menu-btn {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/assets/icons/meniu.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
  }
  .object-table-mobile {
    display: flex;
  }
  .archive-table-mobile {
    display: block;
  }
  .login-reg-wrapper {
    width: 100%;
    padding: var(--padding-top-bottom, 32px) var(--padding-left-right, 24px);
    max-width: 443px;
  }
  .verification-section .verification-item .blue-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .verification-section .verification-item {
    box-shadow: 0px 5px 15px 0px #0000000d;
    border: 1px solid #eeeeee;
    padding: 24px;
    background-color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    row-gap: 24px;
  }
  .verification-section .verification-item img {
    width: 48px;
    height: 48px;
  }
  .verification-section .verification-item .verification-info {
    width: calc(100% - 64px);
  }
  .verification-section .verification-item p {
    font-weight: 400;
    font-size: 13px;
    color: #6f6f73;
  }
  .verification-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .pin-input {
    width: 40px;
  }
  .messages-list {
    padding: 24px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #eeeeee;
    box-shadow: 0px 5px 15px 0px #0000000d;
    display: flex;
    margin-top: 16px;
    flex-direction: column;
  }
  .messages-list .message-block .message-icon {
    margin-left: auto;
    order: 2;
  }
  .messages-list .message-block .message-body {
    order: 3;
    width: 100%;
  }
  .messages-list .message-block .message-date {
    margin-left: 0;
    margin-right: 0;
    order: 1;
  }
  .messages-list .message-block .message-action {
    order: 4;
    width: 100%;
  }
  .messages-list .message-block .message-action a {
    width: 100%;
  }
  .messages-list .message-block {
    padding: 16px 0px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #e1e1e1;
    flex-wrap: wrap;
  }
  body .messages-filter .select2-container .select2-selection--single {
    width: 100%;
  }
  body .messages-filter .select2-container {
    width: 100% !important;
  }
  .messages-section {
    padding-bottom: 40px;
  }
  .objects-empty.center-wrap h1 {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
  .objects-table-desktop {
    display: none;
  }
  .object-table-mobile,
  .mobile-table {
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 5px 15px 0px #0000000d;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #eeeeee;
    flex-direction: column;
  }
  .object-info-line,
  .archive-info-line {
    display: flex;
    gap: 20px;
  }
  .object-line-name,
  .object-line-value,
  .archive-line-name,
  .archive-line-value {
    width: calc(50% - 10px);
  }
  .object-table-mobile .action-btn {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }
  .tables-bottom-add {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
  }

  .desktop-item {
    display: none !important;
  }
  .object-top {
    display: flex;
    align-items: center;
    align-content: center;
    margin-bottom: 20px;
    justify-content: flex-start;
    gap: 8px;
  }
  .object-top .dots-btn {
    margin-left: auto;
  }
  .object-top .objects-top-left {
    margin-left: auto;
  }
  .mobile-object-table-item:not(:last-child),
  .mobile-archive-table-item:not(:last-child) {
    padding-bottom: 20px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e1e1e1;
  }
  .mobile-object-table-item:last-child {
    padding-bottom: 10px;
  }
  .object-line-name,
  .object-line-value,
  .archive-line-name,
  .archive-line-value {
    font-family: Fustat;
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 12px;
    letter-spacing: 0%;
  }
  .object-line-name,
  .archive-line-name {
    color: #6f6f73;
  }
  .object-table-mobile .action-btn,
  .archive-table-mobile .action-btn {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    font-size: 12px;
    line-height: 36px;
  }
  .object-info,
  .archive-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .add-property {
    width: 40px;
    height: 40px;
    background-color: rgba(45, 94, 238, 1);
    border-radius: 8px;
    background-image: url(/assets/icons/button-plus.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14px 14px;
    border: 2px solid #2d5eee;
    display: block;
  }
  .object-title-mobile {
    font-weight: 600;
    font-size: 14px;
    line-height: 12px;
    letter-spacing: 0%;
    vertical-align: middle;
  }
  .tables-bottom-add.mobile-item a {
    width: calc(100% - 32px);
    justify-content: center;
  }

  .archive-table-top {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    gap: 10px;
  }
  .mobile-table-actions-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
  }
  .archive-action {
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    display: block;
  }
  .pop-cancel-wrap {
    background: #ffffff;
    border: 1px solid #eeeeee;
    max-width: 443px;
    width: 100%;
    padding: 40px 20px;
    border-radius: 10px;
    margin-right: 20px;
    margin-left: 20px;
  }

  .invitation-from .form-buttons {
    width: 100%;
    display: flex;
    gap: 12px;
    flex-direction: column;
  }
  .invitation-from .form-buttons button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .signers-table {
    display: block;
    width: 100%;
  }

  .signers-table tbody {
    display: block;
  }

  .signer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f2f2f7;
    gap: 4px 8px;
  }

  .signer-row:last-child {
    border-bottom: none;
  }

  .signer-row td {
    display: block;
    padding: 0;
  }

  /* Name — full width, bold */
  .signer-row .signer-name {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #1c1c1e;
    width: calc(100% - 90px);
  }

  /* Status badge — top right next to name */
  .signer-row .signer-status {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
  }

  /* Role — second line, muted */
  .signer-row .signer-role {
    width: 100%;
    font-size: 13px;
    color: #8e8e93;
    order: 3;
  }

  /* Action link — full width, pill button */
  .signer-row td:last-child {
    width: 100%;
    order: 4;
    margin-top: 8px;
  }

  .signer-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
  }
  .signers-table.table-edz tr td {
    border-bottom: none;
  }
  .signers-table.table-edz .signer-action {
    font-weight: 700;
    font-style: Bold;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: none;
    max-width: 100%;
    /* justify-content: flex-end; */
    gap: 8px;
    justify-content: flex-start;
    padding: 0;
  }
  .signers-table.table-edz .agree {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #141414;
    font-size: 14px;
    margin-top: 13px;
    margin-bottom: 16px;
  }
  .signer-role,
  .signer-action {
    margin-left: 36px;
  }
  .completion-signers .black-border-btn {
    width: 100%;
    justify-content: center;
  }

  .signed .signer-role,
  .signed .signer-action {
    margin-left: 0px;
  }
  .signed .signer-row td:first-child {
    display: none;
  }
  .signed .signer-row .signer-name {
    margin-bottom: 13px;
    margin-top: 8px;
  }
}

@media only screen and (max-width: 480px) {
}
