/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}



/* Main content styles */
.main-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Sidebar styles */
.sidebar {
    position: sticky;
    top: 2rem;
}

.profile-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    object-fit: cover;
}

.profile-card h2 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.email {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-nav-link {
    color: #4b5563;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.profile-nav-link:hover {
    background-color: #f3f4f6;
}

.profile-nav-link.active {
    background-color: #f3f4f6;
    color: #111827;
}

/* Main area styles */
.main-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.wallet-card {
    background-color: #ebf7f0;
    padding: 1.5rem;
    border-radius: 0.5rem;
}
.wallet-card button{
    color: #058b51;
}

.wallet-card h3 {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.amount {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0.25rem 0 0.5rem;
}

.completion-card {
    background-color: #fff7ed;
    padding: 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.completion-progress {
    width: 64px;
    height: 64px;
    background-color: #ffedd5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.completion-info h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.completion-info ul {
    list-style: none;
    color: #6b7280;
    font-size: 0.875rem;
}

.btn-link {
    color: #2563eb;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.btn-link:hover {
    color: #1d4ed8;
}

.profile-info {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1rem;
}
.second-profile-info {
    background-color: transparent !important;
    box-shadow: none !important;
    display: block;
}

.profile-image-small {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-details h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-info {
    display: flex;
    gap: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.bio {
    color: #6b7280;
    margin-bottom: 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.25rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.property-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;

}

.property-image {
    position: relative;
    height: 200px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.property-tag {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background-color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.property-info {
    padding: 1rem;
}

.property-price {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.property-address {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.property-size {
    color: #6b7280;
    font-size: 0.875rem;
}
.reviews {
    background: #eaecef;
    padding: 10px 20px;
    border-radius: 15px;
}
.reviews button {
    text-decoration: none;
    color: black;
}
.review-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 1rem;
    border-radius: 0.5rem;
    border-bottom: 1px solid #d1d1d1;
}
.d-flex {
    display: flex;
}
.star i{
    color: rgb(255, 187, 0);
}
.star {
    padding-right: 0.5rem;
}
.align-items-center {
    align-items: center;
}
.space-between {
    justify-content: space-between;
}
.stat-item i {
    color: rgb(255, 187, 0);
    font-size: small;
    padding-bottom: 4px;
}
.stat-item h3 {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Media Queries */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 250px 1fr;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .review-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .header-right {
        display: none;
    }
    
    .review-stats {
        grid-template-columns: 1fr;
    }
}