:root{

    --primary:#0f2942;

    --primary-light:#1d466d;

    --gold:#d4af37;

    --gold-hover:#c49a1d;

    --white:#ffffff;

    --light:#f8fafc;

    --gray:#6b7280;

    --border:#e5e7eb;

    --shadow:0 15px 40px rgba(0,0,0,.08);

    --radius:18px;

}

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}



body{

    direction:rtl;

    font-family:Tahoma,sans-serif;

    background:#fff;

    color:#222;

    line-height:1.8;

}



a{

    text-decoration:none;

}



img{

    max-width:100%;

    display:block;

}



.container{

    width:90%;

    max-width:1400px;

    margin:auto;

}



.gold-text{

    color:var(--gold);

}

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}



body{

    direction:rtl;

    font-family:Tahoma,sans-serif;

    background:#fff;

    color:#222;

    line-height:1.8;

}



a{

    text-decoration:none;

}



img{

    max-width:100%;

    display:block;

}



.container{

    width:90%;

    max-width:1400px;

    margin:auto;

}



.gold-text{

    color:var(--gold);

}

header{

    background:var(--primary);

    position:sticky;

    top:0;

    z-index:1000;

    box-shadow:0 5px 20px rgba(0,0,0,.1);

}



.header-container{

    width:90%;

    max-width:1400px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}



.logo{

    color:white;

    font-size:30px;

    font-weight:bold;

}



.logo i{

    color:var(--gold);

}



nav{

    display:flex;

    gap:15px;

    align-items:center;

}



nav a{

    color:white;

    transition:.3s;

}



nav a:hover{

    color:var(--gold);

}

.btn-gold,

.btn-gold-small{



    background:var(--gold);

    color:#111;

    border-radius:10px;

    transition:.3s;

    font-weight:bold;

}



.btn-gold{

    display:inline-block;

    padding:12px 25px;

}



.btn-gold-small{

    padding:10px 18px;

}



.btn-gold:hover,

.btn-gold-small:hover{

    background:var(--gold-hover);

}

.hero{



background:

linear-gradient(rgba(15,41,66,.75),rgba(15,41,66,.75)),

url(images/hero.png);



background-size:cover;

background-position:center;



min-height:600px;



display:flex;

align-items:center;

justify-content:center;



text-align:center;



color:white;

}



.hero-content{

width:90%;

max-width:900px;

}



.hero h1{

font-size:55px;

margin-bottom:20px;

}



.hero p{

font-size:22px;

margin-bottom:40px;

}

.search-box{



background:white;



padding:15px;



border-radius:15px;



box-shadow:var(--shadow);



}



.search-box form{



display:flex;



gap:10px;



}



.search-box input{



flex:1;



padding:15px;



border:1px solid #ddd;



border-radius:10px;



font-size:17px;



}



.search-box button{



background:var(--gold);



border:none;



padding:15px 30px;



border-radius:10px;



cursor:pointer;



font-weight:bold;



}

.section-header{



text-align:center;



margin:70px 0 50px;



}



.section-header h2{



font-size:40px;



margin-bottom:10px;



}



.section-header p{



color:gray;



}

.properties-grid{



display:grid;



grid-template-columns:repeat(auto-fit,minmax(340px,1fr));



gap:30px;



margin-bottom:80px;



}

.property-card{



background:white;



border-radius:18px;



overflow:hidden;



box-shadow:var(--shadow);



transition:.4s;



}



.property-card:hover{



transform:translateY(-10px);



}



.card-image{



position:relative;



height:260px;



overflow:hidden;



}



.card-image img{



width:100%;



height:100%;



object-fit:cover;



transition:.5s;



}



.property-card:hover img{



transform:scale(1.1);



}

.property-tag{



position:absolute;



top:20px;



left:20px;



padding:8px 18px;



border-radius:30px;



color:white;



font-weight:bold;



}



.for-sale{



background:#16a34a;



}



.for-rent{



background:#2563eb;



}

