﻿

/*
body {
    
    background: #ffffff;
    min-height: 100vh;
    padding: clamp(20px, 5vw, 40px) clamp(10px, 3vw, 20px);
    color: #1a1a1a;
    font-size: clamp(14px, 2vw, 16px);
}*/
.unihr-toast {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #fff8e1, #fde69f);
    color: #d35400;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 15px;
    max-width: 100%;
    transform: translateY(20px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.unihr-toast strong {
    color: #d35400;
}

.hstlform_form-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(145deg, #ffffff 0%, #fafbff 100%);
    border-radius: clamp(16px, 3vw, 24px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(236, 240, 255, 0.6);
    padding: clamp(24px, 5vw, 48px);
    width: 100%;
    max-width: clamp(300px, 90vw, 920px);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

    .hstlform_form-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
        background-size: 300% 100%;
        animation: hstlform_shimmer 8s ease-in-out infinite;
    }

@keyframes hstlform_shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hstlform_form-header {
    text-align: center;
    margin-bottom: clamp(24px, 5vw, 48px);
    position: relative;
}

.hstlform_form-title {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: clamp(8px, 2vw, 12px);
}

.hstlform_form-subtitle {
    color: #64748b;
    font-size: clamp(14px, 2.5vw, 17px);
    font-weight: 500;
    opacity: 0.8;
}

.hstlform_form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 45vw, 300px), 1fr));
    gap: clamp(16px, 3vw, 28px);
    margin-bottom: clamp(20px, 4vw, 32px);
}

.hstlform_form-group {
    position: relative;
}

.hstlform_form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: clamp(6px, 1.5vw, 10px);
    font-size: clamp(13px, 2vw, 15px);
    letter-spacing: -0.01em;
}

