.no-scroll {
    overflow: hidden;
}

#dogs-wrapper,
#scheduled-wrapper {
    position: relative;
    min-height: 100px;
}

.modal-notice {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #034F79;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 9.11px;
    font-weight: 600;
    -webkit-box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.5);
    width: fit-content;
    white-space: nowrap;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #034F79;
}

th, td {
    padding: 3px 5px;
}

.loader-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: none;
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border: 3px solid #FFF;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    border-bottom-color: #034F79;
}

#dogs-wrapper .loader-wrapper,
#scheduled-wrapper .loader-wrapper {
    display: none;
}

#dogs-wrapper.loading .loader-wrapper,
.action-form.loading .loader-wrapper,
#scheduled-wrapper.loading .loader-wrapper {
    display: block;
}

#scheduled-table a {
    color: #034F79;
    font-size: 14px;
    font-style: italic;
    font-weight: bold;
    margin-left: 10px;
}

#scheduled-table a:hover {
    color: #f9e6a9;
}

.tabs {
    display: inline-flex;
    align-items: center;
    border: 1px solid #034F79;
    border-radius: 5px;

    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;

    position: relative;
    z-index: 3;
}

.tabs .tab {
    padding: 10px 20px;
    border-bottom: 1px solid #034F79;
    color: #034F79;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.tabs .tab:not(:last-child) {
    border-right: 1px solid #034F79;
}

.tabs .tab.active {
    border-bottom-color: #ffffff;
}

.tabs .tab.active:after {
    position: relative;
}

.tab-items {
    margin-top: 0;
}

.tab-item {
    display: none;
    min-height: 95px;
    margin: 0;
    padding: 15px;
    border: 1px solid #034F79;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: -1px;
    position: relative;
}

.tab-item.active {
    display: block;
}

.info {
    position: absolute;
    top: 10px;
    right: 0;
}

.dog-popup {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
}

.dog-popup.active {
    display: block;
}

.dog-popup__wrapper {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    opacity: 0.6;
}

.dog-popup__content {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90%;
    height: 80%;
    max-width: 1200px;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.small .dog-popup__content {
    max-width: 375px;
    height: auto;
}

.dog-popup__content .content {
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

.dog-popup .loader-wrapper {
    display: none;
}

.dog-popup.loading .loader-wrapper {
    display: block;
}

.dog-popup .close-button {
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    border: 2px solid #034F79;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 9;
    background: #ffffff;
    box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 1);
}

.dog-popup.small .close-button {
    display: none;
}

.dog-popup .close-button:hover {
    background-color: #f9e6a9;
}

.dog-popup .close-button:before,
.dog-popup .close-button:after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: #034F79;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.dog-popup .close-button:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.dog-popup .data {
    padding: 30px 30px;
}

.dog-popup .data table {
    width: 100%;
}

.dog-popup .dog-name {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #034F79;
}

.dog-popup .content,
.dog-popup .data,
.dog-popup .tabs-wrapper {
    height: 100%;
}

.dog-popup .tabs-wrapper {
    display: flex;
}

.dog-popup .tabs-wrapper .tabs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #034F79;
    border-radius: 5px 0 0 5px;
    border-right: none;
}

.dog-popup .tabs-wrapper .tabs .tab.active {

    background: #034F79;
    color: #ffffff;
}

.dog-popup .tabs-wrapper .tab-items {
    width: 100%;
    height: 100%;
}

.dog-popup .tabs-wrapper .tab-items .tab-item {
    overflow-y: auto;
    height: inherit;
    margin: 0;
}

.dog-popup .tabs-wrapper .tabs .tab {
    width: 100%;
    border-bottom: 1px solid #034F79;
    white-space: nowrap;
    border-right: none;
}

.dog-popup .tabs-wrapper .tab-item {
    border-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.list .item {
    border-bottom: 1px solid #034F79;
    margin-bottom: 10px;
}

.list .label {
    font-size: 14px;
}

.list .value {
    color: #034F79;
    font-size: 18px;
}

@keyframes rotation {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* width */
.dog-popup .tabs-wrapper .tab-item::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.dog-popup .tabs-wrapper .tab-item::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
.dog-popup .tabs-wrapper .tab-item::-webkit-scrollbar-thumb {
    background: #034F79;
    border-radius: 10px;
}

.dog-popup .tabs .tab {
    padding: 7px 10px;
    font-size: 14px;
}

.actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-direction: column;
}

.action-form {
    position: relative;
    min-height: 200px;
}

.action-form__data .form-row {
    margin-bottom: 10px;
    border-bottom: 1px solid #034F79;
    padding-bottom: 5px;
}

.small .action-form__data .form-row {
    border-bottom: none;
}

.action-form__data .form-buttons {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.action-form__data .form-row label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #034F79;
}

.action-form__data .form-row input[type="text"],
.action-form__data .form-row textarea {
    width: 100%;
}

.action-form__data .form-row textarea,
.action-form__data .form-row select {
    border: 1px solid #034F79;
}

.action-form__data .form-row .help {
    display: block;
    font-size: 12px;
    font-style: italic;
    margin-top: 5px;
}

.action-form__data form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}


