/* =========================================
   SIDEBAR & FORM STYLES
   ========================================= */

/* Sticky Inquiry Sidear */
.inquiry-sidebar {
    background: #ffffff;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 110px;
    /* Offset for header */
}

.inquiry-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 15px;
    display: inline-block;
    width: 100%;
}

/* Beautiful Inputs */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    /* Slight radius */
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 40, 32, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230F2820%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: left 15px top 50%;
    /* Left for RTL */
    background-size: 12px auto;
}

/* Broker/Agent Card */
.agent-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.agent-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
}

.agent-info {
    flex: 1;
}

.agent-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.agent-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
}

.agent-actions {
    display: flex;
    gap: 10px;
}

.agent-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s;
}

.agent-btn:hover {
    transform: scale(1.1);
}

.agent-btn.whatsapp {
    background: #25D366;
}

.agent-btn.call {
    background: var(--color-primary);
}

@media (max-width: 992px) {
    .inquiry-sidebar {
        position: static;
        margin-top: 40px;
    }
}