/* ===========================
   GLOBAL STYLES
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#F5F7FA;
    color:#222;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* ===========================
   NAVBAR
=========================== */

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:#ffffff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:relative;
}

.logo h2{
    color:#0B5D1E;
    font-size:28px;
}
.logo img{
    height:200px;
    width:auto;
    display:block;
}

.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    color:#333;
    font-weight:600;
    transition:.3s;
}

.nav-links a:hover{
    color:#0B5D1E;
}

.nav-buttons{
    display:flex;
    gap:15px;
}

.login-btn{
    color:#0B5D1E;
    border:2px solid #0B5D1E;
    padding:10px 22px;
    border-radius:8px;
    font-weight:bold;
}

.register-btn{
    background:#0B5D1E;
    color:#fff;
    padding:10px 22px;
    border-radius:8px;
    font-weight:bold;
}
/* ===========================
   HERO SECTION
=========================== */

.hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:80px 8%;
    gap:50px;
}

.hero-text{
    flex:1;
}

.hero-badge{
    display:inline-block;
    background:#E8F5E9;
    color:#0B5D1E;
    padding:8px 18px;
    border-radius:20px;
    font-size:14px;
    font-weight:bold;
    margin-bottom:20px;
}

.hero-text h1{
    font-size:52px;
    color:#1F2937;
    line-height:1.2;
    margin-bottom:20px;
}

