/* Villas listing page layout */
.villa-listing-page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
}

.villa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
}

/* Villa card */
.villa-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.villa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.villa-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.villa-card-content {
    padding: 1.2rem 1.4rem;
}

.villa-card-title {
    font-size: 1.4rem;
    margin: 0 0 .3rem;
}

.villa-card-location {
    color: #666;
    margin-bottom: .6rem;
}

.villa-card-price {
    font-weight: bold;
    margin-bottom: .8rem;
    color: #c00;
}

.villa-card-facts {
    display: flex;
    gap: .8rem;
    font-size: .9rem;
    margin-bottom: .8rem;
    color: #444;
}

.villa-card-summary {
    font-size: .95rem;
    color: #555;
    margin-bottom: 1rem;
}

.villa-card-button {
    display: inline-block;
    background: #c00;
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
}
/* ----------------------------------------------------
   PROPERTY SUBMISSION FORM — CLEAN MODERN STYLE
---------------------------------------------------- */

.forsale-form-wrapper {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.forsale-form-wrapper h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.forsale-form-wrapper label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.forsale-form-wrapper input[type="text"],
.forsale-form-wrapper input[type="email"],
.forsale-form-wrapper input[type="number"],
.forsale-form-wrapper textarea,
.forsale-form-wrapper select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 18px;
    background: #fafafa;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.forsale-form-wrapper input:focus,
.forsale-form-wrapper textarea:focus,
.forsale-form-wrapper select:focus {
    border-color: #0077cc;
    background: #fff;
    outline: none;
}

.forsale-form-wrapper textarea {
    min-height: 140px;
    resize: vertical;
}

.forsale-form-wrapper .note {
    font-size: 0.9rem;
    color: #c00;
    margin-top: -12px;
    margin-bottom: 18px;
}

/* Submit button */
.forsale-form-wrapper button[type="submit"] {
    background: #0077cc;
    color: #fff;
    padding: 14px 22px;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease;
}

.forsale-form-wrapper button[type="submit"]:hover {
    background: #005fa3;
}

/* Terms & Conditions box */
.forsale-terms-box {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 8px;
    max-height: 180px;
    overflow-y: auto;
    margin-bottom: 18px;
}

.forsale-terms-box p {
    font-size: 0.95rem;
    color: #444;
}

/* Checkbox alignment */
.forsale-form-wrapper .terms-check {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
