
/* ============================================================
   DOOTEE 3D TERRAIN UI V1
   ============================================================ */

.terrain3d-open-btn {

    position: fixed;

    left: 28px;
    bottom: 170px;

    z-index: 4200;

    height: 48px;

    padding: 0 18px;

    border:
      1px solid rgba(117, 226, 244, .7);

    border-radius: 9px;

    background:
      rgba(7, 50, 58, .92);

    color: #fff;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;
}


.terrain3d-modal {

    position: fixed;

    inset: 14px;

    z-index: 200000;

    display: grid;

    grid-template-rows:
      auto 1fr auto;

    background:
      #07181b;

    border:
      1px solid rgba(130, 235, 255, .75);

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
      0 20px 80px
      rgba(0, 0, 0, .55);
}


.terrain3d-modal[hidden] {

    display: none !important;
}


.terrain3d-header {

    min-height: 70px;

    display: flex;

    align-items: center;

    gap: 22px;

    padding:
      10px 14px 10px 18px;

    background:
      rgba(7, 46, 53, .98);

    border-bottom:
      1px solid
      rgba(150, 230, 240, .25);

    color: #fff;
}


.terrain3d-header > div:first-child {

    display: flex;

    flex-direction: column;

    min-width: 260px;
}


.terrain3d-header strong {

    font-size: 20px;
}


.terrain3d-header small {

    opacity: .72;

    margin-top: 2px;
}


.terrain3d-info {

    display: flex;

    gap: 20px;

    margin-left: auto;

    font-size: 13px;

    opacity: .9;
}


#closeTerrain3DBtn {

    width: 46px;
    height: 46px;

    border:
      1px solid
      rgba(90, 220, 245, .8);

    border-radius: 9px;

    background:
      #12657a;

    color: #fff;

    font-size: 22px;
    font-weight: 900;

    cursor: pointer;
}


.terrain3d-canvas {

    position: relative;

    width: 100%;
    height: 100%;

    min-height: 0;

    overflow: hidden;
}


.terrain3d-canvas canvas {

    display: block;

    width: 100%;
    height: 100%;
}


.terrain3d-loading,
.terrain3d-error {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #fff;

    font-size: 18px;
    font-weight: 700;
}


.terrain3d-footer {

    min-height: 38px;

    display: flex;

    align-items: center;

    gap: 24px;

    padding: 0 18px;

    background:
      rgba(7, 46, 53, .98);

    border-top:
      1px solid
      rgba(150, 230, 240, .2);

    color:
      rgba(255, 255, 255, .78);

    font-size: 12px;
}


@media (max-width: 768px) {

    .terrain3d-open-btn {

        left: 14px;

        bottom: 190px;

        height: 44px;

        padding:
          0 13px;

        font-size:
          14px;
    }


    .terrain3d-modal {

        inset:
          6px;

        border-radius:
          10px;
    }


    .terrain3d-header {

        min-height:
          58px;

        gap:
          8px;

        padding:
          7px 8px 7px 12px;
    }


    .terrain3d-header > div:first-child {

        min-width:
          0;

        flex: 1;
    }


    .terrain3d-header strong {

        font-size:
          15px;
    }


    .terrain3d-header small {

        font-size:
          10px;
    }


    .terrain3d-info {

        display:
          none;
    }


    #closeTerrain3DBtn {

        width:
          40px;

        height:
          40px;

        flex:
          0 0 40px;
    }


    .terrain3d-footer {

        min-height:
          34px;

        gap:
          12px;

        padding:
          0 10px;

        overflow-x:
          auto;

        white-space:
          nowrap;
    }
}