.hero-text p{
    font-size:18px;
    color:#555;
    line-height:1.8;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.primary-btn{
    background:#0B5D1E;
    color:#fff;
    padding:15px 30px;
    border-radius:10px;
    font-weight:bold;
}

.secondary-btn{
    border:2px solid #0B5D1E;
    color:#0B5D1E;
    padding:15px 30px;
    border-radius:10px;
    font-weight:bold;
}

.hero-image{
    flex:1;
}

.hero-image img{
    width:100%;
    border-radius:20px;
}
.quick-actions{
    width:90%;
    margin:80px auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.action-card{
    background:#fff;
    padding:30px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.action-card:hover{
    transform:translateY(-8px);
}

.icon{
    font-size:40px;
    margin-bottom:15px;
}

.action-card{
    background:#fff;
    border:1px solid #dcfce7;
    border-radius:15px;
    padding:30px;
    transition:.3s;
}

.action-card h3{
    margin-bottom:15px;
    color:#166534;
}

.action-card p{
    color:#555;
    line-height:1.7;
    margin-bottom:20px;
}

.action-card a{
    color:#166534;
    text-decoration:none;
    font-weight:600;
}

.action-card:hover{
    transform:translateY(-8px);
    border-color:#16a34a;
    box-shadow:0 15px 30px rgba(22,163,74,.15);
}

/* =========================
   SEARCH SECTION
========================= */

.search-section{
    width:90%;
    margin:80px auto;
    text-align:center;
}

.search-section h2{
    font-size:2rem;
    margin-bottom:10px;
    color:#166534;
}

.search-section p{
    color:#555;
    margin-bottom:30px;
}

.search-box{
    display:flex;
    gap:15px;
    justify-content:center;
    flex-wrap:wrap;
}

.search-box input,
.search-box select{
    padding:15px;
    border:1px solid #dcfce7;
    border-radius:10px;
    min-width:220px;
    font-size:16px;
    background:#fff;
    color:#333;
    transition:.3s;
}

.search-box input:focus,
.search-box select:focus{
    outline:none;
    border-color:#16a34a;
    box-shadow:0 0 10px rgba(22,163,74,.2);
}

.search-box button{
    padding:15px 30px;
    background:#166534;
    color:#fff;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.search-box button:hover{
    background:#16a34a;
}
/* =========================
   FEATURED APARTMENTS
========================= */

.featured-apartments{
    width:90%;
    margin:80px auto;
}

.section-title{
    text-align:center;
    margin-bottom:40px;
}

.section-title h2{
    font-size:2rem;
    color:#166534;
    margin-bottom:10px;
}

.section-title p{
    color:#555;
}

.apartment-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.apartment-card{
    background:#fff;
    border:1px solid #dcfce7;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

.apartment-card:hover{
    transform:translateY(-10px);
    border-color:#16a34a;
    box-shadow:0 15px 35px rgba(22,163,74,.18);
}

.apartment-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.apartment-info{
    padding:20px;
}

.apartment-info h3{
    margin-bottom:10px;
    color:#166534;
}

.apartment-info p{
    color:#555;
    line-height:1.7;
}

.price{
    color:#16a34a;
    font-weight:bold;
    font-size:18px;
    margin:15px 0;
}

.view-btn{
    display:inline-block;
    background:#166534;
    color:#fff;
    text-decoration:none;
    padding:10px 20px;
    border-radius:10px;
    transition:.3s;
}

.view-btn:hover{
    background:#16a34a;
}
/* =========================
   FEATURED ROOMMATES
========================= */

.featured-roommates{
    width:90%;
    margin:90px auto;
}

.roommate-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.roommate-card{
    background:#fff;
    text-align:center;
    padding:30px 20px;
    border:1px solid #dcfce7;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

.roommate-card:hover{
    transform:translateY(-8px);
    border-color:#16a34a;
    box-shadow:0 15px 35px rgba(22,163,74,.18);
}

.roommate-card img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:20px;
    border:4px solid #dcfce7;
}

.roommate-card h3{
    margin-bottom:8px;
    color:#166534;
}

.roommate-card p{
    color:#555;
    margin-bottom:10px;
}

.roommate-card span{
    display:block;
    margin-bottom:20px;
    color:#16a34a;
    font-weight:600;
}

.profile-btn{
    display:inline-block;
    background:#166534;
    color:#fff;
    text-decoration:none;
    padding:10px 20px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.profile-btn:hover{
    background:#16a34a;
}
/* =========================
   HOW IT WORKS
========================= */

.how-it-works{
    width:90%;
    margin:90px auto;
    text-align:center;
}

.how-it-works h2{
    color:#166534;
    margin-bottom:10px;
}

.how-it-works p{
    color:#555;
}

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

.step-card{
    background:#fff;
    padding:30px;
    border:1px solid #dcfce7;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

.step-card:hover{
    transform:translateY(-8px);
    border-color:#16a34a;
    box-shadow:0 15px 35px rgba(22,163,74,.18);
}

.step-card h3{
    color:#166534;
    margin-bottom:15px;
}

.step-card p{
    color:#555;
    line-height:1.7;
}

.step-number{
    width:60px;
    height:60px;
    background:#166534;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    font-weight:bold;
    margin:0 auto 20px;
}
/* =========================
   WHY CHOOSE US
========================= */

.why-us{
    width:90%;
    margin:90px auto;
}

.why-us h2{
    color:#166534;
    margin-bottom:10px;
    text-align:center;
}

.why-us p{
    color:#555;
    text-align:center;
}

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

.why-card{
    background:#fff;
    padding:30px;
    text-align:center;
    border:1px solid #dcfce7;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

.why-card:hover{
    transform:translateY(-8px);
    border-color:#16a34a;
    box-shadow:0 15px 35px rgba(22,163,74,.18);
}

.why-icon{
    font-size:50px;
    margin-bottom:20px;
    color:#166534;
}

.why-card h3{
    margin-bottom:15px;
    color:#166534;
}

.why-card p{
    color:#555;
    line-height:1.7;
}
/* =========================
   TESTIMONIALS
========================= */

.testimonials{
    width:90%;
    margin:90px auto;
}

.testimonials h2{
    color:#166534;
    text-align:center;
    margin-bottom:10px;
}

.testimonials p{
    color:#555;
    text-align:center;
    margin-bottom:40px;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.testimonial-card{
    background:#fff;
    padding:30px;
    border:1px solid #dcfce7;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

.testimonial-card:hover{
    transform:translateY(-8px);
    border-color:#16a34a;
    box-shadow:0 15px 35px rgba(22,163,74,.18);
}

.quote{
    color:#555;
    line-height:1.8;
    font-style:italic;
    margin-bottom:25px;
}

.student{
    display:flex;
    align-items:center;
    gap:15px;
}

.student img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #dcfce7;
}

.student h4{
    margin-bottom:5px;
    color:#166534;
}

.student span{
    color:#16a34a;
    font-size:14px;
    font-weight:600;
}
/* =========================
   CALL TO ACTION
========================= */

.cta{
    width:90%;
    margin:100px auto;
    background:var(--primary);
    color:#fff;
    text-align:center;
    padding:70px 30px;
    border-radius:25px;
}

.cta h2{
    font-size:2.3rem;
    margin-bottom:20px;
}

.cta p{
    max-width:700px;
    margin:0 auto 35px;
    line-height:1.8;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/* =========================
   CALL TO ACTION
========================= */

.cta{
    width:90%;
    margin:100px auto;
    background:linear-gradient(135deg,#166534,#16a34a);
    color:#fff;
    text-align:center;
    padding:90px 40px;
    border-radius:30px;
    box-shadow:0 20px 40px rgba(22,163,74,.25);
}

.cta h2{
    font-size:2.5rem;
    margin-bottom:20px;
    font-weight:700;
}

.cta p{
    max-width:700px;
    margin:0 auto 40px;
    line-height:1.8;
    color:#f0fdf4;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.cta .primary-btn{
    background:#fff;
    color:#166534;
    padding:15px 35px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.cta .primary-btn:hover{
    background:#dcfce7;
}

.cta .secondary-btn{
    background:transparent;
    color:#fff;
    border:2px solid #fff;
    padding:15px 35px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.cta .secondary-btn:hover{
    background:#fff;
    color:#166534;
}

/* =========================
   FOOTER
========================= */

.footer{
    background:#14532d;
    color:#fff;
    margin-top:100px;
    padding-top:60px;
}

.footer-container{
    width:90%;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer h2,
.footer h3{
    margin-bottom:20px;
    color:#fff;
}

.footer p{
    color:#dcfce7;
    line-height:1.8;
}

.footer ul{
    list-style:none;
    padding:0;
}

.footer ul li{
    margin-bottom:12px;
}

.footer ul li a{
    color:#dcfce7;
    text-decoration:none;
    transition:.3s;
}

.footer ul li a:hover{
    color:#86efac;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.15);
    text-align:center;
    padding:25px;
    margin-top:50px;
}

.footer-bottom p{
    color:#bbf7d0;
}
/* =========================
   LOGIN PAGE
========================= */

.login-page{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f8fafc;
    padding:40px 20px;
}

.login-container{
    width:100%;
    max-width:1100px;
    display:grid;
    grid-template-columns:1fr 1fr;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.login-info{
    background:linear-gradient(135deg,#166534,#16a34a);
    color:#fff;
    padding:60px 50px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.login-info h1{
    font-size:2.5rem;
    margin-bottom:20px;
}

.login-info p{
    line-height:1.8;
}

.login-form{
    padding:60px 50px;
}

.login-form h2{
    margin-bottom:30px;
    color:var(--primary);
}

.login-form label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.login-form input{
    width:100%;
    padding:15px;
    margin-bottom:20px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
}

.login-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    font-size:14px;
}

.login-options a{
    text-decoration:none;
    color:var(--primary);
}

.login-form button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:10px;
    background:#0B5D1E;
    color:#fff;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    display:block;
    text-align:center;
    transition:0.3s;
}

.login-form button:hover{
    background:#084A17;
}

.register-link{
    margin-top:25px;
    text-align:center;
}

.register-link a{
    color:var(--primary);
    text-decoration:none;
    font-weight:600;
}
.password-field{
    position:relative;
}

.password-field input{
    margin-bottom:20px;
    padding-right:50px;
}

#togglePassword{
    position:absolute;
    right:15px;
    top:40%;
    transform:translateY(-50%);
    cursor:pointer;
    user-select:none;
}
/* =========================
   HOUSING PAGE
========================= */

.housing-header{
    width:90%;
    margin:80px auto 40px;
    text-align:center;
}

.housing-header h1{
    font-size:2.5rem;
    color:#166534;
    margin-bottom:15px;
}

.housing-header p{
    color:#555;
}

.housing-search{
    width:90%;
    margin:40px auto;
    background:#fff;
    padding:30px;
    border:1px solid #dcfce7;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.housing-search input,
.housing-search select{
    flex:1;
    min-width:200px;
    padding:15px;
    border:1px solid #dcfce7;
    border-radius:10px;
    background:#fff;
    color:#333;
    transition:.3s;
}

.housing-search input:focus,
.housing-search select:focus{
    outline:none;
    border-color:#16a34a;
    box-shadow:0 0 10px rgba(22,163,74,.2);
}

.housing-search button{
    background:#166534;
    color:#fff;
    border:none;
    padding:15px 30px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.housing-search button:hover{
    background:#16a34a;
}

.housing-listings{
    width:90%;
    margin:80px auto;
}
.apartment-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.apartment-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

.apartment-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 35px rgba(22,163,74,.15);
}

.apartment-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.apartment-info{
    padding:20px;
}

.apartment-info h3{
    color:#166534;
    margin-bottom:10px;
    font-size:22px;
}

.apartment-info p{
    color:#555;
    margin:8px 0;
    line-height:1.6;
}

.price{
    font-size:22px;
    font-weight:bold;
    color:#16a34a;
    margin:15px 0;
}

.listing-actions{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.listing-actions .edit-btn,
.listing-actions .view-btn{
    flex:1;
    text-align:center;
}
/* =========================
   ROOMMATE PAGE
========================= */

.roommate-header{
    width:90%;
    margin:80px auto 40px;
    text-align:center;
}

.roommate-header h1{
    font-size:2.5rem;
    color:#166534;
    margin-bottom:15px;
}

.roommate-header p{
    color:#555;
}

.roommate-search{
    width:90%;
    margin:40px auto;
    background:#fff;
    padding:30px;
    border:1px solid #dcfce7;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.roommate-search input,
.roommate-search select{
    flex:1;
    min-width:200px;
    padding:15px;
    border:1px solid #dcfce7;
    border-radius:10px;
    background:#fff;
    color:#333;
    transition:.3s;
}

.roommate-search input:focus,
.roommate-search select:focus{
    outline:none;
    border-color:#16a34a;
    box-shadow:0 0 10px rgba(22,163,74,.2);
}

.roommate-search button{
    background:#166534;
    color:#fff;
    border:none;
    padding:15px 30px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.roommate-search button:hover{
    background:#16a34a;
}

.roommate-listings{
    width:90%;
    margin:80px auto;
}

.profile-btn{
    display:inline-block;
    background:#166534;
    color:#fff;
    padding:10px 20px;
    border-radius:10px;
    text-decoration:none;
    margin-top:15px;
    font-weight:600;
    transition:.3s;
}

.profile-btn:hover{
    background:#16a34a;
}
/* =========================
   ABOUT PAGE
========================= */

.about-header{
    width:90%;
    margin:80px auto 50px;
    text-align:center;
}

.about-header h1{
    font-size:2.5rem;
    color:#166534;
    margin-bottom:15px;
}

.about-header p{
    max-width:700px;
    margin:auto;
    color:#555;
    line-height:1.8;
}

.about-content{
    width:90%;
    margin:0 auto 80px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.about-box{
    background:#fff;
    padding:35px;
    border:1px solid #dcfce7;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

.about-box:hover{
    transform:translateY(-8px);
    border-color:#16a34a;
    box-shadow:0 15px 35px rgba(22,163,74,.18);
}

.about-box h2{
    color:#166534;
    margin-bottom:15px;
}

.about-box p{
    color:#555;
    line-height:1.8;
}
/* =========================
   CONTACT PAGE
========================= */

.contact-header{
    width:90%;
    margin:80px auto 50px;
    text-align:center;
}

.contact-header h1{
    font-size:2.5rem;
    color:#166534;
    margin-bottom:15px;
}

.contact-header p{
    max-width:700px;
    margin:auto;
    color:#555;
    line-height:1.8;
}

.contact-container{
    width:90%;
    margin:0 auto 80px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.contact-form,
.contact-info{
    background:#fff;
    padding:35px;
    border:1px solid #dcfce7;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

.contact-form:hover,
.contact-info:hover{
    transform:translateY(-8px);
    border-color:#16a34a;
    box-shadow:0 15px 35px rgba(22,163,74,.18);
}

.contact-form h2,
.contact-info h2{
    color:#166534;
    margin-bottom:20px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    margin-bottom:20px;
    border:1px solid #dcfce7;
    border-radius:10px;
    font-size:16px;
    background:#fff;
    color:#333;
    transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:#16a34a;
    box-shadow:0 0 10px rgba(22,163,74,.2);
}

.contact-form textarea{
    resize:vertical;
}

.contact-form button{
    background:#166534;
    color:#fff;
    border:none;
    padding:15px 30px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.contact-form button:hover{
    background:#16a34a;
}

.contact-info p{
    margin-bottom:15px;
    line-height:1.8;
    color:#555;
}
/* =========================
   SAFETY PAGE
========================= */

.safety-header{
    width:90%;
    margin:80px auto 50px;
    text-align:center;
}

.safety-header h1{
    font-size:2.5rem;
    color:#166534;
    margin-bottom:15px;
}

.safety-header p{
    max-width:700px;
    margin:auto;
    color:#555;
    line-height:1.8;
}

.safety-content{
    width:90%;
    margin:0 auto 80px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.safety-card{
    background:#fff;
    padding:30px;
    border:1px solid #dcfce7;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

.safety-card:hover{
    transform:translateY(-8px);
    border-color:#16a34a;
    box-shadow:0 15px 35px rgba(22,163,74,.18);
}

.safety-card h2{
    color:#166534;
    margin-bottom:15px;
}

.safety-card p{
    color:#555;
    line-height:1.8;
}
/* =========================
   DASHBOARD
========================= */

.dashboard{
    display:grid;
    grid-template-columns:260px 1fr;
    min-height:100vh;
    background:#f0fdf4;
}

.sidebar{
    background:linear-gradient(180deg,#166534,#16a34a);
    color:#fff;
    padding:30px;
}

.sidebar h2{
    margin-bottom:40px;
    color:#fff;
}

.sidebar ul{
    list-style:none;
    padding:0;
}

.sidebar ul li{
    margin-bottom:18px;
}

.sidebar ul li a{
    color:#fff;
    text-decoration:none;
    display:block;
    padding:12px;
    border-radius:10px;
    transition:.3s;
}

.sidebar ul li a:hover{
    background:rgba(255,255,255,.15);
}

.dashboard-content{
    padding:40px;
}

.dashboard-content h1{
    color:#166534;
    margin-bottom:10px;
}

.dashboard-content p{
    color:#555;
}

.dashboard-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin:40px 0;
}

.dashboard-card{
    background:#fff;
    border:1px solid #dcfce7;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 20px rgba(22,163,74,.08);
    text-align:center;
    transition:.3s;
}

.dashboard-card:hover{
    transform:translateY(-8px);
    border-color:#16a34a;
    box-shadow:0 15px 35px rgba(22,163,74,.18);
}

.dashboard-card h3{
    margin-bottom:15px;
    color:#166534;
}

.dashboard-card p{
    font-size:2rem;
    font-weight:bold;
    color:#16a34a;
}

.recent-activity{
    background:#fff;
    border:1px solid #dcfce7;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 20px rgba(22,163,74,.08);
}

.recent-activity h2{
    color:#166534;
    margin-bottom:20px;
}

.recent-activity ul{
    padding-left:20px;
}

.recent-activity li{
    margin-bottom:15px;
    color:#555;
}
/* =========================
   PROFILE PAGE
========================= */

.profile-page{
    width:90%;
    max-width:900px;
    margin:60px auto;
}

.profile-card{
    background:#fff;
    padding:40px;
    border:1px solid #dcfce7;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

.profile-card:hover{
    box-shadow:0 15px 35px rgba(22,163,74,.18);
}

.profile-image{
    text-align:center;
    margin-bottom:20px;
}

.profile-image img{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #16a34a;
}

.profile-card h1{
    text-align:center;
    color:#166534;
    margin-bottom:30px;
}

.profile-form label{
    display:block;
    margin:15px 0 8px;
    font-weight:600;
    color:#166534;
}

.profile-form input,
.profile-form select,
.profile-form textarea{
    width:100%;
    padding:15px;
    border:1px solid #dcfce7;
    border-radius:10px;
    font-size:16px;
    background:#fff;
    color:#333;
    transition:.3s;
}

.profile-form input:focus,
.profile-form select:focus,
.profile-form textarea:focus{
    outline:none;
    border-color:#16a34a;
    box-shadow:0 0 10px rgba(22,163,74,.2);
}

.profile-form textarea{
    resize:vertical;
}

.profile-buttons{
    margin-top:30px;
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
}
/* =========================
   POST APARTMENT
========================= */

.profile-page{
    background:#f5f7f6;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px 20px;
}

.profile-card{
    background:#fff;
    width:100%;
    max-width:700px;
    padding:35px;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.profile-card h1{
    text-align:center;
    color:#0d7a3d;
    margin-bottom:30px;
}

.profile-card label{
    display:block;
    margin:15px 0 8px;
    font-weight:600;
    color:#333;
}

.profile-card input,
.profile-card select,
.profile-card textarea{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    outline:none;
    transition:.3s;
    box-sizing:border-box;
}

.profile-card input:focus,
.profile-card select:focus,
.profile-card textarea:focus{
    border-color:#0d7a3d;
    box-shadow:0 0 8px rgba(13,122,61,.2);
}

.profile-card textarea{
    resize:vertical;
}

.profile-card button{
    width:100%;
    margin-top:25px;
    padding:15px;
    border:none;
    border-radius:10px;
    background:#0d7a3d;
    color:#fff;
    font-size:17px;
    cursor:pointer;
    transition:.3s;
}

.profile-card button:hover{
    background:#09582b;
    transform:translateY(-2px);
}
/* =========================
   MY LISTINGS
========================= */

#myListings{
    margin-top:30px;
}

#myListings .apartment-card{
    background:#fff;
    border-radius:15px;
    padding:25px;
    margin-bottom:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

#myListings .apartment-card:hover{
    transform:translateY(-5px);
}

#myListings .apartment-info h3{
    color:#0d7a3d;
    margin-bottom:10px;
}

#myListings .price{
    font-size:20px;
    font-weight:bold;
    color:#0d7a3d;
    margin:10px 0;
}

.listing-actions{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.listing-actions button{
    flex:1;
    padding:12px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.edit-btn{
    background:#0d7a3d;
    color:#fff;
}

.edit-btn:hover{
    background:#096330;
}

.delete-btn{
    background:#dc3545;
    color:#fff;
}

.delete-btn:hover{
    background:#b52a37;
}
/* =========================
   SAVED APARTMENTS
========================= */

#savedApartmentList{
    margin-top:30px;
}

#savedApartmentList .apartment-card{
    background:#fff;
    border-radius:15px;
    padding:25px;
    margin-bottom:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

#savedApartmentList .apartment-card:hover{
    transform:translateY(-5px);
}

#savedApartmentList h3{
    color:#0d7a3d;
    margin-bottom:10px;
}

#savedApartmentList .price{
    font-size:22px;
    font-weight:bold;
    color:#0d7a3d;
    margin:10px 0;
}

#savedApartmentList .delete-btn{
    width:100%;
    margin-top:20px;
    background:#dc3545;
    color:#fff;
    border:none;
    padding:12px;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

#savedApartmentList .delete-btn:hover{
    background:#b52a37;
}
/* =========================
   DASHBOARD HEADER
========================= */

.dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
    margin-bottom:35px;
}

.dashboard-header h1{
    color:#0d7a3d;
    font-size:34px;
    margin-bottom:10px;
}

.dashboard-header p{
    color:#666;
    font-size:16px;
}

.post-btn{
    display:inline-block;
    background:#0d7a3d;
    color:#fff;
    text-decoration:none;
    padding:14px 25px;
    border-radius:10px;
    font-weight:bold;
    transition:.3s;
}

.post-btn:hover{
    background:#09582b;
    transform:translateY(-2px);
}
/* =========================
   DASHBOARD STAT CARDS
========================= */

.card-icon{
    width:60px;
    height:60px;
    margin:0 auto 15px;
    border-radius:50%;
    background:#eaf7ef;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.dashboard-card{
    background:#fff;
    padding:30px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
    border-top:5px solid #0d7a3d;
}

.dashboard-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.12);
}

.dashboard-card h3{
    color:#444;
    margin-bottom:10px;
}

.dashboard-card p{
    font-size:32px;
    font-weight:bold;
    color:#0d7a3d;
}
/* =========================
   RECENT ACTIVITY
========================= */

.activity-item{
    display:flex;
    align-items:flex-start;
    gap:15px;
    padding:15px 0;
    border-bottom:1px solid #eee;
}

.activity-item:last-child{
    border-bottom:none;
}

.activity-item span{
    width:50px;
    height:50px;
    background:#eaf7ef;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.activity-item strong{
    color:#0d7a3d;
    display:block;
    margin-bottom:5px;
}

.activity-item p{
    color:#666;
    margin:0;
}
/* =========================
   USER SUMMARY
========================= */

.user-summary{
    margin:40px 0;
}

.summary-card{
    background:#fff;
    border-radius:15px;
    padding:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.summary-card p{
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.summary-card p:last-child{
    border-bottom:none;
}

.summary-card strong{
    color:#166534;
}
/* =========================
   FIX HOUSING APARTMENT CARDS
========================= */

#apartmentList{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

#apartmentList .apartment-card{
    width:100%;
}

#apartmentList .apartment-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}
/* =========================
   ROOMMATE REQUESTS
========================= */

#requestList{
    width:90%;
    margin:40px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
    gap:25px;
}

#requestList .apartment-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    border:1px solid #dcfce7;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

#requestList .apartment-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(22,163,74,.15);
}

#requestList .apartment-info{
    padding:25px;
}

#requestList h3{
    color:#166534;
    margin-bottom:12px;
}

#requestList p{
    color:#555;
    line-height:1.7;
    margin:10px 0;
}

#requestList .listing-actions{
    display:flex;
    gap:15px;
    margin-top:25px;
}

#requestList .primary-btn,
#requestList .secondary-btn{
    flex:1;
    padding:14px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

#requestList .primary-btn{
    background:#16a34a;
    color:#fff;
}

#requestList .primary-btn:hover{
    background:#15803d;
}

#requestList .secondary-btn{
    background:#ef4444;
    color:#fff;
}

#requestList .secondary-btn:hover{
    background:#dc2626;
}
/* =========================
   ROOMMATE REQUEST CARD
========================= */

.request-card{
    background:#fff;
    border:1px solid #dcfce7;
    border-radius:18px;
    padding:22px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
}

.request-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(22,163,74,.15);
}

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

.request-avatar{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #dcfce7;
}

.request-header h3{
    color:#166534;
    margin-bottom:5px;
}

.request-header p{
    color:#666;
}

.request-bio{
    margin-top:12px;
    color:#444;
    font-style:italic;
    line-height:1.7;
}

.request-actions{
    display:flex;
    gap:15px;
    margin-top:25px;
}

.accept-btn,
.decline-btn{
    flex:1;
    padding:14px;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.accept-btn{
    background:#166534;
    color:#fff;
    border:none;
}

.accept-btn:hover{
    background:#15803d;
}

.decline-btn{
    background:#fff;
    color:#166534;
    border:2px solid #166534;
}

.decline-btn:hover{
    background:#dcfce7;
}
/* =========================
   ROOMMATE ACTIONS
========================= */

.roommate-actions{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.profile-btn,
.request-btn{

    flex:1;
    text-align:center;
    padding:12px;
    border-radius:10px;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

.profile-btn{

    background:#fff;
    color:#166534;
    border:2px solid #166534;

}

.profile-btn:hover{

    background:#dcfce7;

}

.request-btn{

    background:#166534;
    color:#fff;
    border:none;
    cursor:pointer;

}

.request-btn:hover{

    background:#15803d;

}
/* =========================
   ROOMMATE PROFILE
========================= */

.profile-page{
    width:90%;
    max-width:900px;
    margin:80px auto;
}

.profile-card{
    background:#fff;
    border:1px solid #dcfce7;
    border-radius:20px;
    padding:40px;
    text-align:center;
    box-shadow:0 10px 30px rgba(22,163,74,.08);
}

.profile-avatar{
    width:150px;
    height:150px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #dcfce7;
    margin-bottom:20px;
}

.profile-card h1{
    color:#166534;
    margin-bottom:15px;
}

.profile-card p{
    color:#555;
    margin:8px 0;
    font-size:17px;
}

.profile-section{
    margin-top:35px;
    background:#fff;
    border:1px solid #dcfce7;
    border-radius:18px;
    padding:30px;
    box-shadow:0 8px 25px rgba(22,163,74,.05);
}

.profile-section h2{
    color:#166534;
    margin-bottom:20px;
}

.profile-section p{
    color:#555;
    line-height:1.8;
}

.lifestyle-tags{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.lifestyle-tags span{
    background:#dcfce7;
    color:#166534;
    padding:10px 18px;
    border-radius:30px;
    font-weight:600;
}

.profile-buttons{
    display:flex;
    gap:20px;
    margin-top:35px;
}

.profile-buttons button{
    flex:1;
    padding:15px;
    border-radius:10px;
    font-size:16px;
}
/* =========================
   ROOMMATE REQUESTS
========================= */

.request-list{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.request-card{
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 10px 25px rgba(22,163,74,.08);
    transition:.3s;
    border:1px solid #e5e7eb;
}

.request-card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 35px rgba(22,163,74,.15);
}

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

.request-avatar{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #16a34a;
}

.request-header h3{
    color:#166534;
    margin-bottom:5px;
}

.request-header p{
    color:#777;
    font-size:15px;
}

.request-body{
    margin:15px 0;
}

.request-body p{
    color:#555;
    line-height:1.6;
}

.request-bio{
    font-style:italic;
    color:#666;
}

.request-actions{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.accept-btn,
.decline-btn{
    flex:1;
    border:none;
    padding:12px;
    border-radius:10px;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.accept-btn{
    background:#16a34a;
    color:#fff;
}

.accept-btn:hover{
    background:#15803d;
}

.decline-btn{
    background:#ef4444;
    color:#fff;
}

.decline-btn:hover{
    background:#dc2626;
}
/* =========================
   MESSAGES
========================= */

.messages-container{

    display:flex;
    height:75vh;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    margin:30px;
}

.chat-sidebar{

    width:30%;
    background:#f6fff8;
    border-right:1px solid #e5e7eb;
    overflow-y:auto;
}

.chat-sidebar h2{

    padding:20px;
    color:#16a34a;
    border-bottom:1px solid #e5e7eb;
}

.chat-list-item{

    display:flex;
    align-items:center;
    gap:15px;
    padding:18px;
    cursor:pointer;
    transition:.3s;
    border-bottom:1px solid #f0f0f0;
}

.chat-list-item:hover{

    background:#ecfdf5;
}

.chat-avatar{

    width:55px;
    height:55px;
    border-radius:50%;
    object-fit:cover;
}

.chat-info h3{

    color:#166534;
    font-size:17px;
}

.chat-info p{

    color:#777;
    font-size:14px;
}

.chat-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.chat-time {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

.chat-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.unread-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #16a34a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.chat-window{

    flex:1;
    display:flex;
    flex-direction:column;
}

.chat-header{

    padding:20px;
    border-bottom:1px solid #e5e7eb;
    background:#16a34a;
    color:#fff;
}
.chat-header-avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    margin-right: 10px;
}
.chat-body{

    flex:1;
    overflow-y:auto;
    padding:20px;
    background:#f9fafb;
}

.empty-chat{

    text-align:center;
    margin-top:120px;
    color:#999;
}

.chat-input{

    display:flex;
    gap:15px;
    padding:20px;
    border-top:1px solid #e5e7eb;
    background:#fff;
}

.chat-input input{

    flex:1;
    padding:14px;
    border:1px solid #d1d5db;
    border-radius:10px;
    outline:none;
}

.chat-input button{

    background:#16a34a;
    color:#fff;
    border:none;
    padding:14px 25px;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.chat-input button:hover{

    background:#15803d;
}
.chat-message{
    background:#e5e7eb;
    color:#111827;
    padding:12px 16px;
    border-radius:18px 18px 18px 5px;
    width:fit-content;
    margin-right:auto;
    margin-bottom:15px;
    max-width:70%;
    word-wrap:break-word;
}

.my-message{
    background:#16a34a;
    color:#fff;
    padding:12px 16px;
    border-radius:18px 18px 5px 18px;
    width:fit-content;
    margin-left:auto;
    margin-bottom:15px;
    max-width:70%;
    word-wrap:break-word;
}
.details-image {

    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;

}
.profile-image{

    text-align:center;
    margin-bottom:20px;

}

.profile-image img{

    width:150px;
    height:150px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #16a34a;
    cursor:pointer;

}

#profileImageInput{

    display:none;

}
/* =========================
   NOTIFICATIONS
========================= */

.notifications-page{

    max-width:900px;
    margin:40px auto;
    padding:20px;

}

.notifications-page h1{

    color:#16a34a;
    margin-bottom:20px;

}

.notification-card{

    background:#fff;
    padding:18px;
    margin-bottom:15px;
    border-left:5px solid #16a34a;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.notification-time{

    color:#777;
    font-size:13px;
    margin-top:8px;

}
#notificationBadge{

    display:inline-block;
    background:red;
    color:white;
    min-width:20px;
    height:20px;
    line-height:20px;
    text-align:center;
    border-radius:50%;
    font-size:12px;
    margin-left:8px;
    font-weight:bold;

}

.dashboard-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-4px);
}

/* =========================================
   PROFILE VERIFIED NAME FIELD
========================================= */

.profile-name-field {
    position: relative;
    width: 100%;
}

.profile-name-field #profileName {
    width: 100%;
    padding-right: 50px;
}

.profile-name-field .profile-verified-badge {
    position: absolute;

    right: 16px;
    top: 50%;

    transform: translateY(-50%);

    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #16a34a;
    color: #ffffff;

    font-size: 13px;
    font-weight: 900;

    line-height: 1;
}

/* =========================================
   ROOMMATE PROFILE VERIFIED BADGE
========================================= */

.roommate-name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.roommate-name-row #profileName {
    margin: 0;
}

.roommate-name-row .profile-verified-badge {
    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #16a34a;
    color: #ffffff;

    font-size: 13px;
    font-weight: 900;

    line-height: 1;
}

/* =========================================
   ROOMMATE CARD VERIFIED BADGE
========================================= */

.roommate-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.roommate-card h3 .roommate-verified-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    position: static !important;

    width: 20px !important;
    height: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    flex-shrink: 0;

    border-radius: 50%;

    background: #16a34a !important;
    color: #ffffff !important;

    font-size: 12px !important;
    font-weight: 900;

    line-height: 1 !important;

    vertical-align: middle;
}
/* =========================================
   MESSAGE VERIFIED BADGE
========================================= */

h3 .roommate-verified-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 20px !important;
    height: 20px !important;

    margin-left: 6px !important;
    padding: 0 !important;

    border-radius: 50% !important;

    background: #16a34a !important;
    color: #ffffff !important;

    font-size: 12px !important;
    font-weight: 900 !important;

    line-height: 1 !important;
    vertical-align: middle;
}

/* =========================
   APARTMENT VERIFIED BADGE
========================= */

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-left: 8px;
    padding: 4px 9px;

    background: #0b8f4d;
    color: #ffffff;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    line-height: 1;
    vertical-align: middle;

    white-space: nowrap;
}

/* =====================================================
   DYNAMIC TESTIMONIALS
   MyRoommateAndI — Public Homepage
===================================================== */

.testimonials .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}


/* =====================================================
   TESTIMONIAL CARD
===================================================== */

.testimonials .testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-width: 0;
    height: 100%;

    padding: 26px 24px;

    background: #ffffff;

    border: 1px solid #e4eee8;
    border-radius: 20px;

    box-shadow:
        0 8px 28px rgba(20, 83, 45, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.testimonials .testimonial-card:hover {
    transform: translateY(-3px);

    border-color: #cce8d5;

    box-shadow:
        0 12px 32px rgba(20, 83, 45, 0.09);
}


/* =====================================================
   RATING
===================================================== */

.testimonials .testimonial-rating {
    margin-bottom: 14px;

    color: #e3a51a;

    font-size: 17px;
    line-height: 1;

    letter-spacing: 2px;
}


/* =====================================================
   EXPERIENCE
===================================================== */

.testimonials .testimonial-card .quote {
    margin: 0;

    color: #405148;

    font-size: 14px;
    line-height: 1.75;

    font-style: italic;

    word-break: break-word;
}


/* =====================================================
   STUDENT INFORMATION
===================================================== */

.testimonials .testimonial-card .student {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 24px;
    padding-top: 18px;

    border-top: 1px solid #edf3ef;
}


/* =====================================================
   PROFILE AVATAR
===================================================== */

.testimonials .testimonial-avatar {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 50%;

    background: #eaf7ef;

    color: #168a45;

    border: 2px solid #d7f3e1;

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 0 0 3px #f5fbf7;
}

.testimonials .testimonial-avatar img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =====================================================
   AVATAR FALLBACK
===================================================== */

.testimonials .testimonial-avatar.fallback {
    background: #eaf7ef;

    color: #168a45;

    text-transform: uppercase;
}


/* =====================================================
   STUDENT NAME
===================================================== */

.testimonials .testimonial-card .student h4 {
    margin: 0;

    color: #166534;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.4;
}


/* =====================================================
   EMPTY / ERROR STATE
===================================================== */

.testimonials .testimonial-empty {
    grid-column: 1 / -1;

    padding: 40px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e4eee8;

    border-radius: 18px;

    color: #718078;

    box-shadow:
        0 6px 24px rgba(20, 83, 45, 0.04);
}

.testimonials .testimonial-empty p {
    margin: 0;

    font-size: 14px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .testimonials .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

}


@media (max-width: 620px) {

    .testimonials .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonials .testimonial-card {
        padding: 22px 20px;
        border-radius: 18px;
    }

    .testimonials .testimonial-card .quote {
        font-size: 14px;
        line-height: 1.7;
    }

}
/* =========================
   APARTMENT CHAT CONTEXT
========================= */

.apartment-chat-context {
    display: flex;
    align-items: center;
    gap: 14px;

    width: 100%;
    box-sizing: border-box;

    padding: 12px;

    background: #f8f9fa;

    border-bottom: 1px solid #ddd;

    overflow: hidden;
}


/* =========================
   APARTMENT IMAGE
========================= */

.chat-apartment-image {
    width: 90px !important;
    height: 75px !important;

    min-width: 90px;
    max-width: 90px;

    object-fit: cover;

    border-radius: 10px;

    display: block;
}


/* =========================
   APARTMENT INFORMATION
========================= */

.chat-apartment-info {
    flex: 1;

    min-width: 0;
}


.chat-apartment-info h3 {
    margin: 0 0 5px;

    font-size: 16px;

    line-height: 1.3;
}


.chat-apartment-info p {
    margin: 3px 0;

    font-size: 13px;
}


/* =========================
   APARTMENT PRICE
========================= */

.chat-apartment-price {
    font-weight: bold;
}


/* =========================
   VIEW APARTMENT BUTTON
========================= */

#viewChatApartment {
    margin-top: 6px;

    padding: 7px 12px;

    font-size: 12px;
}

/* =========================
   APARTMENT REFERENCE
   INSIDE CHAT
========================= */

.chat-apartment-reference {

    width: calc(100% - 24px);

    max-width: 430px;

    margin: 12px auto;

    background: #ffffff;

    border: 1px solid #dfe3e6;

    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

}


/* =========================
   REFERENCE HEADER
========================= */

.chat-apartment-reference-header {

    padding: 8px 12px;

    font-size: 12px;

    font-weight: 600;

    color: #666;

    background: #f5f6f7;

    border-bottom: 1px solid #e5e5e5;

}


/* =========================
   CONTENT
========================= */

.chat-apartment-reference-content {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px;

}


/* =========================
   IMAGE
========================= */

.chat-apartment-reference-image {

    width: 82px;

    height: 70px;

    min-width: 82px;

    object-fit: cover;

    border-radius: 9px;

    display: block;

}


/* =========================
   INFO
========================= */

.chat-apartment-reference-info {

    min-width: 0;

    flex: 1;

}


.chat-apartment-reference-info h3 {

    margin: 0 0 4px;

    font-size: 15px;

    line-height: 1.25;

}


.chat-apartment-reference-info p {

    margin: 3px 0;

    font-size: 12px;

}


.chat-apartment-reference-price {

    font-weight: 700;

}


/* =========================
   VIEW BUTTON
========================= */

.chat-apartment-reference-button {

    margin-top: 5px;

    padding: 6px 10px;

    border: 1px solid #168f46;

    border-radius: 8px;

    background: #ffffff;

    color: #168f46;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

}
/* =========================
   APARTMENT INQUIRY MODAL
========================= */

.apartment-inquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}


.apartment-inquiry-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.55);

    box-sizing: border-box;
}


