﻿.input-search {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 18px;
    margin-bottom: 10px;
}

.area-1 {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
}

.area-1 img{
    height: 70px;
}

.area-1 label{
    margin-top: 10px;
}

.area-3{
    flex: 1;
}

.area-2 {
    flex: 2;
    display: flex;
    padding: 20px;
    margin-right: 120px;
    text-align: center;
    align-items: center;
}

.has-search-text .area-1{
    flex: 1;
}
.has-search-text .area-3 {
    flex: 2;
}
.has-search-text .area-3 .row-1{
    width: auto;
}
.has-search-text .area-2 {
    flex: 2;
}

.has-search-text .reposive-search {
    flex: 2;
    display: none;
}

.has-search-text .boxed-text .box-label{
    display: none;
}

.boxed-text {
    position: relative;
    border: 3px solid white; /* Viền khung */
    border-radius: 10px;
    padding: 20px; /* Khoảng cách bên trong khung */
    /*margin: 20px 0 20px 35px;*/ /* Khoảng cách ngoài khung */
    margin: auto; /* Khoảng cách ngoài khung */
    text-align: center; /* Canh giữa nội dung bên trong */
/*    background-color: rgba(0, 0, 0, 0.2);*/
    background: linear-gradient(to bottom, #2DB672, rgba(0, 0, 0, 0.2) 70%);
    margin-right: 0px;
}

.box-label {
    position: absolute;
    top: -11px; /* Nâng văn bản lên trên khung */
    left: 14%; /* Đặt vị trí ngang ở giữa khung */
    transform: translateX(-50%); /* Canh giữa hoàn toàn */
    background-color: #394E89; /* Nền của nhãn để che viền */
    padding: 0 10px; /* Khoảng cách xung quanh văn bản */
    font-size: 16px; /* Kích thước chữ */
    font-weight: bold; /* In đậm chữ */
    color: white; /* Màu chữ */
}

.col-1 {
    flex: 6;
    display: flex;
    flex-direction: column;
}
.row-1 {
    height: 40px;
    text-align: left;
    width: 92px;
    align-items: center;
}

.row-search {
    position: relative;
    display: flex;
}
.row-1 .mdi-magnify {
    color: #828393;
    position: absolute;
    right: 10px;
    cursor: pointer;
}

.col-2{
    flex: 1;
}

 .row-1{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.input-dropzone {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    z-index: 1000;
}

.dropzone-area {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65vh;
    border: 2px dashed #eaeaec;
    transition: background-color 0.3s, border-color 0.3s;
}

.highlight {
    border-color: #0056b3; /* Thay đổi màu đường viền khi kéo thả */
    background-color: rgba(0, 123, 255, 0.1); /* Thay đổi màu nền khi kéo thả */
}

.dropzone-message {
    font-size: 25px;
    font-weight: 700;
    color: #0056b3;
}

.row-btn {
    position: relative;
    text-align: center;
}


.row-btn span {
    position: absolute;
    top: 50%;           
    left: 50%;        
    transform: translate(-50%, -50%); 
}


.row-btn button {
    border: none; 
    cursor: pointer; 
    background: none;
    display: inline-flex;
    align-items: center; 
    justify-content: center; 
    width: 100px;
    height: 50px;
}


.upload-image .mdi:before{
    font-size: 80px;
}

.alert-noresult, .btn-back {
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-camera {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0;
}

.policy-camera {
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.flip-horizontal {
    transform: scaleX(-1);
}

.title-camera button{
    min-width: 180px;
    text-transform: none;
    color: #636578;
    border: none;
    box-shadow: 0 0.125rem 0.625rem 0 rgba(76, 78, 100, 0.22);
    background-color: white;
}

.camera {
    margin: 20px auto;
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #eaeaec;
}

.camera video{
    padding: 10px;
    width: 100%;
    height: auto; 
    border: none;
    /*transform: scaleX(-1);*/
}

.hr-hoac {
    width: 60%;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px 400px;
}

.hr-hoac hr {
    flex-grow: 1;
    border: none;
    border-top: 2px solid #eaeaec;
    margin: 0 10px;
}

.hr-hoac span {
    padding: 0 10px;
    font-size: 18px;
}

.upload-image .btn-choose{
    margin: 30px 300px;
    display: flex;
}

.upload-image .btn-choose input{
    width: 500px;
    flex: 4;
    margin-right: 30px;
}

.dz-message .btn-choose input,
.dz-message .btn-choose button {
    pointer-events: auto;
    z-index: 1000;
}

.list-image, .camera-user {
    min-height: 65vh;
    /*border: 2px dashed #eaeaec;
    padding: 1.5rem;*/
}

.camera-user {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #eaeaec;
}

.upload-image form {
    min-height: 65vh;
}


.list-image .img-file{
    cursor: pointer;
}

.list-image img{
    object-fit: cover;
}



.img-item {
    position: relative; 
}

.img-item input {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 50;

}

.choose-style-light {
    position: absolute;
    width: 100vw;
    height: 50vh;
}



.grid-container {
  columns: 5 200px;
  column-gap: 0.5rem;
  a
{
    width: 150px;
    margin: 0 1.5rem 1.5rem 0;
    display: inline-block;
    width: 100%;
    border: solid 2px #656161;
    padding: 3px;
    /*box-shadow: 5px 5px 5px rgba(0,0,0,0.5);*/
    border-radius: 5px;
    transition: all .25s ease-in-out;
    &:hover img {
      filter: grayscale(0);
    }
    
    img {
      width: 100%;
      filter: grayscale(0);
      border-radius: 5px;
      transition: all .25s ease-in-out;
    }
    p {
      margin: 5px 0;
      padding: 0;
      text-align: center;
      font-style: italic;
    }
  }
}


