body {
    font-family: 'Montserrat', sans-serif;
    max-width: 1130px;
    margin: 0 auto;
    padding: 0;

}

/* основное меню */
header {
    max-width: 1130px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5px;
    background-color: white;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.logo img {
    max-width: 150px;
}

.menu-container {
    display: flex;
    align-items:center;
    gap: 20px;
}

.nav {
    display: flex;
    gap: 15px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    border: 2px solid white;
}

.nav a:hover {
    border: 2px solid #28a745;
}

.nav a:active {
    border: 2px solid #28a745;
}

.sign-in {
    display: flex;
    gap: 10px;
    margin-left: 30px;
}

.sign-in a {
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: black;
}

.sign-in a:hover {
    color: #00B259;
}


.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    padding-left: 25px;
    background: url(/assets/ico/600w/phone-number.png) no-repeat left center;
    background-size: 18px 18px;
}
.personAccount{
    padding: 8px 15px;
    margin-left: 20px;
}

.personAccount {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 30px;
    background: url(/assets/ico/600w/exit_1.png) no-repeat left center;
    background-size: 20px 20px;
}



.language-switcher {
    position: relative;
    display: inline-block;
}

.toggle-checkbox {
    display: none;
}

.current-lang {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.current-lang .arrow {
    max-width: 14px;
    margin-left: 10px;
    transition: transform 0.2s;
}

.language-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    list-style: none;
    padding: 0;
    width: max-content;
}

.language-options .language-option {
    padding: 8px 20px;
    cursor: pointer;
    transition: background-color 0.2s;

}

.language-options .language-option:hover {
    background-color: #f0f0f0;
}

.toggle-checkbox:checked + .current-lang + .language-options {
    display: block;
}

.toggle-checkbox:checked + .current-lang .arrow {
    transform: rotate(-90deg);
}

/* Кнопка меню */
.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: transform 0.3s, background-color 0.3s;
}

.menu-toggle {
    display: none;
}

.menu-toggle:checked + .menu-icon .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle:checked + .menu-icon .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked + .menu-icon .menu-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}


.tabs {
    margin: 40px auto;
    padding: 20px 0px;
    padding-top:0px;
    border-radius: 24px;
    border: 1px solid rgb(221, 218, 218);
}

.tab-labels {
    display: flex;
    justify-content: space-around;
    padding: 60px 40px;
    background: #f9f9f9;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.tab-labels button {
    padding: 15px 30px;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 1rem;
    border: 1px solid #f9f9f9;
}

.tab-labels button.active {
    background: #ffffff;
    font-weight: 500;
    border-radius: 5px;
    border: 1px solid #28a745;
}

.tab-content {
    display: none;
    padding: 25px 20px;
    background: white;
}

.tab-content.active {
    display: block;
}

.card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.card .info {
    font-size: 0.9rem;
}

.card .time {
    color: #4caf50;
    font-weight: bold;
}

.add-button {
    display: inline-block;
    padding: 10px 15px;
    background: #4caf50;
    color: #fff;
    font-size: 0.9rem;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
}

.add-button:hover {
    background: #388e3c;
}





/* первая вкладка */
/* профиль */
.dashboard-1 {
    margin: auto;
    padding: 20px;
}

.section-title-1 {
    font-size: 16px;
    font-weight: 500;
    color: #28a745;
    margin-bottom: 20px;
}

.user-info-1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.personal-info-1, .vehicle-info-1 {
    width: 49%;
    color: #6e6e6e;
    border-radius: 10px;
    border: 2px solid #f7f7f7;
    padding: 20px;
    display: flex;
    flex-direction: column;

}

.personal-info-rows-1{
    border-bottom: 1px solid #f9f9f9;
}

.header-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #000;
}

h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #000;
}

.info-edit-1 p {
    margin: 5px 0;
}

.edit-button-1 {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 18px;
}

.edit-button-1 img{
    width: 18px;

}

.vehicle-card-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*padding: 10px;*/
    margin-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
}

