

.top-box-1 {
    background-color: rgba(27, 27, 27, 0.7);
    display: flex;
    position: fixed;
    width: 100%;
    padding: 15px 0;
    box-sizing: border-box;
    z-index: 1000;
    font-size: 14px;
    color: white;
}
.block-input{
  border: none;
  border-bottom: 1px solid #BCBCBC;
  margin-left: 10px;
  width: 130px;
}
.top-box {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0 15px;
	z-index: 1001;
	box-sizing: border-box;
}
.block-info-box{
  position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1001;
  padding: 12px 10px;
	box-sizing: border-box;
  background-color: white;
}
.massif-input{
  padding: 5px;
  border: 1px solid #CECECE;
  border-radius: 5px;
}

.top-box-item{
	width: 50%;
	display: flex;
	align-items: center;
}

.search-input {
    border-radius: 5px;
    border: 1px solid #bbbbbb;
    background-color: #f5f5f5;
}

.search-btn {
    background-color: white;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    flex-shrink: 0;
    border: 1px solid #bbbbbb;
}

.farmer-list {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 0 10px;
}

.farmer-list-scroll {
    height: 300px;
    overflow-y: auto;
}

.farmer-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    justify-content: space-between;
    border-bottom: 1px solid #bbbbbb;
}

.scroll {
    height: 400px;
    overflow-y: auto;
}

.item-box {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zoom-big {
    width: 45px;
    height: 45px;
    margin-top: 10px;
    z-index: 1000;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
    background-color: white;
    border-radius: 5px 5px 0 0;
}

.zoom-small {
    width: 45px;
    height: 45px;
    z-index: 1000;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
    background-color: white;
    border-radius: 0 0 5px 5px;
}

.map-mode-box {
    display: flex;
    align-items: center;
    height: 45px;
    box-sizing: border-box;
    background-color: white;
    padding: 5px;
    margin-top: 5px;
    border-radius: 10px;
}

.map-item-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    margin-left: 10px;
}

.block-list-box {
    height: 70vh;
    background-color: white;
    overflow-y: auto;
    /* 允许纵向滚动 */
    overflow-x: hidden;
    /* 隐藏横向滚动条（可选） */
}

.block-item-box {
    background-color: white;
    padding: 15px;
    border-bottom: 1px solid #d5d5d5;
}

.quequan {
    width: 33%;
    text-align: center;
    font-size: 14px;
}

.border-left {
    border-left: 1px solid #bbbbbb;
}

.block-detail-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 8px 0;
    border-bottom: 1px solid #d5d5d5;
}

.check-btn {
    padding: 8px 20px;
    border-radius: 20px;
    background: linear-gradient(270deg, #0665FE 0%, #20A3FB 100%);
    color: white;
    width: 50%;
    text-align: center;
}

.check-btn-list {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #0665FE;
    background: white;
    color: #0665FE;
    font-size: 15px;
}

.float-right-box {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    right: 15px;
    top: 100px;
    z-index: 1005;
}


/* H5 页面 CSS */

.body-main {
    position: fixed;
    /* 禁止页面整体滚动 */
    width: 100%;
    height: 100%;
    overflow-y: auto;
    /* 允许容器内滚动 */
}

.location-icon-my {
    width: 45px;
    height: 45px;
    margin-top: 10px;
    z-index: 1000;
    border-radius: 10px;
    background-color: white;
}

.c-blue {
    color: #3C9CFF;
}

.my-div-icon {
    text-align: center;
    line-height: 20px;
    white-space: nowrap;
    z-index: 1000;
    color: black;
    font-weight: bold;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    font-size: 12px;
    text-align: center;
    left: -15px;
    top: -15px;
}

#toast-container {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 15px;
    display: none;
    z-index: 1500;
}

.top-box-item {
    width: 50%;
    display: flex;
    align-items: center;
}

.center-icon {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1000;
    transform: translate(-50%, -50%);
}

.draw-btn {
    background-color: azure;
    color: black;
    padding: 10px;
    font-size: 14px;
    border-radius: 10px;
    position: absolute;
    z-index: 1000;
    top: 20px;
    left: 20px;
}

.draw-btn-box {
    position: fixed;
    bottom: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    width: 100%;
    z-index: 1001;
    left: 0;
}

.editing-btn-box {
    position: fixed;
    bottom: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    z-index: 1001;
    left: 0;
}

