/* amlak/adminpanel/addhome/style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #F7F9FC;
    color: #2C2C2C;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.amenity-badge{
    padding: 8px 0 8px 0;
    border-bottom: 1px solid #bbbbbb;
}

.header {
    background: linear-gradient(135deg, #0D3B66 0%, #1a5490 100%);
    color: white;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 17px;
    box-shadow: 0 4px 15px rgba(13, 59, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header h1 {
    display: flex;
    font-size: 14px;
    line-height: 24px;
    text-align: start;
    align-items: center;
}

.header h1 i {
    margin-left: 10px;
}

.back-btn {
    background: rgb(235 107 6);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: fixed;
    top: 16px;
    right: 16px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.back-btn i {
    margin-left: 5px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.alert i {
    font-size: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-success a {
    color: #0D3B66;
    text-decoration: underline;
    margin-right: 10px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.property-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #F7F9FC;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    color: #0D3B66;
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #F4A261;
    display: inline-block;
}

.form-section h2 i {
    margin-left: 10px;
    color: #F4A261;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #0D3B66;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group label i {
    margin-left: 5px;
    color: #6C7A89;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #F4A261;
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: #F4A261;
    background: #FFF9F5;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #F7F9FC;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: #FFF9F5;
    border-color: #F4A261;
}

.checkbox-item input[type="checkbox"] {
    margin-left: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #F4A261;
}

.checkbox-item input[type="checkbox"]:checked + span {
    color: #0D3B66;
    font-weight: 600;
}

.checkbox-item span {
    font-size: 14px;
    color: #6C7A89;
    transition: all 0.3s ease;
}

.checkbox-item span i {
    margin-left: 5px;
}

.submit-btn {
    background: linear-gradient(135deg, #F4A261 0%, #e89350 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.4);
}

.submit-btn i {
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        flex-direction: row;
        gap: 15px;
        text-align: center;
    }
    
    
    
    .property-form {
        padding: 20px;
    }
    
    .form-section h2 {
        font-size: 18px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    
    
    .form-section h2 {
        font-size: 16px;
    }
    
    .submit-btn {
        font-size: 16px;
        padding: 12px 30px;
    }
}

/* Property List Styles */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.property-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #e0e0e0;
}

.property-content {
    padding: 20px;
}

.property-title {
    font-size: 18px;
    font-weight: 600;
    color: #0D3B66;
    margin-bottom: 10px;
}

.property-location {
    color: #6C7A89;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-details {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #F7F9FC;
}

.property-detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #6C7A89;
}

.property-detail-item i {
    color: #F4A261;
}

.property-price {
    font-size: 20px;
    font-weight: 700;
    color: #F4A261;
    margin-top: 15px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.badge-sale {
    background: #d4edda;
    color: #155724;
}

.badge-rent {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-mortgage {
    background: #fff3cd;
    color: #856404;
}

.no-properties {
    text-align: center;
    padding: 60px 20px;
    color: #6C7A89;
}

.no-properties i {
    font-size: 64px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

/* Property Detail Page */
.property-detail-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.property-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.property-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.detail-section {
    margin-bottom: 0px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F7F9FC;
}

.detail-section h3 {
    color: #0D3B66;
    font-size: 20px;
    margin-bottom: 15px;
}

.detail-section h3 i {
    margin-left: 10px;
    color: #F4A261;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #F7F9FC;
    border-radius: 8px;
    border: 1px solid #c1c1c1;
}

.detail-item i {
    color: #F4A261;
    font-size: 18px;
}

.detail-item-label {
    color: #181818;
    font-size: 13px;
}

.detail-item-value {
    color: #0D3B66;
    font-weight: 600;
    font-size: 14px;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-badge {
    background: #F7F9FC;
    color: #0D3B66;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature-badge i {
    color: #F4A261;
}


a.requestseehome {
    font-weight: bold;
    background: #ffd7b8;
    padding: 7px 20px;
    display: flex;
    margin-bottom: 19px;
    width: 229px;
    color: black;
    align-items: center;
    text-decoration: none;
    border-radius: 11px;
}