.apartment-inquiry-card {
    position: relative;

    width: 100%;
    max-width: 460px;

    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 18px;

    padding: 22px;

    box-sizing: border-box;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.25);
}


/* =========================
   CLOSE BUTTON
========================= */

.apartment-inquiry-close {
    position: absolute;

    top: 12px;
    right: 14px;

    width: 34px;
    height: 34px;

    border: none;

    border-radius: 50%;

    background: #f1f1f1;

    font-size: 24px;

    line-height: 1;

    cursor: pointer;
}


/* =========================
   TITLE
========================= */

.apartment-inquiry-card h2 {
    margin: 0 40px 18px 0;

    font-size: 20px;
}


/* =========================
   APARTMENT PREVIEW
========================= */

.inquiry-apartment-preview {
    display: flex;

    gap: 12px;

    padding: 10px;

    background: #f6f7f8;

    border-radius: 12px;

    margin-bottom: 18px;
}


.inquiry-apartment-preview img {
    width: 85px;
    height: 70px;

    min-width: 85px;

    object-fit: cover;

    border-radius: 9px;
}


.inquiry-apartment-preview h3 {
    margin: 0 0 5px;

    font-size: 15px;
}


.inquiry-apartment-preview p {
    margin: 3px 0;

    font-size: 12px;
}