.vehicle-number-1{
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.number-template-1{
    display: flex;
    align-items: center;
    padding: 3px 6px;
    padding-top: 4px;
    border: 2px solid black;
    border-radius: 5px;

}

.flag-1 {
    margin-right: 10px;
}

.flag-1 img{
    width: 15px;
}

.delete-button-1 {
    background: none;
    border: 1px solid #ccc;
    color: #000000;
    padding: 7px 12px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.add-button-1{
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.add-button-1:hover, .delete-button-1:hover {
    background-color: #218838;
    color: white;
}

.reminders {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.reminder-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.reminder-card h4 {
    text-align: start;
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 12px;
    color: #000;
}

.reminder-card p {
    font-size: 14px;
    font-weight: 600;
    margin: 5px 0;
}

.type-of-service{
    display: flex;
    justify-content: space-between;
}
.type-of-service img{
    width: 25px;
    height: 25px;
}

.progress-bar {
    background: #ddd;
    border-radius: 5px;
    height: 8px;
    margin: 10px 0;
    position: relative;
}

.progress {
    background: #28a745;
    height: 100%;
    border-radius: 5px;
}





/* изменение профиля */

.overlay1 {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #353434de;
    visibility: hidden;
    opacity: 0;
}
.overlay1:target {
    visibility: visible;
    opacity: 1;
}
.dashboard-2 .close {
    position: absolute;
    top: 20px;
    left: 485px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}
.dashboard-2 .close:hover {
    color: #06D85F;
}

.dashboard-2 {
    position: relative;
    width: 550px;
    background-color: #fff;
    margin:auto auto;
    padding: 20px 40px;
    padding-top: 100px;
    border-radius: 20px;
}

.section-title-2 {
    font-size: 16px;
    font-weight: 500;
    color: #28a745;
    /*margin-bottom: 20px;*/
}

.personal-info-2, .vehicle-info-2 {
    /*color: #6e6e6e;*/
    /*border-radius: 10px;*/
    /*border: 2px solid #f9f9f9;*/
    /*padding: 20px;*/
    margin-bottom: 20px;
}

.personal-info-rows-2{
    border-bottom: 1px solid #ebebeb;
}

.header-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #000;
}

.edit-button-2 {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 18px;
}

.edit-button-2 img{
    width: 18px;
}

.upload {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 10px 5px;
    font-size: 16px;
}


.input-field-2 {
    width: 100%;
    padding: 15px 5px;
    margin-top: 5px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    color: #6e6e6e;
}

.input-field-2:focus {
    outline: none;
    border-color: #28a745;
}

.upload-input {

    display: none; /* скрываем сам input для загрузки */
}

.upload-button {
    margin-left: 10px;
    background: none;
    border: none;
    color: #28a745;
    font-size: 14px;
    cursor: pointer;
}

.upload-button img {
    width: 15px;
    margin-right: 5px;
}





/* добавление тс */

.overlay2 {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #353434de;
    visibility: hidden;
    opacity: 0;
}
.overlay2:target {
    visibility: visible;
    opacity: 1;
}
.dashboard-3 .close {
    position: absolute;
    top: 20px;
    left: 480px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}
.dashboard-3 .close:hover {
    color: #06D85F;
}

.dashboard-3 {
    position: relative;
    width: 550px;
    background-color: #fff;
    margin:auto auto;
    padding: 20px 40px;
    padding-top: 100px;
    border-radius: 20px;
}

.section-title-2 {
    font-size: 16px;
    font-weight: 500;
    color: #28a745;
    /*margin-bottom: 20px;*/
}

.vehicle-info-2 {
    /*color: #6e6e6e;*/
    /*border-radius: 10px;*/
    /*border: 2px solid #f9f9f9;*/
    /*padding: 20px;*/
    margin-bottom: 20px;
}

.vehicle-info-2-rows-2{
    border-bottom: 1px solid #ebebeb;
}

.header-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #000;
}

.edit-button-2 {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 18px;
}

.edit-button-2 img{
    width: 18px;
}

.upload {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 10px 5px;
    font-size: 16px;
    border-bottom: 1px solid #ebebeb;
}

.input-field-2 {
    width: 100%;
    padding: 15px 5px;
    margin-top: 5px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    color: #6e6e6e;
}

.input-field-2:focus {
    outline: none;
    border-color: #28a745;
}

.upload-input {

    display: none; /* скрываем сам input для загрузки */
}

.upload-button {
    margin-left: 10px;
    background: none;
    border: none;
    color: #28a745;
    font-size: 14px;
    cursor: pointer;
}

.upload-button img {
    width: 15px;
    margin-right: 5px;
}

/* ШТРАФЫ */
.fine-card-container {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.fine-card {
    background: #f9f9f9;
    border-radius: 10px;
    width: 350px;
    padding: 20px 40px;
}

.fine-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.fine-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.fine-card-header p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.fine-card-body .info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgb(202, 202, 202);
}

.info-row .icon img {
    width: 20px;
}

.info-row span {
    font-size: 14px;
    color: #333;
    flex-grow: 1;
    margin-left: 10px;
}

.info-row a {
    font-size: 14px;
    color: #28a745;
    text-decoration: none;
}

.info-row a:hover {
    text-decoration: underline;
}

.fine-card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.dispute-button {
    background: #fff;
    border: 1px solid #ccc;
    color: #777;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    cursor: pointer;
}

.pay-button {
    background: #28a745;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.pay-button:hover {
    background: #218838;
}




/* оспорение штрафоф */

.overlay3 {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #353434de;
    visibility: hidden;
    opacity: 0;
}
.overlay3:target {
    visibility: visible;
    opacity: 1;
}

.modal-container .close {
    position: absolute;
    top: 10px;
    left: 400px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}
.modal-container .close:hover {
    color: #06D85F;
}

.modal-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

/* Содержимое модального окна */
.modal-content {
    position: absolute;
    width: 450px;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Заголовок модального окна */
.modal-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* Метка формы (необязательно, но добавлено для структуры) */
.modal-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-align: left;
    margin-bottom: 5px;
}

/* Поле ввода текста */
.modal-textarea {
    width: 90%;
    height: 100px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    color: #333;
    resize: none;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modal-textarea:focus {
    border-color: #28a745;
}

/* Кнопка отправки */
.modal-button {
    margin-top: 20px;
    padding: 10px 20px;
    width: 100%;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.modal-button:hover {
    background-color: #218838;
}

/* история */
.history-card-container {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.history-card {
    background: #f9f9f9;
    border-radius: 10px;
    width: 350px;
    padding: 30px;
}

.history-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.history-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.history-card-header p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.history-card-body .history-card-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
}

.history-card-info-row span {
    font-size: 14px;
    color: #333;
}

.history-card-info-row strong {
    font-size: 14px;
    color: #333;
}

.history-card-amount {
    font-weight: bold;
    color: #28a745;
}

.history-card-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.status-button {
    width: 100%;
    text-align: center;
    background: #f5f5f5;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: default;
}




/* спорные заявки */

.issues-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    padding: 20px 0px;
}

.issues-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    width: 350px;
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.issues-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.issues-card-header span {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.issues-card-content {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

.issues-card-content div{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(202, 202, 202);
}

.issues-card-content div img{
    width: 20px;
    margin-right: 5px;
}

.issues-card-content .issues-vehicle-number {
    font-weight: bold;
    color: #000;
}

.issues-card-status {
    font-size: 14px;
}

.issues-card-status .issues-status-declined {
    color: red;
}

.issues-card-status .issues-status-confirmed {
    color: green;
}


/* оплаат за парковку */

.payment-container{
    display: flex;
    justify-content: center;
    align-items: center;

}

.payment-parking-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.payment-card {
    border-radius: 16px;
    padding: 50px 40px;
    width: 400px;
    text-align: center;
}

.payment-input-field {
    width: 90%;
    padding: 18px 15px;
    margin-bottom: 25px;
    border: 1px solid #28a745;
    border-radius: 8px;
    font-size: 15px;
}

.payment-input-field:focus {
    outline: none;
    border-color: #218838;
}

.payment-button {
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 17px 12px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background-color 0.3s;
}

.payment-button:hover {
    background-color: #218838;
}







@media (max-width: 1024px) {
    /* Для планшетов */
    .menu-icon {
        display: flex;
    }

    .menu-container {
        display: none;
        flex-direction: column;
        gap: 15px;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 100;
        text-align: start;
    }

    .menu-toggle:checked ~ .menu-container {
        display: flex;
    }
    .reminders {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }
    .nav {
        flex-direction: column;
        gap: 10px;
    }

    .sign-in {
        gap: 10px;
        align-items: flex-start;
        padding: 0;
        margin: 0;
        padding-left: 0;
        margin-left: 0;
    }
    .sign-in .personAccount{
        margin-left: 0;

    }

    .tabs {
        margin: 20px auto;
        padding: 15px 10px;
    }

    .tab-labels {
        padding: 40px 20px;
    }

    .tab-labels button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .tab-content {
        padding: 0px 0px;
    }

    .dashboard-1{
        width: 100%;
        margin: 0 auto;
    }

    .card {
        flex-wrap: wrap;
        text-align: center;
    }
}





@media (max-width: 600px) {

    .tabs {
        margin: 10px auto;
        padding: 10px;
        border-radius: 16px;
    }
    .reminders {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }
    .tab-labels {
        flex-direction: column;
        gap: 10px;
        padding: 20px 10px;
    }

    .tab-labels button {
        width: 100%;
        padding: 12px 10px;
        font-size: 0.8rem;
    }

    .tab-content {
        padding: 0px 0px;
    }

    .dashboard-1{
        width: 100%;
        margin: 0 auto;
    }

    .card {
        flex-direction: column;
        gap: 10px;
    }

    .user-info-1 {
        flex-direction: column;
        gap: 20px;
    }

    .personal-info-1,
    .vehicle-info-1 {
        width: 100%;
        padding: 15px;
    }

    .issues-card {
        /* width: 100%; */
        max-width: 90%;
    }

    .modal-container{
        /*margin: auto 10px;*/
        max-width: 100%;
    }
    .modal-content{
        max-width: 70%;

    }
    .modal-content .close{
        left: 245px;

    }

    .dashboard-2 .close{
        left: 90%;
    }
    .dashboard-3 .close{
        left: 400px;
    }
    .reminder-card {
        width: 100%;
    }
}





@media (max-width: 400px) {
    body {
        font-size: 0.9rem;
    }
    .reminders {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .tab-labels {
        padding: 15px 5px;
    }

    .tab-labels button {
        padding: 10px 5px;
        font-size: 0.75rem;
    }

    .tab-content {
        padding: 10px 5px;
    }

    .add-button {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .dashboard-1 {
        padding: 10px 5px;
    }

    .user-info-1 {
        flex-direction: column;
        gap: 10px;
    }

    .personal-info-1,
    .vehicle-info-1 {
        width: 100%;
        padding: 15px;
    }

    .vehicle-number-1 {
        font-size: 0.9rem;
    }

    .reminders {
        gap: 10px;
    }

    .reminder-card {
        width: 100%;
    }

    .modal-content .close{
        left: 290px;

    }

    .dashboard-2 .close{
        left: 90%;
    }

    .dashboard-3 .close{
        left: 300px;
    }


}