/* ASK Real Estate - Search Widget Styles - COMPLETE FIX */

/* CRITICAL: Force white color with maximum specificity */
div.askre-search-widget-container div.askre-widget-title h1,
.elementor-widget-container .askre-search-widget-container .askre-widget-title h1,
.askre-search-widget-container .askre-widget-title h1,
body .askre-widget-title h1 {
    color: #ffffff !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    line-height: 1.2 !important;
    text-shadow: 0 3px 15px rgba(0,0,0,0.9) !important;
}

div.askre-search-widget-container div.askre-widget-title p,
.elementor-widget-container .askre-search-widget-container .askre-widget-title p,
.askre-search-widget-container .askre-widget-title p,
body .askre-widget-title p {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9) !important;
}

.askre-search-widget-container {
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Title Section */
.askre-widget-title {
    margin-bottom: 30px;
}

/* Search Widget */
.askre-search-widget {
    background: white;
    padding: 8px 8px 8px 25px;
    border-radius: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.askre-search-widget form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.askre-widget-input {
    flex: 1;
    border: none;
    padding: 15px 5px;
    font-size: 15px;
    outline: none;
    background: transparent;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.askre-widget-input::placeholder {
    color: #999;
}

.askre-widget-select {
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    outline: none;
    background: transparent;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.askre-widget-select:hover {
    color: #ff6b35;
}

.askre-widget-divider {
    width: 1px;
    height: 30px;
    background: #e0e0e0;
}

.askre-widget-btn {
    background: #ff6b35 !important;
    color: white !important;
    border: none !important;
    padding: 0 40px !important;
    height: 50px !important; /* set fixed height */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}


.askre-widget-btn:hover {
    background: #ff5722 !important;
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(255,107,53,0.4) !important;
}

.askre-widget-btn:active {
    transform: scale(0.98);
}

/* Responsive Design */
@media (max-width: 768px) {
    .askre-search-widget-container {
        padding: 15px;
    }

    div.askre-search-widget-container div.askre-widget-title h1,
    body .askre-widget-title h1 {
        font-size: 32px !important;
    }

    div.askre-search-widget-container div.askre-widget-title p,
    body .askre-widget-title p {
        font-size: 16px !important;
    }

    .askre-search-widget {
        flex-direction: column;
        border-radius: 25px;
        padding: 20px;
        gap: 15px;
    }

    .askre-search-widget form {
        flex-direction: column;
        gap: 15px;
    }

    .askre-widget-input,
    .askre-widget-select {
        width: 100%;
        padding: 15px;
    }

    .askre-widget-divider {
        width: 100%;
        height: 1px;
    }

    .askre-widget-btn {
        width: 100%;
        padding: 15px !important;
    }

    .askre-widget-select {
        background-position: right 15px center;
    }
}

@media (max-width: 480px) {
    div.askre-search-widget-container div.askre-widget-title h1,
    body .askre-widget-title h1 {
        font-size: 24px !important;
    }

    div.askre-search-widget-container div.askre-widget-title p,
    body .askre-widget-title p {
        font-size: 14px !important;
    }
}