
# Create buy.css - Styling for Buy module (Properties)
buy_css = '''/* Buy Module (Properties) Specific Styles */

/* Subdomain Header - Orange Theme */
.subdomain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.subdomain-logo {
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo-buy { color: #ff6d00; }
.logo-inactive { color: #999; }

.section-label {
    background: #ff6d00;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Navigation */
.subdomain-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #fff3e0;
    border-bottom: 1px solid #e0e0e0;
}

.nav-item {
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    border-radius: 25px;
    transition: all 0.3s;
    font-size: 14px;
}

.nav-item:hover {
    background: #ffe0b2;
    color: #ff6d00;
}

.nav-item.active {
    background: #ff6d00;
    color: white;
}

/* Main Content */
.subdomain-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 60vh;
}

/* Hero Section */
.properties-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #fff3e0 0%, #f8f9fa 100%);
    border-radius: 10px;
    margin-bottom: 40px;
}

.properties-hero h1 {
    font-size: 42px;
    color: #202124;
    margin-bottom: 15px;
}

.properties-hero p {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Search Box */
.search-box-large {
    display: flex;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.search-box-large input,
.search-box-large select {
    flex: 1;
    min-width: 200px;
    padding: 15px 20px;
    border: 2px solid #dadce0;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
}

.search-box-large input:focus,
.search-box-large select:focus {
    border-color: #ff6d00;
}

.search-btn {
    padding: 15px 40px;
    background: #ff6d00;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #e65100;
}

/* Quick Links */
.quick-links h2 {
    margin-bottom: 20px;
    color: #202124;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.quick-card {
    background: white;
    border: 1px solid #dadce0;
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.quick-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #ff6d00;
}

.quick-card h3 {
    color: #ff6d00;
    margin-bottom: 10px;
}

.quick-card p {
    color: #666;
    font-size: 14px;
}

/* Property Cards */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.property-card {
    background: white;
    border: 1px solid #dadce0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.property-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.property-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    position: relative;
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6d00;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.property-badge.rent {
    background: #34a853;
}

.property-content {
    padding: 20px;
}

.property-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff6d00;
    margin-bottom: 5px;
}

.property-price-period {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.property-title {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 10px;
}

.property-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.property-features {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-type {
    font-size: 13px;
    color: #999;
}

.contact-btn {
    padding: 8px 20px;
    background: #ff6d00;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.contact-btn:hover {
    background: #e65100;
}

/* Filters */
.filters-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.filter-input, .filter-select {
    flex: 1;
    min-width: 150px;
    padding: 12px 15px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 14px;
}

.filter-btn {
    padding: 12px 30px;
    background: #ff6d00;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 10px;
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h2 {
    color: #202124;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fff3e0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #202124;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6d00;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
}

.checkbox-item label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.file-upload {
    border: 2px dashed #dadce0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload:hover {
    border-color: #ff6d00;
    background: #fff3e0;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.btn-secondary {
    padding: 12px 30px;
    background: white;
    color: #666;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #f8f9fa;
}

.btn-primary {
    padding: 12px 30px;
    background: #ff6d00;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #e65100;
}

/* Agent Cards */
.agent-card {
    background: white;
    border: 1px solid #dadce0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
}

.agent-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.agent-logo {
    width: 60px;
    height: 60px;
    background: #fff3e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.agent-info h3 {
    color: #202124;
    margin-bottom: 5px;
}

.agent-info .rating {
    color: #fbbc04;
    font-size: 14px;
}

.agent-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #202124;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

/* Footer */
.subdomain-footer {
    border-top: 1px solid #e0e0e0;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    background: #f8f9fa;
}

.subdomain-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

.subdomain-footer .footer-links a {
    color: #666;
    text-decoration: none;
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover {
    background: #f8f9fa;
}

.page-number {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.page-number:hover {
    background: #f8f9fa;
}

.page-number.active {
    background: #ff6d00;
    color: white;
}

.page-dots {
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .subdomain-header {
        padding: 15px 20px;
    }
    
    .subdomain-logo {
        font-size: 22px;
    }
    
    .subdomain-nav {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .nav-item {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .search-box-large {
        flex-direction: column;
    }
    
    .search-box-large input,
    .search-box-large select,
    .search-btn {
        width: 100%;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-bar {
        flex-direction: column;
    }
    
    .filter-input,
    .filter-select,
    .filter-btn {
        width: 100%;
    }
    
    .form-row,
    .form-row.three-col {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
'''

with open('/mnt/kimi/output/buy.css', 'w') as f:
    f.write(buy_css)

print("✅ Created: buy.css (Buy module styling)")