.card-content{



padding:25px;



}



.card-content h3{



margin-bottom:15px;



font-size:25px;



}



.property-location{



color:gray;



margin-bottom:15px;



}



.property-details{



display:flex;



justify-content:space-between;



margin:20px 0;



}



.property-price{



font-size:28px;



font-weight:bold;



color:var(--gold);



margin-bottom:20px;



}

.why-us{



background:#f8fafc;



padding:90px 0;



}



.features-grid{



display:grid;



grid-template-columns:repeat(auto-fit,minmax(280px,1fr));



gap:30px;



}



.feature-card{



background:white;



padding:40px;



text-align:center;



border-radius:18px;



box-shadow:var(--shadow);



transition:.4s;



}



.feature-card:hover{



transform:translateY(-8px);



}



.feature-card i{



font-size:55px;



color:var(--gold);



margin-bottom:20px;



}



.feature-card h3{



margin-bottom:15px;



}

footer{



background:var(--primary);



color:white;



margin-top:80px;



}



.footer-container{



width:90%;



max-width:1400px;



margin:auto;



display:grid;



grid-template-columns:repeat(auto-fit,minmax(250px,1fr));



gap:40px;



padding:70px 0;



}



.footer-section h3,

.footer-section h4{



margin-bottom:20px;



color:var(--gold);



}



.footer-section ul{



list-style:none;



}



.footer-section li{



margin-bottom:12px;



}



.footer-section a{



color:white;



}



.footer-section a:hover{



color:var(--gold);



}



.social-icons{



display:flex;



gap:15px;



margin-top:20px;



}



.social-icons a{



width:45px;



height:45px;



background:rgba(255,255,255,.1);



display:flex;



justify-content:center;



align-items:center;



border-radius:50%;



}



.footer-bottom{



text-align:center;



padding:20px;



border-top:1px solid rgba(255,255,255,.1);



}

@media(max-width:768px){



.header-container{



flex-direction:column;



gap:20px;



}



nav{



flex-wrap:wrap;



justify-content:center;



}



.hero h1{



font-size:38px;



}



.hero p{



font-size:18px;



}



.search-box form{



flex-direction:column;



}



.property-details{



flex-direction:column;



gap:10px;



}



}
/* ===== أنماط إضافية لـ client.php ===== */

/* صفحة التفاصيل */
.property-detail-section {
    margin: 50px 0;
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.detail-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: auto;
}

.detail-info h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.detail-location {
    color: var(--gray);
    margin-bottom: 20px;
}

.detail-specs {
    display: flex;
    gap: 25px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.spec-item i {
    color: var(--gold);
    margin-left: 8px;
}

.detail-price {
    font-size: 32px;
    font-weight: bold;
    color: var(--gold);
    margin: 20px 0;
}

.detail-description {
    margin-top: 30px;
}

.detail-description h3 {
    margin-bottom: 15px;
}

/* الشريط الجانبي */
.owner-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 25px;
    position: sticky;
    top: 100px;
}

.owner-card h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.owner-info p {
    margin-bottom: 12px;
}

.owner-info i {
    color: var(--gold);
    width: 25px;
}

.contact-form {
    margin-top: 25px;
}

.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    resize: vertical;
    font-family: inherit;
    margin: 15px 0;
}

.btn-gold-full {
    background: var(--gold);
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-gold-full:hover {
    background: var(--gold-hover);
}

/* صفحة البحث */
.search-filter-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin: 50px 0;
}

.filter-sidebar {
    background: var(--light);
    border-radius: var(--radius);
    padding: 25px;
    position: sticky;
    top: 100px;
}

.filter-sidebar h3 {
    margin-bottom: 25px;
    color: var(--primary);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
}

.reset-filter {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--gold);
    font-size: 14px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.results-header h3 {
    font-size: 24px;
}

.no-results {
    text-align: center;
    padding: 60px;
    background: var(--light);
    border-radius: var(--radius);
}

