/*@font-face {
    font-family: Inter;
    src: url(../font/Inter.ttf)
}

* {
    margin: 0;
    padding: 0;
    user-select: none;
}

body, html {
    height: 100%;
    background: #121212;
}

p {
    font-family: Inter;
}

input {
    outline: none;
    border: none;
}

img {
    width: 100%;
    pointer-events: none;
}
*/
/*.loading-progress{
    display: none;
}

.loading-progress-text{
    display: none;
}

#blazor-error-ui {
    display: none;
}*/
/* �������� ��������������� ��� ��������� ��������� */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* ��������� �������������� ������ */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    height: auto;
    min-height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    /* ��������� ��������������� ������ �� ��������� */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* ��������� �������������� ������ */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.spinner {
    border: 8px solid #e3e3e3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 20px;
    font-size: 20px;
    color: #333;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    height: 100%;
    background-image: url("/images/test/nature-beach.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ��������� ���� ��������� �������� �� ������� ������ */
* {
    max-width: 100%;
}

/* �� ��� flex-����������� ��������� ����������� ��������� ������� */
.page,
.container,
.menu-container-icon {
    max-width: none;
}

.container {
    max-width: 460px !important;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    user-select: none;
}

    h1:focus {
        border: none;
        outline: none;
    }

p {
    padding: 0;
    margin: 0;
}

img {
    user-select: none;
    pointer-events: none;
}

/* Input */

.form-group {
    display: block;
    margin-bottom: 15px;
}

label {
    display: block;
    color: #1caeff;
    font-weight: bold;
    padding-top: 16px;
    padding-left: 17px;
    height: 30px;
    user-select: none;
}

.input {
    display: block;
    margin-top: -20px;
    padding: 26px 17px 8px;
    width: 100%;
    height: 61px;
    background-color: #e0f5f7e6;
    border-radius: 24px;
    border: 1px solid #ccc;
    border: none;
    font-family: inherit;
    font-size: 15px;
    color: #585555;
    font-weight: bold;
}

    .input:focus {
        outline: 0;
    }




.page {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/*.page {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    height: 100vh;
    overflow: hidden;
}*/

.container {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    max-width: 460px;
    padding-bottom: 65px;
    overflow-x: hidden;
    box-sizing: border-box;
}


/*Photo-page*/

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.custom-file-label {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: rgb(255, 255, 255);
    margin: auto;
    padding: 0px;
}

.text-area {
    resize: vertical;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    color: #08f3d5;
    font-weight: bold;
    font-size: 16px;
}

.text-area-description {
    resize: vertical;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    color: #08f3d5;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
}


/* Goods */
/*
.title-good {
    display: flex;
    padding-left: 5%;
    padding-top: 4%;
    padding-bottom: 4%;
}

    .title-good > p {
        margin: 3% 0;
        font-size: 27px;
        font-weight: bold;
    }

.good {
    display: flex;
    height: 150px;
    padding: 2% 2%;
    border: 1px solid #998d8d;
    border-bottom: none;
}

    .good:nth-child(2) {
        border-radius: 15px 15px 0 0;
    }

    .good:last-child {
        border-bottom: 1px solid #998d8d;
        border-radius: 0 0 15px 15px;
    }

.img-good {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 23%;
    padding: 3%;
}

    .img-good > img {
        display: flex;
    }

.info-good {
    display: flex;
    flex-direction: column;
    padding: 3%;
    width: 76%;
}

.good-text {
    display: flex;
    align-items: center;
    height: 40%;
}

    .good-text > p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 20px;
        font-weight: bold;
    }

.bottom-part-good {
    display: flex;
    height: 60%;
}

.bottom-left-side {
    display: flex;
    flex-direction: column;
    width: 55%;
    padding-left: 3%;
}

.name-of-the-product {
    display: flex;
    align-items: center;
    height: 50%;
}

    .name-of-the-product > p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 17px;
    }

.good-price {
    display: flex;
    align-items: center;
    height: 50%;
}

    .good-price > p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 19px;
        font-weight: bold;
        color: #1bcae6;
    }

.good-add {
    display: flex;
    justify-content: center;
    width: 45%;
}

.button-add {
    display: flex;
    justify-content: space-between;
    width: 92%;
    height: 44%;
    border-radius: 17px;
    margin-top: 27%;
    background-color: #d9f7fd;
    display: none;
}

.button-circle-plus {
    display: flex;
    margin-left: 35%;
    margin-top: 27%;
    display: none;
}

.button-minus {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

    .button-minus > img {
        width: 55%;
    }

.button-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

    .button-number > p {
        color: #605f5f;
        font-size: 17px;
        font-weight: bold;
    }

.button-plus {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

    .button-plus > img {
        width: 55%;
    }*/

/* Menu */

.menu-container-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 2;
}

.menu-container-icon {
    display: flex;
    width: 460px;
    max-width: 460px;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 10px;
    z-index: 3;
}

.bottom-menu-elements {
    display: flex;
    width: 100%;
    justify-content: space-around;
    padding-top: 3%;
    margin-top: auto;
    z-index: 4;
}

.bottom-menu-element {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /*background-color: #fddad987;*/
    z-index: 10;
}

.image {
    display: flex;
    width: 40px;
    height: 40px;
    z-index: 2;
}

.active-settings {
    content: url("../images/menu-icons/pink-settings-icon.svg");
}

.active-client {
    content: url("../images/menu-icons/pink-users-icon.svg");
}

.active-driver {
    content: url("../images/menu-icons/menu-car-pink.svg");
}

.active-route {
    content: url("../images/menu-icons/menu-route-pink.svg");
}


.icon-car {
    padding-right: 2px;
    padding-top: 4px;
}

/* Btn */

.btn {
    display: block;
    margin-top: 9%;
    width: 100%;
    padding: 16px 10px;
    border: 0;
    background-color: #1caeff;
    font-family: inherit;
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    border-radius: 24px;
}

    .btn:focus {
        outline: 0;
    }

    .btn:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

/* Auth */
.auth {
    display: flex;
    flex-direction: column;
    width: 100vw;
    max-width: 400px;
    padding: 20px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.title {
    margin: 0 0 15px;
    font-size: 26px;
    color: #1caeff;
    text-align: center;
}

.sign-in-title {
    font-size: 32px;
    margin: 6%;
}

/* Messages */
.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    font-size: 14px;
    text-align: center;
}

.success-message {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    font-size: 14px;
    text-align: center;
}

.auth-footer {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    color: #6c757d;
}

    .auth-footer p {
        margin: 5px 0;
    }

.back-button {
    width: 8%;
    cursor: pointer;
}

/* START PAGE*/
/*.start-page {
    height: 100vh;
    width: 100vw;
    background-image: url("../images/background-4-water.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.start-page-title {
    margin: 10% 0;
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    color: #fff;
}

.start-button-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
    margin: 10%;
    margin-bottom: 22%;
}

 driver-page 
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: #4CAF50;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

h2 {
    text-align: center;
    color: #333;
}*/

/* Map Styles */
.map-page {
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 20px;
}

/* �������������� ����������� ���������� ��� �������� ����� */
.page:has(.map-page) .container {
    max-width: 100% !important;
}

/* �������������� ������ ���� :has �� �������� */
body:has(.map-page) .container {
    max-width: 100% !important;
}

.map-header {
    margin-bottom: 20px;
}

.map-info {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

    .map-info p {
        margin: 5px 0;
        font-size: 14px;
        color: #333;
        font-weight: 500;
    }

.map-container {
    height: 600px !important;
    width: 100% !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    background: #f9f9f9;
}

#map {
    height: 100% !important;
    width: 100% !important;
}

.loading-message {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 16px;
}

.map-page .error-message {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f44336;
}

.element {
    width: 100%;
    border: none;
    outline: none;
    background-color: #e0f5f7e6;
}

    .element:focus, .element:focus-visible, .element:focus-within {
        border: none;
        outline: none;
        background-color: #c6f7fb;
    }

/* Blazor Error UI - скрыт по умолчанию, показывается только при ошибках */
/*#blazor-error-ui {
    display: none;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    #blazor-error-ui .reload {
        color: #007bff;
        text-decoration: underline;
        cursor: pointer;
    }*/

/* Показываем только если есть класс 'show' */
/*#blazor-error-ui.show {
    display: block;
}*/