.normal-btn {
    padding: 10px 20px;
    color: white;
    font-size: 15px;
    background-color: #30CAB2;
    border-radius: 10px;
}

.className {
    color: #fff;
    font-size: 16px;
}

.float-box {
    position: fixed;
    right: 15px;
    top: 150px;
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

.float-icon {
    width: 45px;
    height: 45px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 50%;
    background-color: white;
    padding: 2px;
    margin-top: 20px;
}

.draw-btn-img {
    width: 60px;
    height: 60px;
}

.draw-btn-img-add {
    width: 90px;
    height: 90px;
}

.draw-btn-img-start {
    width: 60px;
    height: 60px;
}

.block-action-item {
    background-color: #F1F1F1;
    border-radius: 5px;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    display: felx;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 32%;
}

.cancle-action-btn {
    background-color: #C2FDCA;
    border-radius: 5px;
    color: #222;
    padding: 10px 0;
    width: 100%;
    margin-top: 15px;
    text-align: center;
}

.fine-tuning-ctrl {
    background: #F6F6F6;
    box-shadow: inset 0px 0px 6px 0px rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    position: fixed;
    z-index: 1001;
    bottom: 135px;
    right: 15px;
    width: 120px;
    height: 120px;
}

.ctrl-right {
    position: absolute;
    padding: 10px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.ctrl-left {
    position: absolute;
    padding: 10px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.ctrl-top {
    position: absolute;
    padding: 10px;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
}

.ctrl-bottom {
    position: absolute;
    bottom: 0;
    padding: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.ctrl-top:active {
    position: absolute;
    padding: 10px;
    top: 0px;
    left: 50%;
    transform: translateX(-50%) scale(1.3);
}

.ctrl-left:active {
    position: absolute;
    padding: 10px;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(1.3);
}

.ctrl-right:active {
    position: absolute;
    padding: 10px;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scale(1.3);
}

.ctrl-bottom:active {
    position: absolute;
    bottom: 0;
    padding: 10px;
    left: 50%;
    transform: translateX(-50%) scale(1.3);
}

.ctrl-center {
    background: linear-gradient(180deg, #FAFAFA 0%, #EEEEEE 100%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: #333;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.2);
}

.ctrl-center:active {
    opacity: 0.7;
}

.tree-icon {
    width: 85px;
    height: 85px;
}

.border-bottom {
    border-bottom: 1px solid #D8D8D8;
}

.nopick-crop {
    border: 1px solid #BBBBBB;
    border-radius: 5px;
    color: #222222;
}

.pick-crop {
    border: 1px solid #1C8AFF;
    border-radius: 5px;
    color: #1C8AFF;
}

.cropname {
    border: 1px solid #B0B0B0;
    padding: 5px 10px;
    border-radius: 5px;
    flex: 1;
    margin-top: 10px;
}

.cancle-crop {
    border: 1px solid #1C8AFF;
    border-radius: 10px;
    padding: 5px 0;
    color: #1C8AFF;
    text-align: center;
    width: 40%;
}

.delete-block-btn {
    border: 1px solid #E11212;
    border-radius: 10px;
    padding: 5px 0;
    color: #E11212;
    text-align: center;
    width: 30%;
}

.submit-crop {
    border: 1px solid #30CAB2;
    background-color: #30CAB2;
    border-radius: 30px;
    color: white;
    padding: 5px 10px;
    text-align: center;
}

.tuli{
    height: 90px;
    width: auto;
    margin-top: 10px;
}
.bd-box{
    border: 1px solid #CECECE;
    border-radius: 10px;
    margin-top: 20px;
}

.block-info {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block-info-content {
    text-align: center;
}

.block-name,
.block-area,
.block-crop {
    color: black;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
    white-space: nowrap;
}

.drag_btn {
    width: 45px;
    height: 55px;
    background: transparent;
    transform-origin: 50% 100%;
}

.no-frame-icon {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.drag-rotate {
    transform: rotate(90deg);
}

.rotated-icon {
    transform: rotate(var(--rotation-angle));
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.scroll-container {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}


/* Chrome, Safari and Opera */

.scroll-container::-webkit-scrollbar {
    display: none;
}

.area-box {
	background-color: rgba(255, 255, 255, 0.85);
	display: flex;
	padding: 8px 10px;
	align-items: center;
	border-radius: 10px;
	box-sizing: border-box;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
	justify-content: space-between;
	margin-top: 10px;
	font-size: 16px;
}