/* Global Design System */
:root {
    --serp-blue: #007BFF;
    --serp-green: #28A745;
    --serp-red: #DC3545;
    --serp-orange: #FD7E14;
    --serp-dark: #343A40;
    --serp-light: #F8F9FA;
    --serp-white: #FFFFFF;
    --serp-shadow: 0 4px 12px rgba(0,0,0,0.05);
    --serp-radius: 12px;
}

body.serp-dashboard {
    background-color: var(--serp-light);
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--serp-dark);
}

/* Grid System */
.serp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

@media (max-width: 768px) {
    .serp-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Style */
.serp-card {
    background: var(--serp-white);
    border-radius: var(--serp-radius);
    box-shadow: var(--serp-shadow);
    padding: 15px;
    transition: transform 0.2s;
    overflow: hidden;
}

.serp-card:hover {
    transform: translateY(-2px);
}

.serp-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.serp-card h3 {
    margin: 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Status Badges */
.serp-badge {
    padding: 5px 10px;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 5px 0;
}

.serp-badge.listed { background-color: var(--serp-blue); }
.serp-badge.cleaning { background-color: var(--serp-green); }
.serp-badge.media { background-color: var(--serp-red); } /* "Ready for Photos" */
.serp-badge.reserved { background-color: var(--serp-orange); }

/* Buttons */
.serp-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
    transition: background 0.2s;
}

.serp-btn-primary { background-color: var(--serp-blue); color: white; }
.serp-btn-secondary { background-color: #e2e6ea; color: var(--serp-dark); }
.serp-btn-danger { background-color: var(--serp-red); color: white; }

.serp-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Sidebar */
.serp-sidebar {
    width: 250px;
    background: var(--serp-white);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 20px;
    border-right: 1px solid #eee;
}

.serp-sidebar-logo {
    display: block;
    margin-bottom: 30px;
    max-width: 100%;
}

.serp-nav a {
    display: block;
    padding: 10px;
    color: #6c757d;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
}

.serp-nav a:hover, .serp-nav a.active {
    background: #e9ecef;
    color: var(--serp-dark);
    font-weight: 600;
}

.serp-dashboard-content {
    margin-left: 250px;
    padding: 20px;
}

/* User Widget */
.serp-user-widget {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.serp-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    object-fit: cover;
}

/* Search Bar */
.serp-search-container {
    background: var(--serp-white);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.serp-search-input {
    width: 100%;
    border: none;
    background: #f1f3f5;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
}
