/* Add you custom css here */
.directorist-form-multi-address-field {
    background: #f9fafb;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.directorist-form-multi-address-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.address_field_holder {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address_item {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    background: #fff;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.address_item input[type="text"] {
    flex: 1;
    min-width: 250px;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}

.remove_address_btn {
    background-color: #ef4444;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    position: absolute;
    top: 4%;
    right: 1%;
}

.remove_address_btn:hover {
    background-color: #dc2626;
}

.add_address_btn {
    margin-top: 12px;
    background-color: #3b82f6;
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.add_address_btn:hover {
    background-color: #2563eb;
}

.directorist-single-info__addresses{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.address_item {
    display: block; /* Important: don't let flex affect the block lines */
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    background-color: #f9f9f9;
    position: relative;
}

/* First line: Address full width */
.address_line {
    width: 100%;
    margin-bottom: 10px;
}

.address_line input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Second line: Branch Label + Phone side by side */
.branch_line {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.branch_line > div {
    flex: 1;
    min-width: 150px;
}

.branch_line input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


.address-copy-wrapper {
    position: relative;
}

.address-copy-wrapper input {
    width: 100%;
    padding-right: 40px;
}

.copy-address-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #555;
}

.copy-address-btn:hover {
    color: #0073aa;
}

.copy-message {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    color: #16a34a;
}

.directorist-branch-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.directorist-branch-table th,
.directorist-branch-table td {
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    text-align: left;
    font-size: 14px;
}

.directorist-branch-table th {
    background-color: #f9fafb;
    font-weight: 600;
}

.directorist-branch-table tr:nth-child(even) {
    background-color: #fcfcfc;
}

.location-phone {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #555;
}

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f5f5f5;
            padding: 20px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            overflow: hidden;
        }

        .header {
            background: #4285f4;
            color: white;
            padding: 20px;
            text-align: center;
        }

        .header h1 {
            font-size: 24px;
            margin-bottom: 5px;
        }

        .header p {
            font-size: 14px;
            opacity: 0.9;
        }

        .controls {
            padding: 15px 20px;
            background: #f8f9fa;
            border-bottom: 1px solid #ddd;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .controls button {
            padding: 10px 20px;
            background: #4285f4;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s;
        }

        .controls button:hover {
            background: #357ae8;
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .controls button:active {
            transform: translateY(0);
        }

        #map {
            width: 100%;
            height: 600px;
        }

        .location-list {
            padding: 20px;
            border-top: 1px solid #ddd;
        }

        .location-list h3 {
            margin-bottom: 15px;
            color: #333;
        }

        .location-item {
            padding: 12px;
            margin-bottom: 10px;
            background: #f8f9fa;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .location-item:hover {
            background: #e8f0fe;
            transform: translateX(5px);
        }

        .location-number {
            width: 30px;
            height: 30px;
            background: #4285f4;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            flex-shrink: 0;
        }

        .location-details {
            flex: 1;
        }

        .location-details strong {
            display: block;
            color: #333;
            margin-bottom: 3px;
        }

        .location-details small {
            color: #666;
            font-size: 13px;
        }

        .info-window {
            padding: 15px;
            max-width: 280px;
        }

        .info-window img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 4px;
            margin-bottom: 12px;
        }

        .info-window h3 {
            margin: 0 0 10px 0;
            font-size: 16px;
            color: #333;
        }

        .info-window p {
            margin: 8px 0;
            font-size: 14px;
            color: #666;
            line-height: 1.4;
        }

        .info-window .icon {
            margin-right: 5px;
        }

        .info-window a {
            display: inline-block;
            margin-top: 10px;
            padding: 8px 16px;
            background: #4285f4;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 500;
        }

        .info-window a:hover {
            background: #357ae8;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: #666;
        }

        @media (max-width: 768px) {
            body {
                padding: 10px;
            }

            #map {
                height: 400px;
            }

            .controls {
                flex-direction: column;
            }

            .controls button {
                width: 100%;
            }
        }