.inquiry-apartment-preview strong {
    font-size: 13px;
}


/* =========================
   QUESTION
========================= */

.inquiry-question {
    margin: 0 0 10px;

    font-size: 14px;

    font-weight: 600;
}


/* =========================
   OPTIONS
========================= */

.inquiry-options {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.inquiry-option {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 12px;

    border: 1px solid #ddd;

    border-radius: 10px;

    cursor: pointer;

    font-size: 13px;

    line-height: 1.4;
}


.inquiry-option input {
    margin-top: 3px;
}


/* =========================
   ACTIONS
========================= */

.inquiry-actions {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 20px;
}


.inquiry-cancel,
.inquiry-continue {
    padding: 10px 15px;

    border-radius: 9px;

    cursor: pointer;

    font-size: 13px;
}


.inquiry-cancel {
    border: 1px solid #ccc;

    background: #ffffff;
}


.inquiry-continue {
    border: none;

    background: #111;

    color: #ffffff;
}

/* =====================================================
   SERVICE REFERENCE CARD IN CHAT
===================================================== */

.message-service-reference {
    width: 100%;
    max-width: 520px;
    margin: 12px 0;
    border: 1px solid #dfe8e2;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-sizing: border-box;
}

.message-service-reference-label {
    padding: 12px 16px;
    background: #f3f8f5;
    border-bottom: 1px solid #e4ece7;
    font-weight: 700;
    color: #176b3a;
}

.message-service-reference-body {
    display: flex;
    gap: 14px;
    padding: 14px;
    align-items: center;
}

.message-service-reference-image {
    width: 110px;
    height: 90px;
    flex: 0 0 110px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.message-service-reference-info {
    min-width: 0;
    flex: 1;
}

.message-service-reference-info h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.3;
    color: #1b1b1b;
}

.message-service-reference-info p {
    margin: 0 0 6px;
    font-size: 14px;
    color: #68746d;
}

.message-service-reference-info strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #176b3a;
}