.action-form__data form button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    line-height: 1.5;
    color: #000;
    background-color: #b3d9ea;
    border: none;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    border-radius: 9.11px;
}

.action-form__data form button.cancel {
    background-color: #bac2c6;
}

.small .action-form__data form {
    grid-template-columns: 1fr;
}

.small .action-form {
    min-height: auto;
}

.si-form {
    max-width: 600px !important;
    margin: 40px auto !important;
}

.si-form label {
    display: block;
}

.si-form .input {
    display: block;
    width: 100%;
    padding: 3px 5px;
    border: 1px solid #034F79;
    border-radius: 3px;
}

.si-form input[type="checkbox"] {
    margin-right: 5px;
}

.si-form .register_err {
    color: red;
}

.si-form .register_ok {
    color: green;
}

#loginform {
    padding: 30px;
    border: 1px solid #034F79;
    border-radius: 5px;
}

.action-form__data .form-row .radio-input {
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-form__data .form-row .radio-input label {
    margin: 0;
    width: 100%;
    cursor: pointer;
}

.action-form__data .form-row .radio-input input {
    cursor: pointer;
}

.mobile-hamburger {
    display: none;
    position: absolute;
    left: 15px;
    top: 15px;
}

.mobile-hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    margin-bottom: 6px;
    position: relative;

    background: #034F79;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.55s ease;
}

.mobile-hamburger span:first-child {
    transform-origin: 0% 0%;
}

.mobile-hamburger span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

.opened .mobile-hamburger span
{
    opacity: 1;
    transform: rotate(45deg) translate(-7px, -12px);
}
.opened .mobile-hamburger span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

.opened .mobile-hamburger span:nth-last-child(2)
{
    transform: rotate(-45deg) translate(-5px, 12px);
}

@media (max-width: 768px) {
    .action-form__data .form-row textarea {
        height: 5em;
    }

    .info {
        position: static;
    }

    .info h3 {
        margin: 15px 0 0;
    }

    .dog-popup__content {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        transform: none;
        border-radius: 0;
    }

    .mobile-hamburger {
        display: block;
    }

    .dog-popup .data {
        padding: 50px 15px 70px;
    }

    .dog-popup .tabs-wrapper .tabs {
        display: none;
        position: absolute;
        background: #ffffff;
        left: 0;
        right: 0;
        padding: 0 15px 15px;
        border: none;
        box-shadow: 0px 5px 9px -4px #034F79;
        border-radius: 0;
    }

    .dog-popup .tabs-wrapper .tab-item {
        border-radius: 5px;
    }

    .dog-popup .tabs-wrapper.opened .tabs {
        display: block;
    }

    .action-form__data form {
        display: block;
    }

    /* Responsive Table */
    .tab-items {
        margin-bottom: 15px !important;
    }

    .tab-item {
        padding: 10px;
    }

    .tab-items table, th, td,
    .dog-popup table, th, td {
        border: none;
    }

    .tab-items table thead,
    .dog-popup table thead {
        display: none;
    }

    .tab-items table tbody,
    .dog-popup  table tbody {
        display: flex;
        flex-wrap: wrap;
    }

    .tab-items table tbody tr,
    .tab-items table tbody td,
    .dog-popup table tbody tr,
    .dog-popup table tbody td {
        display: block;
        border: 0;
    }

    .tab-items table tbody td,
    .dog-popup table tbody td {
        padding: 0 0 5px 0;
        font-weight: bold;
        display: flex;
        align-items: center;
        font-size: 14px;
    }

    .tab-items table tbody td:last-child,
    .dog-popup table tbody td:last-child {
        padding-bottom: 0;
    }

    .tab-items table tbody td:before,
    .dog-popup table tbody td:before {
        content: attr(data-label);
        width: 130px;
        min-width: 130px;
        display: inline-block;
        text-transform: capitalize;
        font-weight: normal;
        font-size: 12px;
    }

    .tab-items table tbody td.status,
    .dog-popup table tbody td.status {
        position: absolute;
        top: 4px;
        right: 4px;
    }

    .tab-items table tbody tr,
    .dog-popup table tbody tr {
        position: relative;
        width: 100%;
        border: 1px solid #E7E7E7;
        padding: 8px;
        margin: 4px 0;
    }
}