.sp-v2-container {
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-main);
    background: var(--bg-main);
    padding-bottom: 60px;
}

/* Hero Section */
.sp-v2-hero {
    background: linear-gradient(135deg, #123326 0%, #1e5c43 100%);
    padding: 80px 20px;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.sp-v2-hero-content {
    position: relative;
    z-index: 2;
}
.sp-v2-hero-title {
    color: #FFDC4A;
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}
.sp-v2-hero-subtitle {
    color: #e2f8f5;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.sp-v2-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
    padding: 0 20px;
}

/* Sidebar */
.sp-v2-sidebar {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 100px;
}

.sp-v2-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 24px;
    outline: none;
    box-sizing: border-box;
}

.sp-v2-filter-group {
    margin-bottom: 16px;
}

.sp-v2-filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.sp-v2-filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--bg-main);
}

.sp-v2-filter-actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.sp-v2-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 16px;
}

.sp-v2-clear-filters-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Main */
.sp-v2-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sp-v2-results-count {
    font-size: 14px;
    color: var(--text-muted);
}
.sp-v2-results-count span {
    font-weight: 700;
    color: var(--text-main);
}

.sp-v2-active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.sp-v2-tag {
    background: var(--border);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sp-v2-tag-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 10px;
    opacity: 0.5;
}

/* Grid & Cards */
.sp-v2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.sp-v2-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sp-v2-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.sp-v2-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.sp-v2-card-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-main);
}
.sp-v2-card-img-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-muted);
}

.sp-v2-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.sp-v2-country {
    font-size: 12px;
    background: var(--bg-main);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}
.sp-v2-badge-featured {
    font-size: 10px;
    background: #fef3c7;
    color: #d97706;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.sp-v2-save-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #cbd5e1;
    cursor: pointer;
}
.sp-v2-save-btn.active {
    color: #eab308;
}

.sp-v2-card-name {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 4px 0;
}
.sp-v2-card-pos {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 8px 0;
}
.sp-v2-card-uni {
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.sp-v2-card-domain {
    font-size: 12px;
    background: var(--bg-main);
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: auto;
}
.sp-v2-card-domain span {
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.sp-v2-card-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.sp-v2-btn-outline {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.sp-v2-btn-outline:hover {
    background: var(--bg-main);
}

.sp-v2-btn-primary {
    background: #123326;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

/* Drawer */
.sp-v2-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.sp-v2-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.sp-v2-drawer-content {
    width: 100%;
    max-width: 500px;
    background: #fff;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.sp-v2-drawer-overlay.active .sp-v2-drawer-content {
    transform: translateX(0);
}
.sp-v2-close-drawer {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-main);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}
.sp-v2-drawer-body {
    padding: 40px;
    overflow-y: auto;
}

.sp-v2-drawer-hero {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.sp-v2-drawer-hero h2 { margin: 0 0 8px 0; }
.sp-v2-drawer-pos { margin: 0 0 4px 0; color: var(--text-muted); }

.sp-v2-drawer-section {
    margin-bottom: 30px;
}
.sp-v2-drawer-section h3 {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 16px 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}
.sp-v2-detail-item {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}
.sp-v2-detail-item strong {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.sp-v2-proj-date {
    margin-top: 8px;
    padding: 6px 10px;
    background: var(--bg-main);
    border-radius: 6px;
    font-size: 12px;
    display: inline-block;
}

.sp-v2-login-gate {
    background: var(--bg-main);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px dashed var(--border);
}
.sp-v2-badge-link {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Modals */
.sp-v2-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.sp-v2-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.sp-v2-modal-dialog {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    position: relative;
    text-align: center;
}
.sp-v2-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Pagination */
.sp-v2-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.sp-v2-page-num {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main);
}
.sp-v2-page-num.active {
    background: var(--text-main);
    color: #fff;
}
.sp-v2-page-dots {
    padding: 8px;
    color: var(--text-muted);
}

.sp-v2-loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.sp-v2-mobile-filter-btn {
    display: none;
    padding: 8px 16px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 8px;
}

@media(max-width: 900px) {
    .sp-v2-layout { grid-template-columns: 1fr; }
    .sp-v2-sidebar { display: none; }
    .sp-v2-sidebar.active { display: block; position: fixed; top: 0; left: 0; bottom: 0; width: 300px; z-index: 100; border-radius: 0; }
    .sp-v2-mobile-filter-btn { display: block; }
}