.message-service-reference-button {
    display: inline-block;
    padding: 8px 13px;
    border: 1px solid #176b3a;
    border-radius: 9px;
    color: #176b3a;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

@media (max-width: 600px) {

    .message-service-reference {
        max-width: 100%;
    }

    .message-service-reference-image {
        width: 95px;
        height: 78px;
        flex-basis: 95px;
    }

    .message-service-reference-body {
        gap: 11px;
        padding: 11px;
    }

    .message-service-reference-info h3 {
        font-size: 15px;
    }

}

/* =========================================================
   EDIT PROPERTY — HEADING OVERRIDE
   ========================================================= */

#editPropertyContent .property-section-heading {
    display: block;
    width: 100%;
}

#editPropertyContent .property-section-heading .property-section-label {
    margin-bottom: 8px;
}

#editPropertyContent .property-section-heading h1 {
    margin: 0;
}

#editPropertyContent .property-section-heading p {
    max-width: 520px;
    margin-top: 10px;
}


/* MOBILE HEADING */
@media (max-width: 600px) {

    #editPropertyContent .property-section-heading {
        display: block;
        text-align: left;
    }

    #editPropertyContent .property-section-heading .property-section-label {
        margin-bottom: 8px;
    }

    #editPropertyContent .property-section-heading h1 {
        font-size: 2.25rem;
        line-height: 1.05;
    }

    #editPropertyContent .property-section-heading p {
        max-width: 100%;
        margin-top: 10px;
        font-size: 0.95rem;
        line-height: 1.5;
    }
}


}



    ;
    - {
    

/==================================16a34a;
    color: #ffffff;
    font-size: 0;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22,163,74,.2);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

