* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
        /* outline: 2px solid green */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Inter";
    background-color: #FCE3A5;
    gap: 130px;
}

header {
    position: relative;
    top: 0;
    width: 100%;
    z-index: 2;
    left: 0;
    box-shadow:0px 4px 6px rgba(0, 0, 0, 0.1)
}
header, footer {
    width: 100%;
}
main {
    gap: 70px;
    flex-grow: 0;
    padding: 0;
  }

.form_login {
    display: flex;
    flex-direction: column;
    gap: 40px;
    background-color: #FFF0CA;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: auto;
    max-width: 500px;
    align-items: center;
    margin: 130px auto; 
}

.login {
    border-radius: 10px;
    border: none;
    font-size: 16px;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

.inputs {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.zag_login {
    font-size: 30px;
}

.bttn-login {
    width: 100%;
    background-color: #EAD08E;
    padding: 20px;
    display: flex;
    justify-content: center;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
}

.register_page {
    color: black;
    text-decoration: none;
}

footer {
    width: 100%;
    background-color: #FFF0CA;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-top: 40px;
}
.register {
    outline: none;
}
.form_login input[type="file"] {
    display: none;
}
.welcome {
    font-size: 30px;
}

.dashboard {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 80px;
    align-items: center;
}

.hello {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}
.logout {
    font-size: 19px;
    color: black;
    text-decoration: none;
}
.information-user {
    display: flex;
    flex-direction: column;
}

.inputs_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.form-group-first {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input_info {
    box-sizing: border-box;
    width: 100%;
    /* Инпуты занимают всю ширину */
    padding: 28px 18px;
    outline: none;
    border: none;
    border-radius: 10px;
    background-color: #fff;
    font-size: 18px;
    transition: border-color 0.2s ease, 
    box-shadow 0.2s ease;
}

.sign_inputs {
    font-size: 23px;
}

button {
    align-self: flex-start;
    /* Кнопка выравнивается слева */
    padding: 20px 20px;
    border: none;
    border-radius: 10px;
    background-color: #ebd294;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin: 0 auto;
    display: flex;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #dab87a;
}

.profile-image-container {
    text-align: center;
}

.profile-image-label {
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.profile-image.clickable {
    max-width: 150px;
    border-radius: 50%;
    transition: transform 0.2s ease;
    height: 6vw; 
    width:6vw;
}
.profile-image {
    max-width: 150px;
    max-height: 150px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.plus-icon {
    font-size: 35px;
    color: white;
}
.profile-image:hover {
    transform: scale(1.1);
}
/* Стилизуем кружочек */
.custom-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: #ccc; /* Серый цвет */
    border-radius: 50%; /* Делаем круг */
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.custom-upload:hover {
    background-color: #bbb; /* Изменяем цвет при наведении */
}

.custom-upload i {
    font-size: 30px;
    color: #fff;
    font-family: Inte;
    font-weight: bold;
}
.form-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.inputs_product {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    background-color: #FFF0CA;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}
.info-product {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.image-product {
    width: 100px;
    height: 100px;
    transition: transform 0.2s ease;
}
.profile-image-product {
    width: 150px;
    height: auto;
    border-radius: 0;
}
.message-container {
    margin-bottom: 20px;
    text-align: center;
  }
  .success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 25px;
    border: 1px solid #c3e6cb;
  }
  .error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 25px;
    border: 1px solid #f5c6cb;
  }
  .reviews-moderation {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.moderation-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.moderation-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.moderation-comment {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.moderation-actions {
    display: flex;
    width: 100%;
}
.inline-form {
    width: 50%;
}
.bttn-kind {
    background-color: #44b85f;
    border: none;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    border-radius: 0px 0px 0px 5px;
    width: 100%;
    cursor: pointer;
    font-family: "Inter";
    height: 100%;
    align-items: center;
}
.bttn-kind:hover {
    background-color: #35ea5f;
}
.bttn-delete {
    background-color: #e3515f;
    border: none;
    width: 100%;
    color: white;
    padding: 20px;
    border-radius: 0px 0px 5px 0px;
    cursor: pointer;
    font-family: "Inter";
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}
.bttn-delete:hover {
    background-color: #ff7683;
}

.approved-badge {
    background-color: #45e06a;
    color: white;
    width: 50%;
    padding: 15px;
    border-radius: 0px 0px 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
/* Общие стили для истории заказов */
.order-history {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.order-card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #FFF0CA;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

/* .order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
} */

.order-header {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-header span {
    font-size: 18px;
    color: #777;
}

.order-items {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.order-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.product-image-container {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    margin-right: 15px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.order-total {
    text-align: right; 
    font-size: 18px; 
    color: #333; 
    margin-top: 10px;
}
.product-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.product-price {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

.product-quantity {
    font-size: 16px;
    color: #777;
    font-weight: 500;
}

.no-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    color: #999;
    font-size: 12px;
    border-radius: 6px;
}
.inputs_product input[type="file"] {
    display: none;
}
.sign_product {
    font-size: 20px;
}
.delivery-order {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}
.transport {
    display: flex;
    align-items: center;
    gap: 5px;
}
.three-transports {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.order-page-container {
    background-color: #FFF0CA;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .order-page-container h1 {
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
  }

  .order-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .order-form label {
    font-size: 14px;
    font-weight: bold;
    color: #555;
  }

  .order-form input,
  .order-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
  }

  .order-form textarea {
    resize: none;
  }

  .order-summary {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  }

  .order-summary p {
    margin: 0;
    font-size: 16px;
    color: #555;
  }

  .order-summary span {
    font-weight: bold;
    color: #333;
  }

  .place-order-button {
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 5px;
    border: none;
    background-color: #ebd294;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .pickup-map {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none; /* Скрыт по умолчанию */
}


.pickup-map .address {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.pickup-map .address:hover {
    text-decoration: underline;
}
.admin-orders {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.order-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
}
.info_orders {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.order_items {
    font-size: 20px;
}
.order-card-admin {
    gap: 40px;
    width: calc(33.33% - 15px);
    display: flex;
    justify-content: space-between;
    padding: 0;
}
.order-header-admin {
    padding: 15px;
}
.order-items-admin {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 17px;
    padding: 15px;
}
.approved-badge-orders {
    width: 100%;
}
.all-admin-orders {
    display: flex;
}
.rejected-badge {
    width: 100%;
    background-color: #c0303e;
    border-radius: 0px 0px 5px 5px;    
}
.three_orders {
    display: flex;
    justify-content: center; /* Равномерное распределение карточек */
    gap: 20px; /* Отступ между карточками */
    flex-wrap: wrap; /* Перенос карточек на новую строку при необходимости */
    margin-bottom: 30px; /* Отступ между группами карточек */
}

  /* .place-order-button:hover {
    background-color: #dabf7a;
  } */
@media (max-width: 1040px) {
    .three_comments {
        gap: 15px; /* Уменьшаем промежутки между карточками */
    }

    .first-comment {
        max-width: 350px; /* Уменьшаем максимальную ширину карточек */
    }

    .text-comment1 {
        font-size: 14px; /* Уменьшаем размер текста */
    }

    h2 {
        font-size: 22px; /* Уменьшаем размер заголовка */
    }
    .welcome {
        font-size: 25px;
    }
    .sign_inputs {
        font-size: 20px;
    }
    .order-card-admin {
        gap: 0;
    }
    .order-header-admin span {
        font-size: 14px;
    }
    .order_items {
        font-size: 14px;
    }
    .order-items-admin {
        font-size: 15px;
        gap: 0;
    }
}
@media (max-width: 910px) {
    .zag_login {
        font-size: 25px;
    }
    .three_comments {
        gap: 10px; /* Ещё уменьшаем промежутки между карточками */
    }

    .first-comment {
        width: 300px; /* Дальнейшее уменьшение ширины карточек */
        gap: 5px;
        padding: 0;
    }

    .text-comment1 {
        font-size: 11px; /* Ещё уменьшаем размер текста */
    }
    small {
        font-size: 9px;
    }
    h2 {
        font-size: 20px; /* Ещё уменьшаем размер заголовка */
    }
    .image-comment1 {
        width: 70px;
        height: 70px;
    }
    .choose_reviews {
        width: 150px;
        height: 60px;
        font-size: 12px;
    }
    .logout {
        font-size: 15px
    }
    .welcome {
        font-size: 20px;
    }
    .dashboard {
        gap: 10px;
    }
    .order-card-admin {
        width: calc(50% - 15px); /* Две карточки в строке */
    }
        .order-card-admin {
        gap: 0;
    }
    .order-header-admin span {
        font-size: 12px;
    }
    .order_items {
        font-size: 14px;
    }
    .order-items-admin {
        font-size: 15px;
        gap: 0;
    }
}
@media (max-width: 768px) {
    .zag_login {
        font-size: 20px;
    }
    .form_login {
        padding: 40px;
        margin-top: 80px;
    }
    main {
        padding-top: 70px;
    }
    footer {
        padding: 10px;
    }
    .custom-upload {
        width: 80px;
        height: 80px;
    }
    header {
        position: absolute;
    }
    .header-admin {
        position: relative;
    }
    .three_comments {
        justify-content: center; /* Центрируем карточки */
        gap: 10px;
    }
    .hello {
        flex-direction: column;
        gap: 10px;
    }
    .profile-image.clickable {
        width: 10vw;
        height: 10vw;
    }
    .input_info {
        padding: 18px 18px;
        font-size: 14px;
    }
    .sign_inputs {
        font-size: 15px;
    }
    .form-group {
        gap: 15px;
    }
    .first-comment {
        padding: 0; /* Уменьшаем внутренние отступы */
        max-width: 200px;
    }

    .image-comment1 {
        width: 60px; /* Уменьшаем размер аватара */
        height: 60px;
    }

    .text-comment1 {
        font-size: 10px; /* Уменьшаем размер текста */
    }
    .button-logout {
        margin: 0 auto;
    }
    h2 {
        font-size: 14px; /* Уменьшаем размер заголовка */
    }
}
@media (max-width: 600px) {
    .zag_login {
        font-size: 15px;
    }
    .form_login {
        padding: 30px;
        margin-top: 80px;
        gap: 30px;
        max-width: 400px;
    }
    main {
        padding-top: 70px;
    }
    .login {
        font-size: 10px;
    }
    .bttn-login {
        font-size: 11px;
    }
    .register_page {
        font-size: 11px;
    }
    .three_comments {
        gap: 15px; /* Минимальные промежутки между карточками */
        flex-wrap: wrap;
    }
    .order-page-container {
        margin: -40px auto;
        padding: 30px;
    }
    .order-form label {
        font-size: 11px;
    }
    .order-form input, .order-form textarea {
        font-size: 11px;
    }
    .order-summary p {
        font-size: 12px;
    }
    .place-order-button {
        font-size: 13px;
    }
    .transports {
        font-size: 12px;
    }
    .first-comment {
        max-width: 190px;
    }
    .comments {
        gap: 15px;
    }
    .image-comment1 {
        width: 50px; /* Минимальный размер аватара */
        height: 50px;
    }

    .text-comment1 {
        font-size: 10px; /* Минимальный размер текста */
    }

    h2 {
        font-size: 16px; /* Минимальный размер заголовка */
    }
    .main-admin {
        padding: 0 20px;
    }
    .inputs_product {
        gap: 20px;
        padding: 30px;
    }
    .custom-upload {
        width: 60px;
        height: 60px;
    }
    .custom-upload i {
        font-size: 20px;
    }
    .sign_product {
        font-size: 13px;
    }
    .info-product {
        gap: 15px;
    }
    select {
        font-size: 11px;
    }
    .add-product {
        font-size: 12px;
    }
    .bttn-delete, .bttn-kind, .approved-badge {
        font-size: 13px;
    }
    .welcome {
        font-size: 18px;
    }
    .bttn-save {
        margin-top: -20px;
    }
    .order_items {
        font-size: 12px;
    }
    .order-items-admin {
        font-size: 12px;
    }
}
@media (max-width: 450px) {
    .zag_login {
        font-size: 12px;
    }
    .form_login {
        padding: 20px;
        margin-top: 50px;
        gap: 30px;
        width: 230px;
    }
    main {
        padding-top: 70px;
    }
    .login {
        font-size: 10px;
        padding: 10px;
    }
    .bttn-login {
        font-size: 9px;
        padding: 10px;
    }
    .register_page {
        font-size: 9px;
    }
    .inputs {
        /* padding: 20px; */
        gap: 20px;
    }
    .custom-upload {
        width: 60px;
        height: 60px;
    }
    .custom-upload i {
        font-size: 20px;
    }
    .form-group-first {
        flex-direction: column;
        gap: 20px;
    }
    .dashboard {
        flex-direction: column;
        margin-top: 50px;
    }
    .register {
        width: 100%;
    }
    .three_comments {
        gap: 15px; /* Минимальные промежутки между карточками */
    }
    .comments {
        gap: 15px;
    }
    .first-comment {
        max-width: 100%; /* Карточки занимают всю доступную ширину */
    }

    .image-comment1 {
        width: 50px; /* Минимальный размер аватара */
        height: 50px;
    }

    .text-comment1 {
        font-size: 10px; /* Минимальный размер текста */
    }

    h2 {
        font-size: 14px; /* Минимальный размер заголовка */
    }
    .zagolovok-add {
        font-size: 12px;
    }
    .bttn-delete, .bttn-kind, .approved-badge {
        font-size: 12px;
    }
    .profile-image.clickable {
        width: 17vw;
        height: 17vw;
    }
    .welcome {
        font-size: 14px;
    }
    .order-page-container {
        padding: 20px;
    }
    .order-form label, .order-form input, .order-form textarea {
        font-size: 10px;
    }
    .transports {
        font-size: 8px;
    }
    .order-summary p, .place-order-button {
        font-size: 10px;
    }
    .order-history {
        gap: 30px;
    }
    .order-header span {
        font-size: 13px;
    }
    .product-name {
        font-size: 14px;
    }
    .product-price, .product-quantity, .order-total {
        font-size: 13px;
    }
    .product-image-container {
        width: 100px;
        height: 70px;
    }
    .order-card-admin {
        width: calc(100% - 15px); /* Две карточки в строке */
    }
}