.no-results i {
    font-size: 60px;
    color: var(--gray);
    margin-bottom: 20px;
}

.success-msg {
    color: #16a34a;
    background: #dcfce7;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 992px) {
    .property-detail-grid,
    .search-filter-section {
        grid-template-columns: 1fr;
    }
    
    .owner-card {
        position: static;
    }
}
/* ===== أنماط لوحة تحكم المسؤول ===== */

.admin-body {
    background: #f5f7fb;
}

.admin-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 5%;
}

/* بطاقات الإحصائيات */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 28px;
    color: var(--gold);
}

.stat-info h3 {
    font-size: 28px;
    margin-bottom: 5px;
    color: var(--primary);
}

.stat-info p {
    color: var(--gray);
    font-size: 14px;
}

/* تنبيه النجاح */
.alert-success {
    background: #dcfce7;
    color: #16a34a;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success i {
    font-size: 20px;
}

/* شبكة الإدارة */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.admin-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    background: var(--primary);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.card-header h3 {
    font-size: 20px;
}

.card-header h3 i {
    color: var(--gold);
    margin-left: 10px;
}

.toggle-form {
    background: var(--gold);
    color: var(--primary);
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.toggle-form:hover {
    background: var(--gold-hover);
}

/* نموذج الإضافة */
.add-form {
    padding: 20px 25px;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
}

.form-row button {
    padding: 12px 25px;
}

/* الجدول */
.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px 20px;
    text-align: right;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: #f8fafc;
    font-weight: bold;
    color: var(--primary);
}

.admin-table tr:hover {
    background: #f8fafc;
}

.delete-btn {
    color: #dc2626;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.delete-btn:hover {
    color: #b91c1c;
}

.delete-btn i {
    margin-left: 5px;
}

.empty-row {
    text-align: center;
    color: var(--gray);
    padding: 40px;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
    }
    
    .stat-icon i {
        font-size: 20px;
    }
    
    .stat-info h3 {
        font-size: 20px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
    }
}
/* ===== أنماط صفحة اتصل بنا ===== */

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 45px;
    margin-bottom: 15px;
}

.contact-section {
    padding: 60px 0;
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 65px;
    height: 65px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.info-icon i {
    font-size: 28px;
    color: var(--gold);
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.info-card p {
    color: var(--gray);
    margin-bottom: 5px;
}

.social-contact {
    grid-column: span 2;
    background: white;
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow);
}

.social-contact h3 {
    margin-bottom: 15px;
}

.contact-form-box {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form-box h2 {
    margin-bottom: 25px;
    color: var(--primary);
}

.contact-form-box h2 i {
    color: var(--gold);
    margin-left: 10px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary);
}

.input-group label i {
    color: var(--gold);
    margin-left: 8px;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.map-section {
    padding: 60px 0;
    background: white;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== أنماط لوحة تحكم المسؤول الجديدة ===== */

.badge-unread {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    margin-top: 5px;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s;
    color: var(--gray);
}

.tab-btn i {
    margin-left: 8px;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #eef2ff;
}

.tab-badge {
    background: #dc2626;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    margin-right: 8px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.messages-table .unread {
    background: #fef3c7;
    font-weight: bold;
}

.messages-table .message-preview {
    max-width: 300px;
    color: #555;
}

.status-unread {
    background: #dc2626;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.status-read {
    background: #10b981;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.actions-cell a {
    display: inline-block;
    margin: 0 5px;
    font-size: 13px;
    text-decoration: none;
}

.actions-cell .view-message {
    color: var(--gold);
}

.actions-cell .mark-read {
    color: #10b981;
}

/* مودال عرض الرسالة */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 i {
    color: var(--gold);
    margin-left: 8px;
}

.close-modal {
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--gold);
}

.modal-body {
    padding: 25px;
}

.modal-message {
    background: var(--light);
    padding: 15px;
    border-radius: 12px;
    margin-top: 10px;
    line-height: 1.8;
}

.modal-footer {
    padding: 15px 25px 25px;
    text-align: left;
}

/* استجابة */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .admin-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .social-contact {
        grid-column: span 1;
    }
}
/* ===== أنماط لوحة صاحب العقار ===== */

.owner-body {
    background: #f5f7fb;
}

.owner-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 5%;
}

