/**
 * Delivery Quote Form Styles
 */
.dqf-block-wrapper{
    max-width: 100%;
}

.dqf-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 80%;
    margin: 2rem auto;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dqf-form-title {
    margin-bottom: 1.5rem;
    color: var(--wp--preset--color--contrast, #000000);
    font-size: var(--wp--preset--font-size--large, 1.75rem);
    font-weight: 600;
    text-align: center;
}
.dqf-form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.dqf-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dqf-field-half {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 250px;
}

.dqf-field-quarter {
    flex: 1 1 calc(18% - 0.5rem);
    min-width: 150px;
}
.dqf-label {
    color: var(--wp--preset--color--contrast, #000000);
    font-size: var(--wp--preset--font-size--small, 0.875rem);
    font-weight: 500;
    line-height: 1.5;
}

.dqf-label .required {
    color: var(--wp--preset--color--vivid-red, #cf2e2e);
    margin-left: 0.25rem;
}
.dqf-input {
    padding: 0.75rem 1rem;
    font-size: var(--wp--preset--font-size--medium, 1rem);
    line-height: 1.5;
    color: #697277;
    background-color: var(--wp--preset--color--base, #ffffff);
    border: 1px solid #9CA9B4;
    border-radius: 8px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dqf-input:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary, #0073aa);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.dqf-input[readonly] {
    background-color: var(--wp--preset--color--base-2, #f7f7f7);
    cursor: not-allowed;
    opacity: 0.7;
}

.dqf-input.error {
    border-color: var(--wp--preset--color--vivid-red, #cf2e2e);
}

.dqf-input.error:focus {
    box-shadow: 0 0 0 3px rgba(207, 46, 46, 0.1);
}
.dqf-error-message {
    font-size: var(--wp--preset--font-size--small, 0.875rem);
    color: var(--wp--preset--color--vivid-red, #cf2e2e);
    margin-top: 0.25rem;
    min-height: 1.2rem;
}
.dqf-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}
.dqf-submit-btn {
    padding: 0.875rem 2rem;
    font-size: var(--wp--preset--font-size--medium, 1rem);
    font-weight: 500;
    color: var(--wp--preset--color--base, #ffffff);
    background-color: #278BEA;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, transform 0.15s ease-in-out;
}
.req-message{
    font-size: 16px;
    line-height: 24px;
    color: #010E16;
    letter-spacing: 0.5px;
    font-weight: 400;
}
.dqf-submit-btn:hover:not(:disabled) {
    background-color: var(--wp--preset--color--primary-hover, #005a87);
    transform: translateY(-1px);
}

.dqf-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.dqf-loading-spinner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wp--preset--color--contrast-2, #666666);
}
.dqf-loading-spinner .spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--wp--preset--color--contrast-3, #cccccc);
    border-top-color: var(--wp--preset--color--primary, #0073aa);
    border-radius: 50%;
    animation: dqf-spin 0.6s linear infinite;
}

@keyframes dqf-spin {
    to {
        transform: rotate(360deg);
    }
}
.dqf-form-message {
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: var(--wp--custom--border-radius--small, 4px);
    font-size: var(--wp--preset--font-size--medium, 1rem);
    line-height: 1.5;
    animation: dqf-fade-in 0.3s ease-in-out;
}

.dqf-form-message.success {
    background-color: var(--wp--preset--color--pale-cyan-blue, #d4edda);
    color: var(--wp--preset--color--vivid-green-cyan, #155724);
    border: 1px solid var(--wp--preset--color--vivid-green-cyan, #c3e6cb);
}

.dqf-form-message.error {
    background-color: var(--wp--preset--color--pale-pink, #f8d7da);
    color: var(--wp--preset--color--vivid-red, #721c24);
    border: 1px solid var(--wp--preset--color--vivid-red, #f5c6cb);
}

@keyframes dqf-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Google Autocomplete Dropdown Styling */
.pac-container {
    background-color: var(--wp--preset--color--base, #ffffff);
    border: 1px solid var(--wp--preset--color--contrast-3, #cccccc);
    border-radius: var(--wp--custom--border-radius--small, 4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2px;
    font-family: inherit;
}

.pac-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.pac-item:hover {
    background-color: var(--wp--preset--color--base-2, #f7f7f7);
}

.pac-item-selected {
    background-color: var(--wp--preset--color--base-2, #f0f0f0);
}

/* Pricing Packages Section */
.dqf-pricing-packages {
    margin-top: 40px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.dqf-packages-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}


/* Package Card */
.package_wrapper{
    width: 1200px;
    padding: 50px 0;
    margin: 0 auto;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.package-area{
    max-width: 376px;
    border: 2px solid #298bea;
    border-radius: 5px;
    float: left;
    margin: 0px;
    overflow: hidden;
    width: 100%;
    padding: 20px 24px 20px;
    box-sizing: border-box;
    min-height: 625px;
}
.package-area:nth-child(2),
.package-area.p-active{
    margin: 0 30px 0;
}
.p-head h2{
    font-weight: 500;
}
.p-price{
    margin: 20px 0;
    width: 100%;
    overflow: hidden;
}
.p-price h3{
    text-align: center;
    font-weight: 600;
    margin: 0;
    font-size: 26px;
    line-height: 30px;
}
.p-price h4{
    margin: 5px 0;
    font-weight: 600;
    width: 49%;
    float: left;
    font-size: 36px;
    line-height: 30px;
}
.p-price h4 b{
    font-weight: 600;
}
.package-area.p-active .p-price h4.brutto-price{
    color: #298bea;
}
.p-price span{
    font-weight: 400;
    font-size: 13px;
    color: #525252;
    clear: both;
    width: 100%;
    display: block;
    margin: 4px 0 0;
}
.p-feature ul{
    list-style: none;
    padding: 0;
    margin: 20px 0 40px;
}
.p-feature ul li{
    line-height: 27px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
}
.p-feature ul li svg{
    width: 22px;
    height: 22px;
    margin: 0;
    line-height: 14px;
    padding: 0;
}
.p-feature p{
    color: #525252;
    font-size: 16px;
    line-height: 20px;
    margin-top: 15px;
}
.p-button button{
    background: transparent;
    border: 0;
    font-size: 18px;
    margin: 30px 0 20px;
    color: #298bea;
    font-weight: 400;
    padding: 15px 25px;
    border-radius: 8px;
    transition: 0.5s all ease-out;
    cursor: pointer;
}
.p-button button:hover{
    background: #298bea;
    color: #fff;
}


/* Responsive Design */
@media (max-width: 992px) {
    .dqf-packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dqf-field-quarter {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .dqf-field-half,
    .dqf-field-quarter {
        width: 100%;
    }
    
    .dqf-form {
        padding: 20px;
    }
    
    .dqf-package-card {
        padding: 20px;
    }
    
    .dqf-price-value {
        font-size: 28px;
    }
    
    .dqf-price-brutto.highlighted .dqf-price-value {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .dqf-packages-title {
        font-size: 24px;
    }
    
    .dqf-submit-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}

