/*
 * Scientific Research Center - Professional Monochromatic Style
 */

:root {
    --src-black: #000000;
    --src-white: #ffffff;
    --src-gray-light: #f5f5f5;
    --src-gray-med: #e0e0e0;
    --src-gray-dark: #666666;
    --src-border-radius: 12px;
}

body.src-cp-active { overflow-x: hidden; }

/* Unified Auth Container */
.src-auth-container.monochromatic.compact {
    max-width: 480px;
    margin: 40px auto;
    padding: 30px;
    background: var(--src-white);
    border: 1px solid var(--src-gray-med);
    border-radius: var(--src-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.src-welcome-msg h2 { text-align: center; font-size: 22px; margin-bottom: 25px; color: var(--src-black); }

/* Tabs */
.src-auth-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; }
.src-auth-tab {
    padding: 10px 24px;
    background: var(--src-gray-light);
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: var(--src-gray-dark);
    transition: all 0.3s ease;
}
.src-auth-tab.active { background: var(--src-gray-med); color: var(--src-black); border-color: #ccc; }

/* Forms */
.src-auth-form { display: none; animation: fadeIn 0.4s ease-in-out; }
.src-auth-form.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Form Fields & Floating Labels */
.src-field-row { display: flex; gap: 15px; }
.src-field-row .src-field-group { flex: 1; }
.src-field-group { position: relative; margin-bottom: 20px; }
.src-field-group input, .src-field-group select, .src-field-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: var(--src-white);
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.src-field-group input:focus, .src-field-group select:focus, .src-field-group textarea:focus { border-color: var(--src-black); }

.src-field-group label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    background-color: var(--src-white);
    padding: 0 5px;
    color: #999;
    font-size: 15px;
    pointer-events: none;
    transition: all 0.3s ease;
}
.src-field-group textarea + label { top: 25px; }
.src-field-group input:focus + label, .src-field-group input:not(:placeholder-shown) + label,
.src-field-group select + label.select-label, .src-field-group textarea:focus + label, .src-field-group textarea:not(:placeholder-shown) + label
{ top: 0; font-size: 11px; color: var(--src-black); font-weight: 700; }

/* User Type Selection Boxes */
.src-user-type-selection { display: flex; gap: 20px; margin-bottom: 30px; }
.src-type-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}
.src-type-box .dashicons { font-size: 32px; width: 32px; height: 32px; margin-bottom: 10px; color: #999; }
.src-type-box span { font-size: 15px; font-weight: 700; color: var(--src-gray-dark); }
.src-type-box.active { border-color: var(--src-black); background: #fcfcfc; }
.src-type-box.active .dashicons, .src-type-box.active span { color: var(--src-black); }

/* Buttons */
.src-submit-btn {
    width: auto;
    min-width: 140px;
    padding: 12px 25px;
    background-color: var(--src-black);
    color: var(--src-white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    display: inline-block;
}
.src-submit-btn:hover { background-color: #333; }
.src-toggle-footer { text-align: center; margin-top: 25px; font-size: 14px; color: var(--src-gray-dark); }
.src-toggle-footer a { color: var(--src-black); font-weight: 700; text-decoration: none; }

/* Header Component */
.src-header-list-container { display: flex; align-items: center; gap: 1.5vw; padding: 0.5vw; font-family: inherit; }
.src-header-pill {
    display: flex;
    align-items: center;
    background: var(--src-white);
    border: 1px solid var(--src-gray-med);
    border-radius: 50px;
    padding: 4px 15px 4px 4px;
    gap: 10px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.src-pill-avatar { width: 38px; height: 38px; position: relative; }
.src-pill-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--src-black); }
.src-pill-info { display: flex; flex-direction: column; }
.src-pill-welcome { font-size: 14px; font-weight: 700; color: var(--src-black); display: flex; align-items: center; gap: 5px; }
.src-pill-status { font-size: 10px; color: #4CAF50; font-weight: 600; }

.src-header-actions { display: flex; gap: 12px; }
.src-header-icon-circle {
    width: 38px; height: 38px; border-radius: 50%; background: var(--src-white); border: 1px solid var(--src-gray-med);
    display: flex; align-items: center; justify-content: center; color: #333; position: relative; cursor: pointer; transition: all 0.3s;
}
.src-header-icon-circle:hover { background: var(--src-black); color: var(--src-white); border-color: var(--src-black); }
.src-icon-badge {
    position: absolute; top: -5px; right: -5px; background: #ff4d4d; color: var(--src-white); font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--src-white);
}

/* Dropdowns */
.src-header-dropdown {
    position: absolute; top: calc(100% + 15px); right: 0; width: 280px; background: var(--src-white);
    border: 1px solid #eee; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: none; z-index: 9999;
}
.src-header-dropdown.active { display: block; animation: fadeIn 0.3s ease-out; }
.src-dropdown-header { padding: 30px 20px; border-bottom: 1px solid #eee; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.src-dropdown-header img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 1px solid #eee; }
.src-dropdown-user { display: flex; flex-direction: column; align-items: center; width: 100%; }
.src-dropdown-user strong { font-size: 18px; color: var(--src-black); margin-bottom: 5px; }
.src-dropdown-user span { font-size: 12px; color: #999; }

/* Compact Profile UI */
.src-dropdown-header.compact-profile {
    flex-direction: row !important;
    padding: 15px 20px !important;
    align-items: center !important;
    gap: 12px !important;
}
.left-align-avatar {
    width: 45px !important;
    height: 45px !important;
    margin: 0 !important;
}
.stacked-info {
    align-items: flex-start !important;
}
.stacked-info strong {
    font-size: 14px !important;
    margin-bottom: 2px !important;
}
.src-email-below {
    font-size: 11px !important;
    color: #888 !important;
}
.src-dropdown-links { list-style: none; padding: 10px 0; margin: 0; }
.src-dropdown-links li a {
    display: flex; align-items: center; justify-content: space-between; flex-direction: row-reverse;
    padding: 12px 20px; font-size: 14px; color: var(--src-gray-dark); text-decoration: none; font-weight: 600; transition: all 0.3s;
}
.src-dropdown-links li a:hover { background: var(--src-gray-light); color: var(--src-black); }
.src-dropdown-links li a .dashicons { color: var(--src-black); font-size: 20px; }
.src-logout-item { border-top: 1px solid #eee; margin-top: 10px; }
.src-logout-link { color: var(--src-black) !important; justify-content: center !important; font-size: 16px !important; padding: 15px 20px !important; }

/* Notifications Specific */
.src-noti-header { padding: 15px 20px; border-bottom: 1px solid #eee; font-weight: 700; color: var(--src-black); }
.src-noti-list { max-height: 400px; overflow-y: auto; padding: 0; }
.src-noti-item { padding: 15px 20px; font-size: 13px; color: var(--src-gray-dark); border-bottom: 1px solid #f9f9f9; transition: all 0.3s; cursor: pointer; }
.src-noti-item:hover { background: var(--src-gray-light); color: var(--src-black); }
.src-noti-item.unread { background: #fafafa; border-left: 3px solid var(--src-black); }
.src-noti-item p { margin: 0 0 5px; line-height: 1.4; }
.src-noti-item small { font-size: 11px; color: #999; }
.src-noti-item.empty { text-align: center; color: #ccc; font-style: italic; }

/* Control Panel Layout - Fixed & Wide */
.src-control-panel.full-width-layout { display: flex; min-height: 100vh; background: var(--src-white); width: 100%; margin: 0; position: relative; }
.src-cp-sidebar.fixed-sidebar {
    width: 280px; height: 100vh; background: #fcfcfc; border-right: 1px solid #eee; position: fixed; left: 0; top: 0;
    z-index: 1000; padding: 40px 0; display: flex; flex-direction: column; transition: transform 0.3s ease;
}
.src-cp-main {
    margin-left: 280px;
    flex: 1;
    padding: 50px 60px;
    background: var(--src-white);
    width: calc(100% - 280px);
    box-sizing: border-box;
    min-width: 0;
}
.src-cp-main.tight-layout { padding-left: 60px; }

.src-cp-profile.horizontal { padding: 0 15px 25px; border-bottom: 1px solid #eee; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; position: relative; }
.src-cp-avatar.small.left img { width: 55px; height: 55px; border-radius: 50%; border: 2px solid var(--src-black); object-fit: cover; cursor: pointer; }
.src-cp-user-info { flex: 1; text-align: left; }
.src-cp-user-info h4 { margin: 0; font-size: 15px; font-weight: 800; color: var(--src-black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.src-cp-role { font-size: 10px; color: #999; font-weight: 700; text-transform: uppercase; display: block; }
.src-gear-circle { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid #ddd; display: flex; align-items: center; justify-content: center; color: #666; transition: all 0.3s; }
.src-gear-circle:hover { background: #000; color: #fff; border-color: #000; }
.src-cp-settings-btn { text-decoration: none; }

/* Menu Styles */
.src-cp-nav ul { list-style: none; padding: 0; margin: 0; }
.src-cp-nav li.src-menu-item { padding: 0; cursor: pointer; border-left: 5px solid transparent; transition: all 0.3s; margin: 0; }
.src-menu-toggle { padding: 18px 25px; display: flex; align-items: center; gap: 12px; color: #888; font-weight: 700; text-decoration: none; }
.src-menu-item:hover .src-menu-toggle { background: #f5f5f5; color: #000; }
.src-menu-item.active { background: #f0f0f0; border-left-color: var(--src-black); }
.src-menu-item.active .src-menu-toggle { color: var(--src-black); }
.src-toggle-icon { margin-left: auto; transition: transform 0.3s; font-size: 14px; }
.src-menu-item.expanded .src-toggle-icon { transform: rotate(180deg); }
.src-submenu { display: none; background: #fafafa; padding: 10px 0 15px 55px; border-bottom: 1px solid #f0f0f0; }
.src-submenu p { margin: 0; padding: 8px 0; font-size: 13px; color: #999; font-weight: 600; transition: color 0.3s; }
.src-submenu p:hover { color: var(--src-black); }

/* Main Content Area */
.src-cp-section { display: none; width: 100%; }
.src-cp-section.active { display: block; }
.src-cp-section h1 { font-size: 28px; font-weight: 900; margin: 0 0 10px; color: #000; letter-spacing: -0.5px; }
.src-cp-section > p { font-size: 15px; color: #777; margin: 0 0 40px; line-height: 1.5; }

/* Workspace Metrics */
.src-workspace-metrics { display: flex; gap: 20px; margin: 30px 0 50px; }
.src-metric-card { flex: 1; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 25px; display: flex; align-items: center; gap: 20px; transition: all 0.3s; }
.src-metric-card:hover { border-color: #000; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.src-metric-icon { width: 50px; height: 50px; border-radius: 10px; background: #f9f9f9; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #000; }
.src-metric-data h3 { margin: 0; font-size: 28px; font-weight: 900; line-height: 1.2; }
.src-metric-data span { font-size: 11px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: 0.5px; }
.src-metric-card.highlight { background: #000; border-color: #000; }
.src-metric-card.highlight h3, .src-metric-card.highlight span, .src-metric-card.highlight .src-metric-icon { color: #fff; }
.src-metric-card.highlight .src-metric-icon { background: rgba(255,255,255,0.1); }

/* Overview Layout & Components */
.src-quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 20px; }
.src-quick-btn {
    background: #fafafa; border: 1px solid #eee; border-radius: 10px; padding: 20px;
    text-align: center; text-decoration: none !important; color: #000; transition: all 0.3s;
}
.src-quick-btn:hover { border-color: #000; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.src-quick-btn .dashicons { font-size: 24px; margin-bottom: 10px; color: #666; }
.src-quick-btn p { margin: 0; font-size: 13px; font-weight: 700; }

.src-visual-graph { height: 200px; display: flex; align-items: flex-end; justify-content: space-between; padding: 20px 10px; border-bottom: 2px solid #eee; margin-top: 20px; }
.src-graph-bar { width: 35px; background: #000; border-radius: 4px 4px 0 0; position: relative; transition: height 1s ease-out; }
.src-graph-bar::after {
    content: attr(data-label); position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
    font-size: 11px; font-weight: 700; color: #999;
}
.src-graph-caption { text-align: center; font-size: 12px; color: #999; margin-top: 40px; font-weight: 600; }

.src-alert-box {
    background: #fff; border: 1px solid #eee; border-left: 5px solid #000; border-radius: 10px;
    padding: 20px; margin-bottom: 30px; display: flex; align-items: center; gap: 20px;
}
.src-alert-box.alert-warning { border-left-color: #f39c12; background: #fffdf5; }
.src-alert-box .dashicons { font-size: 32px; width: 32px; height: 32px; color: #f39c12; }
.src-alert-content { flex: 1; }
.src-alert-content strong { display: block; font-size: 16px; margin-bottom: 5px; }
.src-alert-content p { margin: 0; font-size: 13px; color: #777; }

.src-activity-feed { margin-top: 20px; }
.src-activity-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #f5f5f5; }
.src-activity-item:last-child { border-bottom: none; }
.src-activity-icon { width: 12px; height: 12px; border-radius: 50%; background: #eee; margin-top: 4px; border: 1px solid #ddd; }
.src-activity-icon.type-login { background: #666; }
.src-activity-icon.type-submission { background: #000; }
.src-activity-icon.type-approval { background: #ccc; }
.src-activity-icon.type-rejection { background: #eee; }
.src-activity-details p { margin: 0; font-size: 14px; font-weight: 600; color: #333; line-height: 1.4; }
.src-activity-details span { font-size: 11px; color: #aaa; font-weight: 700; }

/* Modals */
.src-modal {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
}
.src-modal-content {
    background: #fff; margin: 5% auto; padding: 40px; border-radius: 12px; width: 500px;
    position: relative; animation: modalSlide 0.3s ease-out;
}
.src-modal-content.wide { width: 800px; }
@keyframes modalSlide { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Advanced Components */
.src-checkbox-list { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }
.src-checkbox-list label { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.src-checkbox-list input { accent-color: #000; }

.src-analytics-list { list-style: none; padding: 0; margin: 20px 0; }
.src-analytics-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; }
.src-analytics-list li strong { color: #000; }
.src-analytics-list li span { color: #999; font-weight: 700; }

.src-visual-graph.mini { height: 100px; padding: 10px 5px; margin-top: 10px; }

.src-meta-toggles { display: flex; flex-wrap: wrap; gap: 15px; margin: 15px 0; }
.src-meta-toggles label { font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 8px; background: #fafafa; padding: 6px 12px; border-radius: 6px; border: 1px solid #eee; cursor: pointer; }
.src-meta-toggles input:checked + span { color: #000; }

hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }
.src-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.src-modal-header h2 { margin: 0; font-size: 22px; font-weight: 900; }
.src-modal-close { font-size: 28px; cursor: pointer; color: #999; }
.src-modal-close:hover { color: #000; }
.src-modal-footer { margin-top: 30px; text-align: right; border-top: 1px solid #eee; padding-top: 20px; }

/* User Management Refinements */
.user-management-filters { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.src-filters-row { display: flex; gap: 15px; align-items: center; }
.src-filters-row.main-row .src-search-bar { flex: 1; }
.src-filters-row.secondary-row select,
.src-filters-row.secondary-row .src-search-bar input {
    padding: 0 15px; height: 45px; border-radius: 8px; border: 1px solid #eee;
    font-size: 13px; font-weight: 600; background: #fff; flex: 1; width: 100%;
}
.src-filters-row.secondary-row .src-search-bar { flex: 1; }
.src-action-buttons { display: flex; gap: 10px; align-items: center; }
.src-upload-btn-wrapper { position: relative; overflow: hidden; display: inline-block; }
.src-upload-btn-wrapper input[type=file] { position: absolute; left: 0; top: 0; opacity: 0; cursor: pointer; height: 100%; width: 100%; }

/* Phone Input with Country Code */
.src-phone-input-group { display: flex !important; gap: 10px; }
.src-country-code-wrapper { width: 100px; }
.src-code-select { width: 100%; height: 45px; border-radius: 10px; border: 1px solid #ccc; font-size: 14px; padding: 0 5px; }
.src-phone-input-group input { flex: 1; }

/* Profile Completion / Edit Suite */
.src-profile-completion-container { max-width: 900px; margin: 40px auto; padding: 50px; background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.src-profile-tabs-nav { display: flex; gap: 10px; margin-bottom: 40px; border-bottom: 2px solid #eee; padding-bottom: 15px; }
.src-prof-tab-btn { background: none; border: none; padding: 10px 20px; font-weight: 700; color: #999; cursor: pointer; border-radius: 8px; transition: all 0.3s; }
.src-prof-tab-btn:hover { background: #f9f9f9; color: #000; }
.src-prof-tab-btn.active { background: #000; color: #fff; }
.src-prof-tab-content { display: none; }
.src-prof-tab-content.active { display: block; animation: fadeIn 0.4s; }
.src-prof-footer { margin-top: 50px; border-top: 1px solid #eee; padding-top: 30px; text-align: right; }
.src-profile-header { display: flex; align-items: center; gap: 30px; margin-bottom: 50px; padding-bottom: 30px; border-bottom: 1px solid #eee; }
.src-profile-avatar-wrapper { position: relative; width: 100px; height: 100px; cursor: pointer; }
.src-profile-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #000; }
.src-avatar-overlay { position: absolute; top:0; left:0; width:100%; height:100%; border-radius: 50%; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transition: 0.3s; }
.src-profile-avatar-wrapper:hover .src-avatar-overlay { opacity: 1; }
.src-profile-title h2 { margin: 0 0 5px; font-size: 24px; font-weight: 900; }
.src-profile-title p { margin: 0; color: #888; font-weight: 600; }

.src-form-section { margin-bottom: 40px; }
.src-form-section h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; color: #aaa; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.src-form-section h3 .dashicons { color: #000; font-size: 18px; width: 18px; height: 18px; }

/* Tables & Lists */
.src-user-table { width: 100%; border-collapse: collapse; margin-top: 25px; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.src-user-table th { text-align: left; padding: 12px 15px; border-bottom: 2px solid var(--src-black); font-size: 11px; font-weight: 800; text-transform: uppercase; color: #000; background: #fafafa; }
.src-user-table td { padding: 12px 15px; border-bottom: 1px solid #eee; font-size: 13px; color: #444; }
.src-user-table tr:nth-child(even) { background-color: #fcfcfc; }
.src-user-table tr:hover { background-color: #f5f5f5; }
.src-user-table tr.status-suspended td { background-color: #fcf8f8; color: #999; }
.src-user-table tr.status-suspended td strong { color: #666; text-decoration: line-through; }
.src-actions { display: flex; gap: 8px; }
.src-icon-btn { background: var(--src-gray-light); border: 1px solid #ddd; border-radius: 8px; padding: 8px; cursor: pointer; color: #999; transition: all 0.3s; }
.src-icon-btn:hover { background: var(--src-black); color: var(--src-white); border-color: var(--src-black); }
.src-icon-btn.src-danger:hover { background: #c00; border-color: #c00; }

/* Home Search Engine - Centralized */
.src-library-container.home-engine { max-width: 1200px; margin: 60px auto; text-align: center; }
.src-home-headline { font-size: 48px; font-weight: 900; margin-bottom: 5px; color: #000; letter-spacing: -1px; }
.src-inline-counter { font-weight: 900; color: #000; padding: 2px 8px; background: #f0f0f0; border-radius: 4px; display: inline-block; animation: src-pulse-small 2s infinite ease-in-out; }
@keyframes src-pulse-small { 0% { transform: scale(1); } 50% { transform: scale(1.05); color: #444; } 100% { transform: scale(1); } }

@keyframes pulseCounter {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,0,0,0.05); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0,0,0,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
.src-home-subheadline { font-size: 18px; color: #666; margin-bottom: 50px; }

.src-search-engine.centered { background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.06); padding: 40px; border-radius: 25px; border: 1px solid #f0f0f0; max-width: 900px; margin: 0 auto; }
.src-search-input-wrapper { position: relative; margin-bottom: 25px; }
.src-search-input-wrapper input { width: 100%; font-size: 22px; padding: 20px 30px 20px 60px; border-radius: 15px; border: 1px solid #eee; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); outline: none; transition: all 0.3s; }
.src-search-input-wrapper input:focus { border-color: #000; box-shadow: 0 0 0 4px rgba(0,0,0,0.03); }
.src-search-input-wrapper .dashicons { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; width: 24px; height: 24px; color: #999; }

.src-filters.inline { display: flex; justify-content: center; gap: 20px; align-items: flex-end; }
.src-filter-pill-wrapper { display: flex; gap: 10px; flex: 1; }
.src-hier-search-select { height: 50px !important; border-radius: 12px; border: 1px solid #eee; padding: 0 15px; font-size: 14px; font-weight: 600; background: #fff; width: 100%; }
.src-hier-search-select:disabled { background: #f9f9f9; cursor: not-allowed; opacity: 0.6; }
.src-multi-select-wrapper { text-align: left; position: relative; flex: 1; }
.src-multi-select-wrapper label { font-size: 11px; font-weight: 800; text-transform: uppercase; color: #aaa; margin-bottom: 8px; display: block; padding-left: 5px; }
.src-multi-select { width: 100%; height: 50px !important; border-radius: 12px; border: 1px solid #eee; padding: 0 15px; font-size: 14px; font-weight: 600; outline: none; }

.src-results-section { margin-top: 80px; padding: 0 20px; }
.src-section-label { font-size: 14px; font-weight: 900; text-transform: uppercase; color: #aaa; margin-bottom: 30px; letter-spacing: 2px; }

/* Interactive Carousel Grid */
.src-carousel-grid { display: flex; overflow-x: auto; gap: 30px; padding: 20px 0 40px; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; }
.src-carousel-grid::-webkit-scrollbar { display: none; }
.src-carousel-grid .src-research-card { min-width: 340px; flex-shrink: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }

/* Modular Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}
@media (max-width: 1200px) { .grid-2 { gap: 25px; } }
@media (max-width: 992px) { .grid-2 { grid-template-columns: 1fr; } }

/* Search Results Page Layout */
.src-results-page { padding-bottom: 80px; }
.src-results-header { background: #fcfcfc; padding: 60px 0; border-bottom: 1px solid #eee; margin-bottom: 50px; }
.src-results-header h1 { font-size: 32px; font-weight: 900; margin-bottom: 10px; }
.src-results-header p { color: #888; font-size: 16px; }

.src-results-layout { display: grid; grid-template-columns: 280px 1fr; gap: 50px; }
.src-results-sidebar { position: sticky; top: 40px; height: fit-content; }
.src-filter-group { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 25px; margin-bottom: 25px; }
.src-filter-toggle { font-size: 14px; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; display: flex; justify-content: space-between; cursor: pointer; color: #000; }
.src-filter-content label { display: block; margin-bottom: 12px; font-size: 14px; color: #555; cursor: pointer; }
.src-filter-content input[type="radio"] { margin-right: 10px; accent-color: #000; }
.src-filter-select { width: 100%; height: 45px; border-radius: 8px; border: 1px solid #eee; padding: 0 10px; font-weight: 600; }

.src-results-main { display: flex; flex-direction: column; gap: 30px; }
.src-research-card.slide-entry { animation: slideIn 0.5s ease-out backwards; transition: all 0.4s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.src-highlight { background: #000; color: #fff; padding: 2px 4px; border-radius: 4px; }
.src-pagination { margin-top: 50px; display: flex; justify-content: center; gap: 10px; }
.src-pagination .page-numbers { width: 40px; height: 40px; border-radius: 8px; border: 1px solid #eee; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #666; font-weight: 700; transition: all 0.3s; }
.src-pagination .page-numbers.current { background: #000; color: #fff; border-color: #000; }
.src-pagination .page-numbers:hover:not(.current) { background: #f5f5f5; border-color: #ddd; color: #000; }

/* Library Cards - Academic Style */
.src-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; margin-top: 30px; }
.src-research-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.src-research-card.compact-card { padding: 15px; }
.src-research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border-color: #000;
}
.src-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.src-research-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: #000;
    margin: 0 0 10px;
    line-height: 1.4;
    flex-grow: 1;
    letter-spacing: -0.2px;
}
.src-card-meta.academic-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 15px;
    border-top: 1px solid #f5f5f5;
    padding-top: 10px;
}
.src-meta-item { display: flex; align-items: center; gap: 8px; color: #666; font-size: 11px; font-weight: 600; }
.src-meta-item .dashicons { font-size: 14px; width: 14px; height: 14px; color: #999; }
.src-meta-item strong { color: #000; font-weight: 700; }
.src-card-excerpt {
    color: #777;
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.src-badge.small-badge {
    font-size: 8px;
    padding: 3px 8px;
    letter-spacing: 0.5px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    border-radius: 4px;
}
.small-text { font-size: 10px; color: #bbb; font-weight: 600; }

.src-card-actions { margin-top: auto; display: flex; justify-content: flex-end; }
.src-view-details-btn {
    display: inline-block; padding: 8px 18px; font-size: 11px; font-weight: 800; color: #000;
    border: 1.5px solid #000; border-radius: 6px; text-decoration: none !important; transition: all 0.2s;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.src-view-details-btn:hover { background: #000; color: #fff; }

/* General UI Polish */
.src-card, .src-metric-card, .src-research-card, .src-filter-group, .src-submission-wizard, .src-auth-container {
    border-radius: 12px !important;
}

/* Public Profile Stylings */
.src-public-profile { background: #fafafa; min-height: 100vh; padding-bottom: 100px; }
.src-profile-hero { background: #fff; border-bottom: 1px solid #eee; padding: 80px 0; margin-bottom: 60px; box-shadow: 0 5px 20px rgba(0,0,0,0.02); }
.src-profile-id-card { display: flex; align-items: center; gap: 40px; }
.src-profile-picture { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; border: 4px solid #000; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.src-profile-picture img { width: 100%; height: 100%; object-fit: cover; }
.src-profile-summary h1 { font-size: 42px; font-weight: 900; margin: 0 0 10px; color: #000; letter-spacing: -1.5px; }
.src-profile-role-badge { background: #000; color: #fff; padding: 4px 15px; border-radius: 50px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; display: inline-block; }
.src-profile-quick-meta { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; }
.src-profile-quick-meta .src-meta-item { color: #666; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.src-profile-quick-meta .dashicons { color: #000; font-size: 18px; width: 18px; height: 18px; }

.src-profile-stats-row { display: flex; gap: 40px; justify-content: flex-end; align-items: center; height: 100%; }
.src-stat-box { text-align: center; border-left: 1px solid #eee; padding-left: 40px; }
.src-stat-box:first-child { border-left: none; }
.src-stat-val { display: block; font-size: 36px; font-weight: 900; color: #000; line-height: 1; margin-bottom: 10px; }
.src-stat-label { font-size: 11px; font-weight: 800; text-transform: uppercase; color: #999; letter-spacing: 1px; }

.src-profile-content-layout { display: grid; grid-template-columns: 1fr 340px; gap: 60px; }
.src-profile-section { margin-bottom: 60px; }
.src-profile-section h3 { font-size: 15px; font-weight: 900; text-transform: uppercase; border-bottom: 2px solid #000; display: inline-block; margin-bottom: 30px; color: #000; letter-spacing: 1.5px; }

.src-academic-info-card.card { background: #fff; padding: 40px; border: 1px solid #eee; border-radius: 12px; }
.src-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.src-info-item label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; color: #aaa; margin-bottom: 10px; letter-spacing: 1px; }
.src-info-item span { font-size: 18px; font-weight: 700; color: #000; }

.src-research-list { display: grid; grid-template-columns: 1fr; gap: 25px; }

@media (max-width: 992px) {
    .src-profile-content-layout { grid-template-columns: 1fr; }
    .src-profile-hero .grid-2 { grid-template-columns: 1fr; gap: 50px; }
    .src-profile-stats-row { justify-content: center; }
    .src-profile-id-card { flex-direction: column; text-align: center; }
}

/* Responsive */
@media (max-width: 992px) {
    .src-cp-sidebar.fixed-sidebar { transform: translateX(-100%); }
    .src-cp-sidebar.active { transform: translateX(0); }
    .src-cp-main { margin-left: 0; width: 100%; padding: 40px 20px; }
    #src-cp-mobile-toggle { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: var(--src-black); color: var(--src-white); border: none; z-index: 2000; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
}

@media (max-width: 768px) {
    .src-workspace-metrics { flex-direction: column; }
    .src-search-filters-bar { flex-direction: column; }
    .src-search-dropdowns { width: 100%; flex-wrap: wrap; }
    .src-search-dropdowns select { flex: 1; }
    .src-library-container.home-engine { margin: 50px 20px; }
    .src-search-engine.centered { padding: 30px 20px; }
    .src-filters.inline { flex-direction: column; }
    .src-filters.inline select, .src-filters.inline .src-submit-btn { max-width: 100%; }
}

/* Multi-Step Submission Wizard */
.src-submission-wizard {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: var(--src-white);
    border: 1px solid var(--src-gray-med);
    border-radius: var(--src-border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.src-wizard-header { text-align: center; margin-bottom: 50px; }
.src-wizard-header h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.src-wizard-header p { color: #666; font-size: 15px; }

.src-wizard-steps { display: flex; justify-content: center; gap: 40px; margin-top: 30px; position: relative; }
.src-wizard-steps::before {
    content: ''; position: absolute; top: 15px; left: 15%; right: 15%; height: 2px; background: #eee; z-index: 1;
}
.src-step { position: relative; z-index: 2; text-align: center; min-width: 80px; }
.src-step span {
    width: 32px; height: 32px; border-radius: 50%; background: #eee; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 8px; font-size: 14px; font-weight: 800; color: #999; border: 2px solid #fff; transition: all 0.3s;
}
.src-step p { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #999; }
.src-step.active span { background: var(--src-black); color: var(--src-white); }
.src-step.active p { color: var(--src-black); }
.src-step.completed span { background: #4CAF50; color: var(--src-white); }

.src-wizard-step-content { display: none; min-height: 300px; }
.src-wizard-step-content.active { display: block; animation: fadeIn 0.4s; }

.src-upload-zone {
    border: 2px dashed #eee; padding: 40px; border-radius: 12px; text-align: center; transition: all 0.3s;
    background: #fafafa; cursor: pointer;
    position: relative;
}
.src-upload-zone:hover, .src-upload-zone.drag-active { border-color: #000; background: #fefefe; }
.src-upload-icon { font-size: 40px; color: #ccc; margin-bottom: 15px; }
.src-upload-zone p { font-weight: 700; margin-bottom: 5px; }
.src-upload-zone span { font-size: 12px; color: #999; }
.src-upload-zone input[type="file"] { position: absolute; top:0; left:0; width:100%; height:100%; opacity: 0; cursor: pointer; }

.src-wizard-footer { display: flex; justify-content: space-between; margin-top: 40px; border-top: 1px solid #eee; padding-top: 30px; }
.src-btn-outline { background: transparent; border: 2px solid var(--src-black); color: var(--src-black); border-radius: 10px; padding: 12px 25px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.src-btn-outline:hover { background: #f0f0f0; }

.src-confirmation-box { background: #f9f9f9; padding: 20px; border-radius: 10px; margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.src-confirmation-box label { font-size: 14px; font-weight: 600; cursor: pointer; }

.src-error { border-color: red !important; }

/* Research Detail Page */
.src-research-detail { max-width: 1100px; margin: 40px auto; padding: 0 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.src-breadcrumbs { margin-bottom: 30px; font-size: 13px; color: #999; font-weight: 600; }
.src-breadcrumbs a { color: var(--src-black); text-decoration: none; }
.src-breadcrumbs .sep { margin: 0 10px; }

.src-detail-container { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.src-detail-card { padding: 50px; background: #fff; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }

.src-detail-meta-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.src-badge { background: #f0f0f0; color: #000; padding: 5px 12px; border-radius: 5px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.src-pub-id-label { font-size: 11px; font-weight: 800; color: #999; text-transform: uppercase; background: #f9f9f9; padding: 4px 12px; border-radius: 4px; }
.src-pub-date-label { color: #888; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.src-pub-date-label .dashicons { font-size: 16px; width: 16px; height: 16px; }

.src-detail-authors-box { display: flex; gap: 15px; margin-bottom: 35px; border-bottom: 1px solid #eee; padding-bottom: 25px; flex-wrap: wrap; }
.src-meta-pill { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #eee; padding: 8px 20px; border-radius: 50px; font-size: 14px; color: #333; font-weight: 600; }
.src-meta-pill .dashicons { color: #000; font-size: 18px; width: 18px; height: 18px; }
.src-meta-pill.collaborators-pill { background: #fafafa; border-style: dashed; color: #666; }
.src-link-pill { text-decoration: none; transition: all 0.3s; }
.src-link-pill:hover { background: #000; color: #fff; border-color: #000; }
.src-link-pill:hover .dashicons { color: #fff; }
.src-link-item { text-decoration: none !important; transition: all 0.3s; }
.src-link-item:hover strong, .src-link-item:hover span { color: #000; }

.src-classification-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.src-class-item {
    font-size: 13px; color: #555; background: #fcfcfc; padding: 12px 18px;
    border-radius: 8px; border: 1px solid #f0f0f0; display: flex; align-items: center; gap: 10px;
}
.src-class-item .dashicons { font-size: 18px; width: 18px; height: 18px; color: #000; }
.src-class-item strong { color: #000; font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; }

.src-detail-title { font-size: 36px; font-weight: 900; line-height: 1.2; margin-bottom: 30px; color: #000; }

.src-detail-authors { margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 30px; }
.src-primary-author { font-size: 20px; margin-bottom: 10px; color: #000; }
.src-institution { color: #666; font-style: italic; }
.src-co-authors { font-size: 14px; color: #888; margin-top: 10px; }

.src-detail-section { margin-bottom: 40px; }
.src-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-left: 4px solid #000; padding-left: 15px; }
.src-section-header h3 { margin: 0 !important; border-left: none !important; padding-left: 0 !important; }
.src-detail-section h3 { font-size: 18px; font-weight: 800; border-left: 4px solid #000; padding-left: 15px; margin-bottom: 20px; text-transform: uppercase; color: #000; }
.src-abstract-content { line-height: 1.8; color: #333; font-size: 17px; }

.src-keywords-list a { background: #f5f5f5; color: #000; text-decoration: none; padding: 6px 15px; border-radius: 20px; font-size: 13px; font-weight: 600; margin: 0 10px 10px 0; display: inline-block; }

.src-file-list { display: flex; flex-direction: column; gap: 20px; }
.src-file-item { display: flex; align-items: center; gap: 20px; padding: 25px; border: 1px solid #eee; border-radius: 12px; transition: all 0.3s; background: #fff; }
.src-file-item:hover { border-color: #000; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.src-file-item .dashicons { font-size: 32px; width: 32px; height: 32px; color: #333; }
.src-file-info { flex: 1; display: flex; flex-direction: column; }
.src-file-info strong { font-size: 15px; color: #000; }
.src-file-info span { font-size: 12px; color: #999; }
.src-file-actions { display: flex; gap: 15px; }

.src-detail-footer { border-top: 1px solid #eee; padding-top: 40px; margin-top: 40px; display: flex; justify-content: space-between; align-items: center; }
.src-footer-actions { display: flex; gap: 15px; }
.src-back-link { text-decoration: none; color: #000; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 10px; }

/* Sidebar Widgets */
.src-sidebar-widget { padding: 30px; margin-bottom: 30px; background: #fff; border: 1px solid #eee; border-radius: 12px; }
.src-sidebar-widget h3 { font-size: 16px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; border-bottom: 2px solid #000; display: inline-block; color: #000; }
.src-sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.src-sidebar-widget li { margin-bottom: 12px; font-size: 14px; display: flex; justify-content: space-between; color: #666; }
.src-sidebar-widget li strong { color: #000; }

@media (max-width: 992px) {
    .src-detail-container { grid-template-columns: 1fr; }
    .src-detail-sidebar { order: 2; }
    .src-detail-card { padding: 30px; }
}

/* Submissions & Search UI Enhancement */
.src-search-filters-bar { display: flex; gap: 20px; margin: 20px 0; flex-wrap: wrap; }
.src-search-dropdowns { display: flex; gap: 15px; }
.src-search-dropdowns select { padding: 0 15px; border-radius: 10px; border: 1px solid #eee; font-size: 13px; font-weight: 600; background: #fff; height: 45px; }

.src-submission-search-container { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.src-search-bar.compact { flex: 1; min-width: 250px; position: relative; }
.src-search-bar.compact input { width: 100%; padding: 12px 15px 12px 40px; border-radius: 10px; border: 1px solid #eee !important; font-size: 14px; box-shadow: none !important; }
.src-search-bar.compact .dashicons { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #999; }
.src-sub-filters { display: flex; gap: 15px; }
.src-sub-filters select { padding: 0 15px; border-radius: 10px; border: 1px solid #eee; font-size: 13px; font-weight: 600; background: #fff; height: 45px; }

.src-badge.status-publish { background: #e8f5e9; color: #2e7d32; }
.src-badge.status-pending { background: #fff3e0; color: #ef6c00; }
.src-badge.status-draft { background: #ffebee; color: #c62828; }
.src-badge.admin-badge { background: #333; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.src-badge.admin-badge:hover { background: #000; }

/* Favorites Icon Style */
.src-card-top-actions { display: flex; align-items: center; gap: 10px; }
.src-fav-toggle { background: none; border: none; padding: 0; cursor: pointer; color: #ccc; transition: all 0.3s; display: flex; align-items: center; }
.src-fav-toggle:hover { transform: scale(1.2); color: #888; }
.src-fav-toggle.active { color: #ff4d4d; }
.src-fav-toggle .dashicons { font-size: 20px; width: 20px; height: 20px; }

/* Micro-interactions & Professional Tooltips */
[title] { position: relative; }
[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 10000;
    margin-bottom: 10px;
    pointer-events: none;
    opacity: 0;
    animation: tooltipFade 0.2s forwards 0.3s;
}

@keyframes tooltipFade { to { opacity: 1; } }

.src-icon-btn:hover, .src-header-icon-circle:hover { transform: translateY(-2px); }

.spin { animation: src-spin 2s infinite linear; }
@keyframes src-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