#sendMessage::before {
    content: "➤";
    font-size: 18px;
}

#sendMessage:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22,163,74,.25);
}

#sendMessage:active {
    transform: scale(.94);
}

#sendMessage:disabled {
    opacity: .55;
    cursor: not-allowed;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .messages-header {
        padding: 20px 18px 16px;
    }

    .messages-header h1 {
        font-size: 27px;
    }

    .messages-header p {
        font-size: 13px;
    }

    .messages-container {
        display: block;
        min-height: calc(100vh - 120px);
    }

    .chat-sidebar {
        border-right: 0;
    }

    .chat-sidebar h2 {
        padding: 18px 20px 14px;
        font-size: 21px;
    }

    .chat-list-item {
        min-height: 76px;
        padding: 11px 18px;
    }

    .chat-avatar {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }

    .chat-name-row h3 {
        font-size: 15px;
    }

/* =========================================================
   MYROOMMATEANDI — PREMIUM MESSAGES
   IMAGE 1 INSPIRED UI
   ========================================================= */

.messages-header {
    background: #ffffff;
    padding: 24px 20px 18px;
    border-bottom: 1px solid #edf2ef;
}

.messages-header h1 {
    margin: 0;
    color: #10231a;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.messages-header p {
    margin: 6px 0 0;
    color: #687770;
    font-size: 14px;
    line-height: 1.4;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.messages-container {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    min-height: calc(100vh - 120px);
    background: #f5f8f6;
}


/* =========================================================
   CHAT SIDEBAR
   ========================================================= */

.chat-sidebar {
    background: #ffffff;
    border-right: 1px solid #e4ebe7;
    overflow-y: auto;
}

.chat-sidebar h2 {
    padding: 22px 22px 14px;
    margin: 0;
    color: #176b3a;
    font-size: 22px;
    font-weight: 800;
}


/* =========================================================
   CONVERSATION LIST
   ========================================================= */

#chatList {
    width: 100%;
}