/* الترحيب */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.welcome-content h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.welcome-content p {
    opacity: 0.9;
}

.stats-badge {
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-circle {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* التنبيهات */
.alert-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* تبويبات المالك */
.owner-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

.owner-tabs .tab-btn {
    background: none;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s;
    color: var(--gray);
}

.owner-tabs .tab-btn i {
    margin-left: 8px;
}

.owner-tabs .tab-btn.active {
    background: var(--primary);
    color: white;
}

/* بطاقة المالك */
.owner-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.owner-card .card-header {
    background: var(--primary);
    color: white;
    padding: 20px 25px;
}

.owner-card .card-header h3 {
    margin-bottom: 5px;
}

.owner-card .card-header h3 i {
    color: var(--gold);
    margin-left: 10px;
}

.owner-card .card-header p {
    opacity: 0.8;
    font-size: 14px;
}

.owner-card .card-body {
    padding: 30px;
}

/* نموذج العقار */
.property-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.property-form .input-group {
    margin-bottom: 0;
}

.property-form .input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary);
}

.property-form .input-group input,
.property-form .input-group select,
.property-form .input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
}

.property-form .input-group textarea {
    resize: vertical;
}

.property-form small {
    display: block;
    margin-top: 5px;
    color: var(--gray);
    font-size: 12px;
}

.btn-gold-full {
    background: var(--gold);
    color: var(--primary);
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

.btn-gold-full:hover {
    background: var(--gold-hover);
}

/* شبكة عقارات المالك */
.properties-grid-owner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.property-card-owner {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.property-card-owner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.property-card-owner .card-image {
    position: relative;
    height: 220px;
}

.property-card-owner .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.property-status.active {
    background: #10b981;
    color: white;
}

.property-status.sold,
.property-status.rented {
    background: #6b7280;
    color: white;
}

.property-card-owner .card-content {
    padding: 20px;
}

.property-card-owner .card-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.property-purpose {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin: 10px 0;
}

.property-purpose.sale {
    background: #dcfce7;
    color: #16a34a;
}

.property-purpose.rent {
    background: #dbeafe;
    color: #2563eb;
}

.card-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.card-actions .delete-btn {
    background: #fee2e2;
    color: #dc2626;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
}

.card-actions .delete-btn:hover {
    background: #dc2626;
    color: white;
}

/* حالة فارغة */
.empty-state {
    text-align: center;
    padding: 60px;
}

.empty-state i {
    font-size: 70px;
    color: var(--gold);
    margin-bottom: 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.empty-state p {
    color: var(--gray);
}

/* استجابة */
@media (max-width: 768px) {
    .welcome-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .property-form .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .owner-tabs {
        flex-direction: column;
    }
    
    .owner-tabs .tab-btn {
        text-align: center;
    }
    
    .properties-grid-owner {
        grid-template-columns: 1fr;
    }
}
/* تخصيص شبكة عقارات المالك - 4 عقارات في الصف */
.properties-grid-owner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* جعل البطاقات متساوية الارتفاع */
.property-card-owner {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card-owner .card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-card-owner .card-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
}

.property-card-owner .card-image {
    position: relative;
    height: 200px;
}

.property-card-owner .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-details {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    flex-wrap: wrap;
    gap: 8px;
}

.property-details span {
    font-size: 13px;
    color: var(--gray);
}

.property-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--gold);
    margin: 10px 0;
}

.card-actions {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

/* استجابة للشاشات المختلفة */
@media (max-width: 1200px) {
    .properties-grid-owner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .properties-grid-owner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .properties-grid-owner {
        grid-template-columns: 1fr;
    }
}