.hstlform_form-input, .hstlform_form-select {
    width: 100%;
    padding: clamp(12px, 2.5vw, 16px) clamp(14px, 2.5vw, 20px);
    border: 2px solid #e2e8f0;
    border-radius: clamp(8px, 2vw, 12px);
    font-size: clamp(14px, 2vw, 16px);
    background: linear-gradient(145deg, #ffffff 0%, #fbfcff 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.hstlform_form-select {
    appearance: none;
    background-image: linear-gradient(145deg, #ffffff 0%, #fbfcff 100%), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236366f1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right clamp(10px, 2vw, 16px) center;
    background-repeat: no-repeat;
    background-size: auto, clamp(14px, 3vw, 18px);
    cursor: pointer;
}

    .hstlform_form-input:focus, .hstlform_form-select:focus {
        border-color: #6366f1;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12), 0 4px 12px rgba(99, 102, 241, 0.15);
        transform: translateY(-1px);
    }

    .hstlform_form-input:hover, .hstlform_form-select:hover {
        border-color: #cbd5e1;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    }

.hstlform_main-form {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
}

.hstlform_file-upload-group .hstlform_aspnet-fileupload {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    top: 0;
    left: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0;
    pointer-events: none;
}

.hstlform_file-upload-group input[type="file"] {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0;
    pointer-events: none;
}

.hstlform_file-upload-group {
    position: relative;
    border: 2px dashed #e2e8f0;
    border-radius: clamp(10px, 2vw, 16px);
    padding: clamp(16px, 4vw, 32px) clamp(12px, 3vw, 24px);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #fefeff 0%, #f8faff 100%);
    cursor: pointer;
    overflow: hidden;
    pointer-events: auto;
    min-height: 120px;
}

    .hstlform_file-upload-group::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
        transition: left 0.6s;
    }

    .hstlform_file-upload-group:hover::before {
        left: 100%;
    }

    .hstlform_file-upload-group:hover {
        border-color: #6366f1;
        background: linear-gradient(145deg, #fefeff 0%, #f0f4ff 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
    }

    .hstlform_file-upload-group.hstlform_has-file {
        border-color: #10b981;
        background: linear-gradient(145deg, #ecfdf5 0%, #f0fdf4 100%);
    }

        .hstlform_file-upload-group.hstlform_has-file .hstlform_file-upload-text {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hstlform_file-upload-group.hstlform_has-file .hstlform_file-upload-icon {
            color: #10b981;
        }

.hstlform_file-upload-content {
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.hstlform_file-upload-icon {
    width: clamp(40px, 10vw, 56px);
    height: clamp(40px, 10vw, 56px);
    margin: 0 auto clamp(8px, 2vw, 16px);
    color: #6366f1;
    opacity: 0.7;
}

.hstlform_file-upload-text {
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: clamp(4px, 1vw, 6px);
}

.hstlform_file-upload-subtext {
    font-size: clamp(12px, 2vw, 14px);
    color: #64748b;
    font-weight: 500;
}

.hstlform_file-info {
    display: none;
    margin-top: clamp(8px, 2vw, 16px);
    padding: clamp(8px, 2vw, 12px) clamp(10px, 2vw, 16px);
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
    border-radius: clamp(6px, 2vw, 10px);
    font-size: clamp(12px, 2vw, 14px);
    color: #059669;
    font-weight: 600;
}

    .hstlform_file-info.hstlform_show {
        display: block;
    }

    .hstlform_file-info.hstlform_error {
        background: linear-gradient(135deg, #fef2f2 0%, #fef3f2 100%);
        border: 1px solid #fca5a5;
        color: #dc2626;
    }

.hstlform_submit-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    color: white;
    border: none;
    padding: clamp(14px, 3vw, 18px) clamp(24px, 5vw, 40px);
    border-radius: clamp(10px, 2vw, 14px);
    font-size: clamp(15px, 2.5vw, 17px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin-top: clamp(20px, 4vw, 32px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
}

    .hstlform_submit-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s;
    }

    .hstlform_submit-btn:hover::before {
        left: 100%;
    }

    .hstlform_submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    }

    .hstlform_submit-btn:active {
        transform: translateY(-1px);
    }

.hstlform_form-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: clamp(24px, 5vw, 40px) 0;
}

.hstlform_required {
    color: #ef4444;
    font-weight: 700;
}

.hstlform_section-title {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: clamp(16px, 3vw, 24px);
    padding-bottom: clamp(8px, 2vw, 12px);
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #6366f1, #8b5cf6);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

#map {
    height: clamp(250px, 50vw, 400px);
    width: 100%;
    border-radius: clamp(10px, 2vw, 16px);
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #ffffff 0%, #fbfcff 100%);
}

    #map:hover {
        border-color: #6366f1;
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
        transform: translateY(-2px);
    }

#pac-input {
    width: clamp(200px, 80vw, 300px);
    height: clamp(36px, 8vw, 40px);
    padding: clamp(10px, 2.5vw, 16px) clamp(12px, 2.5vw, 20px);
    margin-top: clamp(8px, 2vw, 10px);
    border: 2px solid #e2e8f0;
    border-radius: clamp(8px, 2vw, 12px);
    font-size: clamp(14px, 2vw, 16px);
    background: linear-gradient(145deg, #ffffff 0%, #fbfcff 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
    z-index: 10;
}

    #pac-input:focus {
        border-color: #6366f1;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12), 0 4px 12px rgba(99, 102, 241, 0.15);
        transform: translateY(-1px);
    }

    #pac-input:hover {
        border-color: #cbd5e1;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    }

.hstlform_map-container {
    position: relative;
    margin-bottom: clamp(20px, 4vw, 32px);
}

.hstlform_map-info {
    display: none;
    margin-top: clamp(8px, 2vw, 16px);
    padding: clamp(8px, 2vw, 12px) clamp(10px, 2vw, 16px);
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
    border-radius: clamp(6px, 2vw, 10px);
    font-size: clamp(12px, 2vw, 14px);
    color: #059669;
    font-weight: 600;
}

    .hstlform_map-info.hstlform_show {
        display: block;
    }

.hstlform_form-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.hstlform_form-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899, #f59e0b);
    border-radius: clamp(18px, 3vw, 26px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hstlform_form-container:hover::after {
    opacity: 0.1;
}

.hstlform_calculate-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: white;
    border: none;
    padding: clamp(12px, 2.5vw, 16px) clamp(20px, 4vw, 32px);
    border-radius: clamp(8px, 2vw, 12px);
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: clamp(6px, 2vw, 10px);
    width: fit-content;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    touch-action: manipulation;
}

    .hstlform_calculate-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s;
    }

    .hstlform_calculate-btn:hover::before {
        left: 100%;
    }

    .hstlform_calculate-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    }

    .hstlform_calculate-btn:active {
        transform: translateY(0);
    }

.hstlform_btn-icon {
    width: clamp(16px, 4vw, 20px);
    height: clamp(16px, 4vw, 20px);
    flex-shrink: 0;
}

.hstlform_privacy-toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(10px, 2vw, 15px) 0;
    margin-bottom: clamp(3px, 1vw, 5px);
    gap: clamp(6px, 2vw, 10px);
    flex-wrap: wrap;
}