.chat-list-item {
    display: flex;
    align-items: center;
    gap: 14px;

    width: 100%;
    min-height: 82px;

    padding: 13px 18px;

    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #edf2ef;

    cursor: pointer;

    transition:
        background .18s ease,
        transform .12s ease;
}

.chat-list-item:hover {
    background: #f5faf7;
}

.chat-list-item:active {
    background: #edf7f1;
    transform: scale(.995);
}


/* =========================================================
   AVATAR
   ========================================================= */

.chat-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;

    border-radius: 50%;
    object-fit: cover;

    background: #eaf5ee;

    border: 2px solid #ffffff;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .08);
}


/* =========================================================
   CHAT INFORMATION
   ========================================================= */

.chat-info {
    min-width: 0;
    flex: 1;
}

.chat-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.chat-name-row h3 {
    margin: 0;

    min-width: 0;

    color: #18352a;
    font-size: 16px;
    font-weight: 800;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-info > p {
    margin: 5px 0 0;

    color: #78847e;
    font-size: 13px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   TIME + UNREAD
   ========================================================= */

.chat-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.chat-time {
    color: #9aa49f;
    font-size: 11px;
    white-space: nowrap;
}

.unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 21px;
    height: 21px;

    padding: 0 5px;

    border-radius: 50%;

    background: #16a34a;
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   VERIFIED BADGE
   ========================================================= */

.roommate-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    margin-left: 5px;

    border-radius: 50%;

    background: #16a34a;
    color: #ffffff;

    font-size: 10px;
    font-weight: 900;

    line-height: 1;
    vertical-align: middle;
}


/* =========================================================
   CHAT WINDOW
   ========================================================= */

.chat-window {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 0;

    background: #f7faf8;
}


/* =========================================================
   CHAT HEADER
   ========================================================= */

.chat-header {
    display: flex;
    align-items: center;

    min-height: 78px;

    padding: 10px 20px;

    background: #ffffff;

    border-bottom: 1px solid #e4ebe7;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, .04);
}

.chat-header-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;

    margin-right: 12px;

    border-radius: 50%;
    object-fit: cover;

    border: 2px solid #ffffff;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, .08);
}

