/*
Theme Name: Antek-Child
Theme URI: https://parkofideas.com/antek/
Text Domain: antek-child
Description: Construction And Heavy Equipment Rentals Wordpress Theme
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.0
Template: antek
Author: ideapark
Author URI: https://ideapark.com/antek-documentation/
Tags: right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, theme-options, translation-ready
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

        @media screen and (min-width:320px) and (max-width:767px) {
            .step label {
                margin: 15px 0;
                min-height: 50px;
            }

			.save-grid {
    grid-template-columns: 1fr;
}
            .row-top {
                display: block !important;
            }

            .left {
                padding: 40px 20px !important;
            }

            .left,
            .right {
                width: 100% !important;
                position: unset !important;
            }

            .right img {
                height: 390px !important;
            }

            .container {
                display: block !important;
                min-height: auto !important;
            }
        }

        *,
        *:before,
        *:after {
            box-sizing: border-box;
        }

        body {
            font-family: Arial;
            background: #f4f6f8;
            margin: 0;
        }

        .labelhd {
            font-weight: 600;
            margin: 25px 0 10px;
        }

        .container {
            display: flex;
            min-height: 100vh;
        }

        .left {
            width: 65%;
            padding: 40px 60px;
        }

        .right {
            width: 35%;
            position: fixed;
            right: 0;
            height: 100%;
        }

        .right img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* STEPS */

        .step {
            display: none;
            margin-top: 35px;
        }

        .step.active {
            display: block;
        }

        /* GRID */

        .radio-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-top: 10px;
        }

        .radio-card {
            border: 1px solid #ddd;
            padding: 12px;
            border-radius: 6px;
            background: white;
            cursor: pointer;
        }

        .radio-card input {
            margin-right: 6px;
        }

        .row {
            display: flex;
            gap: 10px;
        }

        .field {
            flex: 1;
        }

        /* INPUTS */

        input,
        select,
        textarea {
            width: 100%;
            padding: 15px 10px 12px;
            margin-top: 6px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        .dimensions {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

        .upload-box {
            border: 1px dashed #ccc;
            padding: 20px;
            text-align: center;
            border-radius: 6px;
            background: white;
        }

        .address {
    border: 0px solid #9ed49e;
    padding: 10px;
    border-radius: 6px;
    background: white;
}


        .summary {
            background: white;
            border: 1px solid #ddd;
            padding: 15px;
            border-radius: 6px;
            margin-top: 15px;
        }

        /* BUTTON */

        .next, .next-to-delivery-step, .next-to-additional-step, .go-to-step-two {
            margin-top: 20px;
            background: #FDB913;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            cursor: pointer;
        }

        /* MAP */

        .map {
            height: 300px;
            background: #e2e6ea;
            margin-top: 20px;
            border-radius: 6px;
        }

        .option-box {
            display: flex !important;
            align-items: center;
            justify-content: space-between;
            background: #fff;
            border-radius: 6px;
            cursor: pointer;
            box-shadow: 0 0 4px #3d4a5d14, 0 2px 4px #3d4a5d1f;
        }

        .left_ineer {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .left_ineer input {
            width: 18px;
            height: 18px;
        }

        .step textarea {
            min-height: 100px;
        }

        .icon {
            font-size: 18px;
            color: #555;
        }

        .date-input {
            border: none;
            outline: none;
            font-size: 16px;
            color: #777;
        }

        .row-top {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        label.option-box.cstm-p {
            padding: 0 10px;
        }

        .step label, .input-fields-row-show label.option-box {
            padding: 15px 10px 12px;
            display: block;
        }

        .newcon {
            max-width: 950px;
            margin: auto;
        }

        .newcon h2 {
            margin-bottom: 20px;
        }

        .card {
            background: #fff;
            border-radius: 8px;
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        }

        /* ITEM BLOCK */
        .item-block {
            padding: 20px 0;
            border-bottom: 1px solid #e5e7eb;
        }

        .item-block:last-child {
            border-bottom: none;
        }

        /* ITEM CARD */

        .item-grid {
            display: grid;
            grid-template-columns: auto auto auto;
            align-items: center;
            gap: 50px;
        }

        .item-left {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .image-box {
            width: 60px;
            height: 60px;
            background: #cbd5e1;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
        }

        .total {
            margin-top: 20px;
            text-align: right;
            border-top: 1px solid #e5e7eb;
            padding-top: 15px;
            font-weight: bold;
        }

        /* PICKUP DELIVERY */

        .details-grid {
            display: grid;
            grid-template-columns: 220px 1fr 1fr 1fr;
            gap: 25px;
        }

       .details-grid .section-title {
    font-size: 18px;
    font-weight: bold;
    font-weight: 800 !important;
}

        .address {
    color: #2563eb;
    font-size: 18px;
    margin-top: 8px;
    font-weight: 600;
}

        .label {
            font-weight: bold;
            margin-top: 10px;
        }

        .value {
            margin-bottom: 8px;
            font-size: 14px;
        }

        .distance {
            margin-top: 20px;
            font-size: 14px;
        }

        .additional {
            margin-top: 20px;
        }

        label.d-flex input {
            width: auto;
            margin: 0px;
        }

        label.d-flex {
            display: flex;
            align-items: center;
            justify-content: start;
            gap: 10px;
        }

        .footer {
            display: flex;
            justify-content: space-between;
            margin-top: 25px;
        }

        .footer button {
            padding: 10px 16px;
            border-radius: 4px;
            border: 1px solid #cfd6e0;
            background: #fff;
            cursor: pointer;
            font-weight: 500;
        }

        .footer .add {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .upload-box {
            border: 2px dashed #cfd6e0;
            border-radius: 8px;
            padding: 25px;
            background: #fff;
            text-align: center;
            cursor: pointer;
            transition: 0.3s;
            width: 100%;
        }

        .upload-box:hover {
            border-color: #3b82f6;
            background: #f9fbff;
        }

        .upload-box.dragover {
            border-color: #3b82f6;
            background: #eef4ff;
        }

        .upload-icon {
            font-size: 28px;
            margin-bottom: 8px;
        }

        .upload-text {
            font-size: 16px;
        }

        .upload-text span {
            color: #3b82f6;
            font-weight: 600;
        }

        .upload-info {
            font-size: 14px;
            color: #555;
            margin-top: 6px;
        }

        #fileInput {
            display: none;
        }

        .file-list {
            margin-top: 15px;
            font-size: 14px;
        }
		input.error {
			border-color: #e90a0a;
		}
		label.option-box.error {
			border: solid 1px #dddddd;
			border-color: #e90a0a;
		}
 


.itemUploadBox input {
    display: none;
}
.dynamic-fields{
display:none;
}
	.preview-item {
    margin-top: 10px;
}

.preview-item button {
    background: #000;
    color: #fff !important;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}
	
	.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 15px;
  margin-top: 20px;
  align-items: center;
}

.field label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.input-box {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.input-box input {
  width: 100%;
  border: none;
  padding: 12px;
  padding-right: 60px;
  outline: none;
}

.unit {
  position: absolute;
  right: 35px;
  font-size: 12px;
  color: #666;
}

.inc-dec {
  position: absolute;
  right: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.inc-dec button {
  width: 25px;
  height: 50%;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
}

.inc-dec button:hover {
  background: #e0e0e0;
}

.total {
  font-size: 16px;
}

.total strong {
  font-size: 18px;
}

@media(max-width:768px){
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
	
.item-image-upload {
    margin-top: 15px;
}
.image-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-top: 10px;
}
	.dynamic-fields,
.common-fields {
    display: none;
}

span.select2.select2-container {
    width: 100% !important;
}
.date-box input {
    width: 100%;
    border: 0px !important;
}

/*  main part calcalander css 
 *Parent */
.date-box {
    position: relative;
}

/* Input styling */
.date-box input[type="date"] {
    border: none;
    outline: none;
    font-size: 14px;
    color: #6b7280;
    background: transparent;
    padding-right: 30px; /* space for icon */
    cursor: pointer;
}

/* Hide default calendar icon (important) */
.date-box input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Custom icon */
.date-box::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;

    background: url("data:image/svg+xml,%3Csvg fill='%236b7280' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 18px;
}
label.option-box.cstm-p {
    padding: 0 10px 0 15px;
}
/* wrapper */
.tooltip-box {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* tooltip hidden by default */
.tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 205px;
       background-color: #2d2b2c;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
	    text-align: center;

    position: absolute;
    bottom: 130%; /* above icon */
    left: 50%;
    transform: translateX(-50%);

    transition: all 0.25s ease;
    z-index: 100;
}

/* arrow */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

/* show on hover */
.tooltip-box:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.save-grid {
    grid-template-columns: 1fr;
}