@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/* Global Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --sidebar-width: 260px;
}

body {
    font-family: "Montserrat", sans-serif;
    color: #1e293b;
}

a {
    text-decoration: none;
}

/* Feature Icons */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/* Registration Progress */
.registration-progress .progress-step {
    position: relative;
}

.registration-progress .progress-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: #64748b;
}

.registration-progress .progress-step.active .progress-icon {
    background-color: var(--primary);
    color: white;
}

.registration-progress .progress-text {
    font-size: 0.875rem;
    color: #64748b;
}

.registration-progress .progress-step.active .progress-text {
    color: var(--primary);
    font-weight: 500;
}

/* Login Form Separator */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #64748b;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.separator-text {
    padding: 0 10px;
    font-size: 0.875rem;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: white;
    border-right: 1px solid #e2e8f0;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    text-decoration: none;
}

.sidebar-user {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    margin-left: 12px;
}

.user-name {
    margin-bottom: 4px;
    font-weight: 600;
}

.user-role {
    font-size: 0.75rem;
    font-weight: 500;
}

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

.sidebar-header {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.sidebar-item {
    margin-bottom: 2px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-link i {
    width: 20px;
    margin-right: 10px;
    font-size: 1rem;
}

.sidebar-link:hover {
    background-color: #f1f5f9;
    color: var(--primary);
}

.sidebar-item.active .sidebar-link {
    background-color: #eff6ff;
    color: var(--primary);
    font-weight: 500;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    background-color: #f8fafc;
}

/* Stats Cards */
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon i {
    color: #fff;
}

/* Activity Timeline */
.activity-timeline {
    position: relative;
}

.activity-item {
    position: relative;
    padding: 1.5rem;
    padding-left: 4rem;
    border-bottom: 1px solid #e2e8f0;
}

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

.activity-icon {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.activity-content h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.activity-content p {
    margin-bottom: 0.25rem;
    color: #64748b;
}

/* Property List */
.property-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.table-responsive img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

.property-price {
    font-weight: 600;
    color: var(--primary);
}

/* Notifications */
.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
}

.notification-item .icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
}

.notification-item .content p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.notification-item .content small {
    font-size: 0.75rem;
    color: #64748b;
}

.dropdown-header {
    font-weight: 600;
    color: #1e293b;
    padding: 0.5rem 1rem;
}

.dropdown-footer {
    text-align: center;
    padding: 0.5rem 1rem;
    border-top: 1px solid #e2e8f0;
}

.dropdown-footer a {
    color: var(--primary);
    font-size: 0.875rem;
    text-decoration: none;
}

/* Avatar Sizes */
.avatar-sm {
    width: 32px;
    height: 32px;
}

/* Responsive Sidebar */
@media (max-width: 767.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-close {
        display: block;
    }
}

/* Responsive Adjustments */
@media (min-width: 768px) {

    .sidebar-close,
    .sidebar-toggle {
        display: none;
    }
}

/* Form Focus States */
.form-control:focus,
.btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* Button Hover States */
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Card Hover Effects */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Accessibility Focus Styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(37, 99, 235, 0.5);
    outline-offset: 2px;
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}