/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f6f8;
    color: #333;
}

/* Layout Container */
.container {
    display: flex;
    height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 240px;
    background-color: #1a202c;
    color: #fff;
    padding: 20px;
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
    overflow-y: auto;
}

.sidebar h4 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 25px;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    padding-left: 0;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    color: #cbd5e0;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.sidebar ul li a:hover {
    background-color: #2d3748;
    color: #fff;
}

/* Content Area */
.content {
    margin-left: 240px;
    padding: 30px;
    width: calc(100% - 240px);
    overflow-y: auto;
}

.content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.table thead {
    background-color: #edf2f7;
    text-align: left;
    color: #4a5568;
}

.table th, .table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.table tbody tr:hover {
    background-color: #f1f5f9;
}

.table td {
    word-wrap: break-word;
}




/* Buttons */
.btn {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-primary {
    background-color: #3182ce;
}

.btn-primary:hover {
    background-color: #2b6cb0;
}

.btn-danger {
    background-color: #e53e3e;
}

.btn-danger:hover {
    background-color: #c53030;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 13px;
}

.btn-update {
    background-color: #007bff;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-update:hover {
    background-color: #0056b3;
}

/* General Form Styles */
.form-group {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.form-group label {
    font-weight: bold;
    color: #2266c2; /* blue */
    font-size: 16px;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
}

/* Property Features Section */
.form-group .property-features {
    display: flex;
    flex-wrap: wrap;
}

.form-group .property-features label {
    margin-right: 20px;
    font-size: 14px;
    color: #444;
}

.form-group .property-features label input[type="checkbox"] {
    margin-top: 0;
}

/* About Property Section */
#about-property-container {
    margin-top: 10px;
}

.about-property-box {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: #f7d488; /* light gold */
    padding: 10px;
    border-radius: 5px;
}

.about-property-box input[type="text"] {
    flex-grow: 1;
    margin-right: 10px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.remove-about-box {
    background-color: #d4a373; /* terracotta */
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

.remove-about-box:hover {
    background-color: #b98d58;
}

/* Add Another Button */
#add-about-box {
    background-color: #2266c2; /* blue */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

#add-about-box:hover {
    background-color: #1a4e9d;
}

#add-about-box:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