.hstlform_privacy-toggle-label {
    font-weight: 600;
    font-size: clamp(14px, 2vw, 16px);
    color: #6366f1;
}

.hstlform_privacy-toggle-switch {
    position: relative;
    display: inline-block;
    width: clamp(48px, 10vw, 56px);
    height: clamp(24px, 5vw, 28px);
    flex-shrink: 0;
}

    .hstlform_privacy-toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.hstlform_privacy-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f9ddeb;
    transition: .4s;
    border-radius: clamp(20px, 5vw, 28px);
}

    .hstlform_privacy-slider:before {
        position: absolute;
        content: "";
        height: clamp(16px, 4vw, 20px);
        width: clamp(16px, 4vw, 20px);
        left: clamp(3px, 1vw, 4px);
        bottom: clamp(3px, 1vw, 4px);
        background-color: white;
        transition: .4s;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0, 150, 136, 0.2);
    }

input:checked + .hstlform_privacy-slider {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

    input:checked + .hstlform_privacy-slider:before {
        transform: translateX(clamp(24px, 6vw, 28px));
    }

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .hstlform_form-row {
        grid-template-columns: 1fr;
    }

    .hstlform_form-container {
        padding: clamp(20px, 4vw, 32px);
    }

    .hstlform_form-title {
        font-size: clamp(22px, 4.5vw, 28px);
    }

    #pac-input {
        width: 100%;
    }
}

@media (max-width: 600px) {
    body {
        padding: clamp(10px, 3vw, 15px);
    }

    .hstlform_form-container {
        margin: clamp(5px, 2vw, 10px);
        border-radius: clamp(12px, 3vw, 16px);
    }

    .hstlform_form-row {
        gap: clamp(12px, 3vw, 16px);
    }

    .hstlform_form-input, .hstlform_form-select {
        padding: clamp(10px, 2vw, 12px);
    }

    #map {
        height: clamp(200px, 45vw, 300px);
    }

    .hstlform_submit-btn {
        padding: clamp(12px, 3vw, 14px) clamp(20px, 5vw, 24px);
        font-size: clamp(14px, 2.5vw, 15px);
    }

    .hstlform_privacy-toggle-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hstlform_form-title {
        font-size: clamp(20px, 5vw, 24px);
    }

    .hstlform_form-subtitle {
        font-size: clamp(12px, 2.5vw, 14px);
    }

    .hstlform_form-label {
        font-size: clamp(12px, 2vw, 13px);
    }

    .hstlform_form-input, .hstlform_form-select {
        font-size: clamp(12px, 2vw, 14px);
    }

    .hstlform_file-upload-group {
        padding: clamp(12px, 3vw, 16px);
    }

    .hstlform_file-upload-icon {
        width: clamp(32px, 8vw, 40px);
        height: clamp(32px, 8vw, 40px);
    }

    .hstlform_calculate-btn {
        padding: clamp(10px, 2.5vw, 12px) clamp(16px, 4vw, 20px);
        font-size: clamp(13px, 2vw, 14px);
    }
}

@media (min-width: 1200px) {
    .hstlform_form-container {
        max-width: clamp(920px, 80vw, 1100px);
    }

    .hstlform_form-row {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