.chat-header-name {
    color: #18352a;
    font-size: 18px;
    font-weight: 800;

    display: inline-flex;
    align-items: center;
}


/* =========================================================
   MOBILE BACK BUTTON
   ========================================================= */

.mobile-chat-back {
    width: 42px;
    height: 42px;
    min-width: 42px;

    margin-right: 12px;

    border: 0;
    border-radius: 50%;

    background: #eef7f1;
    color: #176b3a;

    font-size: 22px;
    font-weight: 700;

    cursor: pointer;
}

.mobile-chat-back:active {
    transform: scale(.94);
}


/* =========================================================
   APARTMENT CONTEXT
   ========================================================= */

.apartment-chat-context {
    display: flex;
    align-items: center;
    gap: 13px;

    margin: 12px 16px 0;
    padding: 12px;

    background: #ffffff;

    border: 1px solid #e3ebe6;
    border-radius: 17px;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .04);
}

.chat-apartment-image {
    width: 68px;
    height: 68px;
    min-width: 68px;

    border-radius: 13px;

    object-fit: cover;
}

.chat-apartment-info {
    min-width: 0;
    flex: 1;
}

.chat-apartment-info h3 {
    margin: 0 0 4px;

    color: #1d4930;

    font-size: 15px;
    font-weight: 800;
}

.chat-apartment-info p {
    margin: 3px 0;

    color: #7b8781;
    font-size: 12px;
}

.chat-apartment-price {
    color: #087f46 !important;
    font-weight: 800;
}

.chat-apartment-info .secondary-btn {
    margin-top: 7px;
    border-radius: 20px;
}


/* =========================================================
   CHAT BODY
   ========================================================= */

.chat-body {
    flex: 1;

    min-height: 0;

    overflow-y: auto;

    padding: 22px 20px 28px;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(22, 163, 74, .035),
            transparent 30%
        );

    scroll-behavior: smooth;
}


/* =========================================================
   MESSAGE BUBBLES
   ========================================================= */

.chat-message,
.my-message {
    width: fit-content;

    max-width: min(72%, 560px);

    padding: 11px 15px;

    margin-bottom: 10px;

    font-size: 14px;
    line-height: 1.5;

    border-radius: 18px;

    overflow-wrap: anywhere;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, .035);
}


/* INCOMING */

.chat-message {
    margin-right: auto;
    margin-left: 0;

    background: #ffffff;

    color: #26352e;

    border: 1px solid #e4ebe7;

    border-bottom-left-radius: 5px;
}


/* OUTGOING */

.my-message {
    margin-left: auto;
    margin-right: 0;

    background: #16a34a;

    color: #ffffff;

    border-bottom-right-radius: 5px;

    box-shadow:
        0 4px 12px rgba(22, 163, 74, .16);
}


/* =========================================================
   EMPTY CHAT
   ========================================================= */

.empty-chat {
    text-align: center;

    margin: 70px auto;

    color: #8a9690;

    font-size: 14px;
}


/* =========================================================
   CHAT INPUT
   ========================================================= */

.chat-input {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 11px 14px;

    background: #ffffff;

    border-top: 1px solid #e2ebe6;

    box-shadow:
        0 -3px 12px rgba(0, 0, 0, .035);
}

.chat-input input {
    flex: 1;

    min-width: 0;

    height: 46px;

    padding: 0 17px;

    border: 1px solid #dce6e0;

    border-radius: 24px;

    outline: none;

    background: #f6f9f7;

    color: #24362d;

    font-size: 14px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.chat-input input:focus {
    border-color: #16a34a;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(22, 163, 74, .08);
}

.chat-input input::placeholder {
    color: #9aa59f;
}


/* SEND */

#sendMessage {
    width: 48px;
    height: 48px;
    min-width: 48px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #16a34a;
    color: #ffffff;

    font-size: 0;

    cursor: pointer;

    box-shadow:
        0 4px 12px rgba(22, 163, 74, .2);

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

#sendMessage::before {
    content: "➤";
    font-size: 18px;
}

#sendMessage:hover {
    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(22, 163, 74, .25);
}

#sendMessage:active {
    transform: scale(.94);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    body {
        background: #ffffff;
    }

    .messages-header {
        padding: 21px 18px 17px;
    }

    .messages-header h1 {
        font-size: 28px;
    }

    .messages-header p {
        font-size: 13px;
    }

    .messages-container {
        display: block;

        min-height: calc(100vh - 105px);

        background: #ffffff;
    }

    .chat-sidebar {
        width: 100%;

        border-right: 0;
    }

    .chat-sidebar h2 {
        padding: 18px 20px 14px;

        font-size: 21px;
    }

    .chat-list-item {
        min-height: 82px;

        padding: 13px 18px;
    }

    .chat-avatar {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }

    .chat-name-row h3 {
        font-size: 15px;
    }

    .chat-info > p {
        font-size: 12px;
    }


    /* CHAT SCREEN */

    .chat-window {
        width: 100%;
        min-height: calc(100vh - 105px);
    }

    .chat-header {
        min-height: 70px;

        padding: 9px 14px;
    }

    .chat-header-avatar {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .chat-header-name {
        font-size: 17px;
    }

    .mobile-chat-back {
        width: 40px;
        height: 40px;
        min-width: 40px;

        margin-right: 9px;
    }


    /* CONTEXT */

    .apartment-chat-context {
        margin: 10px 12px 0;

        padding: 10px;

        border-radius: 15px;
    }

    .chat-apartment-image {
        width: 58px;
        height: 58px;
        min-width: 58px;
    }


    /* BODY */

    .chat-body {
        padding: 18px 12px 22px;
    }

    .chat-message,
    .my-message {
        max-width: 82%;

        padding: 10px 13px;

        font-size: 14px;

        border-radius: 17px;
    }


    /* INPUT */

    .chat-input {
        padding: 9px 10px;

        gap: 7px;
    }

    .chat-input input {
        height: 44px;

        font-size: 14px;
    }

    #sendMessage {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }


    /* MOBILE CHAT SWITCH */

    .chat-sidebar.mobile-chat-hidden {
        display: none;
    }

    .chat-window:not(.mobile-chat-open) {
        display: none;
    }

    .chat-window.mobile-chat-open {
        display: flex;
    }
}


/* =========================================================
   LARGE SCREENS
   ========================================================= */

@media (min-width: 701px) {

    .messages-container {
        max-width: 1250px;

        margin: 0 auto;

        border-left: 1px solid #e5ece8;
        border-right: 1px solid #e5ece8;
    }
}