/* Enhanced Contact Form Styling for Property Detail Page */

/* Form container */
.detail-card .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Form group styling */
.detail-card .form-group {
    margin-bottom: 0;
}

.detail-card .form-group input,
.detail-card .form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2d3748;
    font-family: inherit;
}

.detail-card .form-group input:focus,
.detail-card .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color, #14b8a6);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
    background: #ffffff;
}

.detail-card .form-group input::placeholder,
.detail-card .form-group textarea::placeholder {
    color: #a0aec0;
}

.detail-card .form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

/* Button styling */
.detail-card .btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.detail-card .btn-primary {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.detail-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.4);
}

.detail-card .btn-primary:active {
    transform: translateY(0);
}

.detail-card .btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    box-shadow: none;
}

.detail-card .btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Contact divider */
.detail-card .contact-divider {
    text-align: center;
    margin: 1.25rem 0;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-card .contact-divider::before,
.detail-card .contact-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
}

/* Icon styling */
.detail-card .btn i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {

    .detail-card .form-group input,
    .detail-card .form-group textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
}