/* PropertyMaster Create.cshtml styles - larger inputs and clearer UI */
.form-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1.25rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #222;
}

/* PropertyMaster Index (list) styles */
.list-container {
    max-width: 1100px;
    margin: 2rem auto;
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15,23,42,0.04);
}

.property-table {
    width: 100%;
    border-collapse: collapse;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.property-table th,
.property-table td {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid #eef2f7;
    text-align: left;
    vertical-align: middle;
    color: #0f172a;
}

.property-table thead th {
    background: #fbfdff;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 2px solid #e6eefb;
}

.property-table tbody tr:hover {
    background: #fbfcff;
}

.action-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    margin-right: 0.4rem;
}

.action-links a:hover {
    text-decoration: underline;
}

/* Dashboard cards on Home/Index */
.dashboard {
    max-width: 1100px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.dashboard .card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 6px 18px rgba(15,23,42,0.04);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dashboard .card a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

/* Login form specific tweaks (re-using form-container and form-control) */
.login-container {
    max-width: 520px;
    margin: 2.2rem auto;
}

.login-container .form-actions {
    justify-content: flex-end;
}

.login-note {
    color: #6b7280;
    font-size: 0.95rem;
}

.property-form {
    display: grid;
    grid-template-columns: 1fr 1fr; /* two equal columns */
    gap: 10px; /* spacing between fields */
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

    .form-group label {
        font-weight: 600;
        font-size: 1rem;
        color: #1f2937;
    }

.form-control {
    font-size: 1.05rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
    background-color: #fbfdff;
    color: #0f172a;
}

    .form-control:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
    }

textarea.form-control {
    min-height: 160px;
    resize: vertical;
    line-height: 1.45;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-control-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #2563eb; /* modern browsers */
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.65rem 1rem;
    background: #2563eb;
    color: #ffffff;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.98rem;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
    text-decoration: none;
}

    .btn:hover {
        background: #1547b2;
    }

.link-back {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

    .link-back:hover {
        text-decoration: underline;
    }

/* Responsive adjustments */
@media (max-width: 640px) {
    .form-container {
        margin: 1rem;
        padding: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
