/* Employee Portal Frontend Styles - Updated */

/* ============================================
   NOTICE AND ALERT STYLES
   ============================================ */
.sep-notice {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    border-left: 4px solid;
}

.sep-notice p {
    margin: 0 0 8px 0;
}

.sep-notice p:last-child {
    margin-bottom: 0;
}

.sep-notice strong {
    display: inline;
}

.sep-notice code {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
}

.sep-notice.sep-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.sep-notice.sep-error,
.sep-notice.sep-notice-error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.sep-notice.sep-info {
    background-color: #e7f3ff;
    border-color: #0073aa;
    color: #004085;
}

.sep-notice.sep-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.sep-domains-notice {
    font-size: 14px;
}

.sep-domains-notice code {
    background: rgba(0, 115, 170, 0.15);
    color: #0073aa;
    font-weight: 600;
}

/* .sep-dashboard-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
} */

.sep-dashboard-header {
    background: #f8f9fa;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 20px 20px 20px 20px;
    background-color: rgba(213, 230, 255, 1);
}

.sep-dashboard-header .sep-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.sep-dashboard-header h1 {
    margin: 0;
    color: #333;
    font-family: "Nunito", Sans-serif;
}

.sep-dashboard-nav {
    margin-bottom: 20px;
}

/* ============================================
   UPDATED TAB STYLES - Matching Design
   ============================================ */
.sep-nav-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    background: rgba(213, 230, 255, 1);
    border-radius: 20px 20px 20px 20px;
    padding: 10px;
    gap: 5px;
    flex-wrap: wrap;
}

.sep-nav-tabs li {
    margin: 0;
    flex: 1;
    min-width: 140px;
}

.sep-nav-tabs li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 15px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    background: transparent;
}

.sep-nav-tabs li.active a {
    background: white;
    color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sep-nav-tabs li a:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #0073aa;
}

.sep-nav-tabs li.active a:hover {
    background: white;
}

/* Print button styles */
@media print {
    .sep-print-btn,
    .sep-dashboard-nav,
    .sep-header-actions,
    .dashicons {
        display: none !important;
    }
}

.sep-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.sep-print-btn:hover {
    background: #005a87;
    color: white;
}

.sep-print-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Single portal post pages */
.single-employee_portal .entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.single-employee_portal .sep-post-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Spinner animation for loading states */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dashicons.spin {
    animation: spin 1s linear infinite;
}

/* Button Styles */
.sep-btn {
    display: inline-block;
    padding: 10px 20px !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px !important;
    line-height: 1.5;
}
.sep-btn:hover{
	color:#000;
}
.sep-btn-primary {
    background: #0073aa;
    color: white;
}

.sep-btn-primary:hover {
    background: #005a87;
    color: white;
}

.sep-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.sep-btn-secondary:hover {
    background: #e0e0e0;
    color: #333;
}

/* Yellow/Warning Button Style */
.sep-btn-warning {
    background-color: var(--e-global-color-accent);
    font-family: "Nunito", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    line-height: 26px;
    color: #000000;
    border-style: none;
    border-radius: 50px 50px 50px 50px;
    padding: 10px 20px;
}

.sep-btn-warning:hover {
    background: #C08A00;
    color: #000;
}

.sep-btn-danger {
    background: #dc3545;
    color: white;
}

.sep-btn-danger:hover {
    background: #C08A00;
    color: #000;
}

.sep-btn-small {
    padding: 5px 10px;
    font-size: 13px;
}

.sep-btn .dashicons {
    vertical-align: middle;
    margin-right: 3px;
}

.sep-dashboard-content {
    background: white;
    padding: 30px;
    border-radius: 20px 20px 20px 20px;
    background-color: rgba(213, 230, 255, 1);
}
.sep-admin-links{
    padding-top: 30px;
}
.sep-welcome-banner{
    margin-bottom: 30px;
}

/* Stats Grid */
.sep-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.sep-stat-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.sep-stat-box h3 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
}

.sep-stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #0073aa;
    margin: 10px 0;
}

.sep-stat-status {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
    margin: 10px 0;
}

.sep-stat-date {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
}

.sep-stat-label {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* Forms */
.sep-form-group,
.form-group {
    margin-bottom: 20px;
}

.sep-form-group label,
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.sep-form-group input[type="text"],
.sep-form-group input[type="email"],
.sep-form-group input[type="tel"],
.sep-form-group input[type="date"],
.sep-form-group textarea,
.sep-form-group select,
.form-group input[type="file"],
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.sep-form-row {
    display: flex;
    gap: 20px;
}

.sep-col-half {
    flex: 1;
}

.sep-col-third {
    flex: 0 0 31%;
}

/* Buttons */
.sep-btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.sep-btn-primary {
    background: #0073aa;
    color: white;
}

.sep-btn-primary:hover {
    background: #005a87;
}

.sep-btn-secondary {
    background: #6c757d;
    color: white;
}

.sep-btn-secondary:hover {
    background: #545b62;
}

.sep-btn-danger {
    background: #dc3545;
    color: white;
}

.sep-btn-danger:hover {
    background: #c82333;
}

.sep-btn-small {
    padding: 5px 10px;
    font-size: 12px;
}

/* ============================================
   UPDATED TABLE STYLES - Matching Design
   ============================================ */
.sep-documents-table,
.sep-referrals-table,
.sep-detail-table,
.sep-profile-details table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-bottom: 1px solid;
    border-color: inherit;
}

.sep-documents-table th,
.sep-documents-table td,
.sep-referrals-table th,
.sep-referrals-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.sep-documents-table th,
.sep-referrals-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sep-documents-table tbody tr,
.sep-referrals-table tbody tr {
    transition: background 0.2s ease;
}

.sep-documents-table tbody tr:hover,
.sep-referrals-table tbody tr:hover {
    background: #f9fafb;
}

/* Profile Details Table */
.sep-detail-table {
    background: white;
}

.sep-detail-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
}

.sep-detail-table td.sep-label {
    font-weight: 600;
    color: #6b7280;
    width: 180px;
}

.sep-detail-table tr:last-child td {
    border-bottom: none;
}

/* Document Grid */
.sep-document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sep-document-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: white;
    transition: box-shadow 0.3s;
}

.sep-document-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sep-doc-icon {
    text-align: center;
    margin-bottom: 10px;
}

.sep-doc-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #666;
}

.sep-doc-info h4 {
    margin: 0 0 5px;
    font-size: 14px;
}

.sep-doc-meta {
    font-size: 12px;
    color: #999;
}

.sep-doc-type {
    margin-right: 10px;
}

.employee-link{
    color: #fff;
}

.employee-link:hover{
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
}

/* Login Form */
.sep-login-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sep-login-wrapper h2 {
    margin-bottom: 20px;
    text-align: center;
}

.sep-login-wrapper label{
    margin-bottom: 10px;
}

#sep-login-form input[type="text"],
#sep-login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sep-login-links {
    text-align: center;
    margin-top: 20px;
}

.sep-login-links .sep-divider {
    margin: 0 10px;
    color: #999;
}

/* Registration Form */
#sep-registration-form .sep-form-group {
    margin-bottom: 15px;
}

#sep-registration-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

#sep-registration-form input[type="text"],
#sep-registration-form input[type="email"],
#sep-registration-form input[type="tel"],
#sep-registration-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#sep-registration-form input.error {
    border-color: #dc3545;
}

#sep-registration-form .required {
    color: #dc3545;
}

#sep-registration-form .sep-field-description {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

#sep-registration-form .sep-field-error {
    display: block;
    font-size: 12px;
    color: #dc3545;
    margin-top: 3px;
}

#sep-registration-form .sep-checkbox-group {
    margin: 20px 0;
}

#sep-registration-form .sep-checkbox-group label {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
}

#sep-registration-form .sep-checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 3px;
}

#sep-registration-form .sep-form-actions {
    margin-top: 25px;
}

#sep-registration-message {
    margin: 15px 0;
}

/* ============================================
   UPDATED POSTS SECTION - Matching Recent Announcements Style
   ============================================ */
.sep-posts-section {
    background: white;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.sep-posts-section h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #333;
}

.sep-section-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.sep-posts-list {
    margin-top: 20px;
}

.sep-post-item {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.sep-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sep-post-item h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.sep-post-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.sep-post-item h3 a:hover {
    color: #0073aa;
}

.sep-post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sep-post-meta a {
    color: #0073aa;
    text-decoration: none;
}

.sep-post-meta a:hover {
    text-decoration: underline;
}

.sep-post-categories {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sep-post-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sep-post-date .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.sep-post-excerpt {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.sep-read-more {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}

.sep-read-more:hover {
    text-decoration: underline;
}

/* Category Filter */
.sep-category-filter {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sep-category-filter label {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    flex: 30%;
}

.sep-category-filter select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

/* Pagination */
.sep-pagination {
    margin-top: 30px;
    text-align: center;
}

.sep-pagination a,
.sep-pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.sep-pagination a:hover {
    background: #f8f9fa;
}

.sep-pagination .current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Content List */
.sep-content-list {
    list-style: none;
    padding: 0;
}

.sep-content-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sep-content-list a {
    color: #333;
    text-decoration: none;
}

.sep-content-list a:hover {
    color: #0073aa;
}

.sep-date {
    font-size: 12px;
    color: #999;
}

/* Action Buttons */
.sep-action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Post Actions */
.sep-post-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.sep-refer-btn.sep-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0px 10px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.sep-refer-btn.sep-btn-small:hover {
    background: #218838;
}

.sep-refer-btn.sep-btn-small .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Company Resources */
.sep-company-resources {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.sep-resource-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.sep-resource-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sep-resource-list li:last-child {
    border-bottom: none;
}

.sep-resource-list a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sep-resource-list a:hover {
    color: #0073aa;
}

.sep-resource-list .dashicons {
    color: #666;
}

.sep-doc-type {
    font-size: 12px;
    color: #666;
    background: #fff;
    padding: 2px 8px;
    border-radius: 3px;
}

.sep-view-all {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}

.sep-view-all:hover {
    text-decoration: underline;
}

/* Documents Grid View */
.sep-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sep-document-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.sep-document-card:hover,
.sep-document-card.hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.sep-doc-icon-wrapper {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.sep-doc-icon-wrapper .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #0073aa;
}

.sep-file-ext {
    position: absolute;
    bottom: -5px;
    right: 50%;
    transform: translateX(50%);
    background: #333;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

.sep-doc-content {
    margin-bottom: 15px;
}

.sep-doc-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sep-doc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sep-doc-type-badge {
    background: #f0f0f0;
    color: #666;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
}

.sep-doc-size {
    font-size: 11px;
    color: #999;
}

.sep-doc-date {
    font-size: 11px;
    color: #999;
}

.sep-doc-actions {
    display: flex;
    gap: 8px;
}

.sep-doc-actions .sep-btn {
    flex: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 50px;
}

.sep-doc-actions .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Document Filters */
.sep-document-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sep-filter-btn {
    padding: 8px 16px !important;
    background: #f8f9fa !important;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sep-filter-btn:hover {
    background: #e9ecef !important;
    color: #000;
}

.sep-filter-btn.active {
    background: #0073aa !important;
    color: white;
    border-color: #0073aa;
}

.sep-filter-btn .sep-count {
    background: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 14px;
    font-weight: bold;
}

.sep-filter-btn.active .sep-count {
    background: rgba(255,255,255,0.3);
}

/* Empty State */
.sep-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.sep-empty-state .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.sep-empty-state h3 {
    color: #666;
    margin-bottom: 10px;
}

/* Section Description */
.sep-section-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

/* My Documents Updates */
.sep-documents-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.sep-my-documents-list {
    margin-top: 30px;
}

.sep-help-text {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Notices */
.sep-notice {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.sep-notice.sep-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sep-notice.sep-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Single Portal */
.sep-single-portal {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* .sep-portal-article {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
} */

.sep-entry-header {
    margin-bottom: 30px;
}

.sep-entry-title {
    margin: 0 0 15px;
    color: #333;
}

.sep-entry-meta {
    font-size: 14px;
    color: #666;
}

.sep-entry-meta a {
    color: #0073aa;
    text-decoration: none;
}

.sep-entry-meta a:hover {
    text-decoration: underline;
}

.sep-featured-image {
    margin-bottom: 30px;
}

.sep-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.sep-entry-content {
    line-height: 1.6;
    color: #333;
}

.sep-entry-footer {
    /* margin-top: 30px; */
    padding-top: 30px;
    /* border-top: 1px solid #eee; */
}

.sep-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.sep-nav-prev,
.sep-nav-next {
    color: #0073aa;
    text-decoration: none;
}

.sep-nav-prev:hover,
.sep-nav-next:hover {
    text-decoration: underline;
}

/* Resume Section */
.sep-resume-tips ul {
    margin-left: 20px;
    line-height: 1.8;
}

.sep-help-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Category Archive */
.sep-archive-portal {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.sep-archive-header {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.sep-archive-title {
    margin: 0 0 15px;
    color: #333;
    font-size: 32px;
}

.sep-archive-description {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.sep-posts-grid {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sep-posts-grid .sep-post-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.sep-posts-grid .sep-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sep-post-author {
    margin-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .sep-nav-tabs {
        flex-direction: column;
    }
    
    .sep-nav-tabs li {
        margin-right: 0;
        margin-bottom: 5px;
        min-width: unset;
    }
    
    .sep-documents-table {
        font-size: 14px;
    }
    
    .sep-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .sep-form-row {
        flex-direction: column;
    }
    
    .sep-col-half,
    .sep-col-third {
        flex: 1;
    }
    
    .sep-action-buttons {
        flex-direction: column;
    }
    
    .sep-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Grid adjustments for mobile */
    .sep-documents-grid {
        grid-template-columns: 1fr;
    }
    
    .sep-document-filters {
        flex-direction: column;
    }
    
    .sep-filter-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .sep-documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Notifications Section */
.sep-notifications-section {
    background: white;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sep-notifications-section h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #333;
}

.sep-notification-grid {
    display: grid;
    gap: 15px;
}

.sep-notification {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid;
}

.sep-notification .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.sep-notification strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.sep-notification p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.sep-notification-warning {
    border-left-color: #ffc107;
}

.sep-notification-warning .dashicons {
    color: #ffc107;
}

.sep-notification-info {
    border-left-color: #17a2b8;
}

.sep-notification-info .dashicons {
    color: #17a2b8;
}

.sep-notification-success {
    border-left-color: #28a745;
}

.sep-notification-success .dashicons {
    color: #28a745;
}

/* Recent Section */
.sep-recent-section {
    background: white;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* margin-bottom: 30px; */
}

.sep-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sep-section-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.sep-view-all {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
}

.sep-view-all:hover {
    text-decoration: underline;
}

.sep-content-grid {
    display: grid;
    gap: 15px;
}

.sep-content-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s;
}

.sep-content-card:hover {
    background: #f0f1f3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sep-content-icon {
    flex-shrink: 0;
}

.sep-content-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #0073aa;
}

.sep-content-info {
    flex: 1;
}

.sep-content-info h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.sep-content-info h4 a {
    color: #333;
    text-decoration: none;
}

.sep-content-info h4 a:hover {
    color: #0073aa;
}

.sep-content-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
}

.sep-content-meta .sep-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sep-content-meta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.sep-category {
    background: #0073aa;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
}

.sep-excerpt {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.sep-empty-message {
    text-align: center;
    padding: 30px;
    color: #666;
}

.sep-empty-message .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #ccc;
    margin-bottom: 10px;
}

/* Modal Styles - Modern UI matching the design */
.sep-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    backdrop-filter: blur(2px);
}

.sep-modal-container {
    background: white;
    border-radius: 8px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sep-modal-content {
    padding: 30px;
    text-align: center;
}

.sep-modal-content h3 {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.sep-modal-content p {
    margin: 0 0 25px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Modal Icon Styles */
.sep-modal-icon {
    text-align: center;
    margin-bottom: 20px;
}

.sep-modal-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #0073aa;
}

.sep-modal-alert .sep-modal-icon .dashicons-yes-alt {
    color: #28a745;
}

.sep-modal-alert .sep-modal-icon .dashicons-warning {
    color: #ffc107;
}

.sep-modal-alert .sep-modal-icon .dashicons-dismiss {
    color: #dc3545;
}

.sep-modal-alert .sep-modal-icon .dashicons-info {
    color: #17a2b8;
}

/* Button Success Style */
.sep-btn-success {
    background: #28a745;
    color: white;
}

.sep-btn-success:hover {
    background: #218838;
}

.sep-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.sep-modal-actions .sep-btn {
    min-width: 100px;
    padding: 10px 20px;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline;
}

.sep-btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.sep-btn-cancel:hover {
    background: #e0e0e0;
    color: #333;
}

.sep-btn-confirm {
    background: #FFB400;
    color: black;
}

.sep-btn-confirm:hover {
    background: #FFB400;
}

/* Button Styles - Update to match modern UI */
.sep-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
	margin:0 10px 10px 0px;
}

.sep-btn-primary {
    background: #FFB400 !important;
    color: #000;
}

.sep-btn-primary:hover {
    background: #C08A00 !important;
    color: #000 !important;
}

.sep-btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.sep-btn-secondary:hover {
    background: #e0e0e0; 
}

.sep-btn-danger {
    background: #dc3545;
    color: white;
}

.sep-btn-danger:hover {
    background: #c82333;
}

/* .sep-btn-warning,.sep-btn-danger {
    background: #FFB400 !important;
    color: #000 !important;
}
.sep-btn.sep-btn-warning:hover{
	background: #C08A00 !important;
    color: #000 !important;
}
.sep-btn-danger:hover {
    background: #C08A00 !important;
    color: #000 !important;
} */
.sep-view-doc-btn{
	background: #285A9D !important;
    color: #fff !important;
}
.sep-view-doc-btn:hover{
	background:#184581 !important;
}
.sep-delete-document{
	background: #c85f5f !important;
    color: #fff !important;
	
}
.sep-delete-document:hover {
	background:#a73c3c !important;
}
.sep-btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Message Styles */
.sep-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 15px 0;
}

.sep-message-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.sep-message-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.sep-message .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Upload Form Styles */
.sep-upload-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sep-upload-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input[type="file"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.sep-help-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

/* Referrals Tab Styles */
.sep-referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.sep-stat-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.sep-stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.sep-stat-icon {
    width: 50px;
    height: 50px;
    background: #f0f6fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sep-stat-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #0073aa;
}

.sep-stat-content {
    display: flex;
    flex-direction: column;
}

.sep-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #23282d;
    line-height: 1;
}

.sep-stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Referrals Table Wrapper */
.sep-referrals-table-wrapper {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
}

.sep-referrals-table-wrapper h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #23282d;
}

/* Status Badges */
.sep-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.sep-status-badge.status-active {
    background: #d4edda;
    color: #155724;
}

.sep-status-badge.status-expired {
    background: #fff3cd;
    color: #856404;
}

.sep-status-badge.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

/* Action Buttons */
.sep-copy-link-btn,
.sep-revoke-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 4px 8px;
    cursor: pointer;
    margin-right: 5px;
    transition: all 0.2s;
}

.sep-copy-link-btn:hover {
    border-color: #0073aa;
    color: #0073aa;
}

.sep-revoke-btn:hover {
    border-color: #dc3545;
    color: #dc3545;
}

.sep-copy-link-btn .dashicons,
.sep-revoke-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.text-danger {
    color: #dc3545;
}

/* Profile Section Styles */
.sep-profile-section {
    background: white;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.sep-profile-view {
    display: grid;
    gap: 25px;
}

.sep-profile-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
}

.sep-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.sep-profile-title h3 {
    margin: 0 0 5px;
    font-size: 24px;
    color: #23282d;
}

.sep-profile-position {
    color: #0073aa;
    font-size: 16px;
    margin: 0 0 3px;
}

.sep-profile-id {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.sep-profile-bio h4 {
    margin: 20px 0 10px;
    font-size: 18px;
    color: #23282d;
}

.sep-profile-bio p {
    color: #666;
    line-height: 1.6;
}

.sep-profile-details {
    display: grid;
    gap: 20px;
}

.sep-detail-section {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
	overflow-x:scroll;
}

.sep-detail-section h4 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #23282d;
	
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .sep-dashboard-content {
        padding:30px 10px;
    }
    .sep-profile-section{
        padding:25px 15px;
    }
}
@media (max-width: 768px) {
    .sep-dashboard-header h1{
        font-size: 30px;
        line-height: 40px;
    }
    .sep-section-header{
        flex-direction: column;
    }
    .sep-referral-stats {
        grid-template-columns: 1fr;
    }
    
    .sep-referrals-table {
        font-size: 12px;
    }
    
    .sep-referrals-table th,
    .sep-referrals-table td {
        padding: 8px 5px;
    }
    
    .sep-referrals-table td:nth-child(2),
    .sep-referrals-table th:nth-child(2) {
        display: none;
    }
    
    .sep-profile-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   AI SEARCH INTEGRATION STYLES
   ============================================ */

/* Search Container */
.sep-ai-search-container {
    margin-bottom: 40px;
}

/* Search Form Wrapper */
.sep-search-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Search Input Group */
.sep-search-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
}

.sep-search-icon {
    position: absolute;
    left: 15px;
	top:19px;
    font-size: 20px;
    color: #666;
    pointer-events: none;
}

.sep-search-input {
    flex: 1;
    padding: 15px 15px 15px 45px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 50px !important;
    font-size: 16px;
    transition: all 0.3s !important;
}

.sep-search-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.sep-search-button {
    padding: 15px 30px;
    background: #FFB400;
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.sep-search-button:hover {
    background: #C08A00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(212, 169, 72, 0.3);
}

/* Search Filters */
.sep-search-filters {
    display: none !important;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.sep-filter-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    user-select: none;
}

.sep-filter-label:hover {
    background: #e9ecef;
}

.sep-filter-label input[type="checkbox"] {
    cursor: pointer;
}

.sep-filter-label input[type="checkbox"]:checked + * {
    font-weight: 600;
}

/* Search Suggestions */
.sep-search-suggestions {
    margin-top: 25px;
}

.sep-suggestions-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
}

.sep-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sep-suggestion-chip {
    padding: 8px 16px;
    background: #f0f6fc;
    color: #0073aa;
    border: 1px solid #d1e6f5;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.sep-suggestion-chip:hover {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    transform: translateY(-1px);
}

/* Loading State */
.sep-search-loading {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    margin-top: 20px;
}

.sep-loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sep-search-loading p {
    color: #666;
    font-size: 16px;
}

/* Search Results */
.sep-search-results {
    margin-top: 30px;
}

.sep-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    /* border-bottom: 2px solid #e0e0e0; */
}

.sep-results-title {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.sep-results-title strong {
    color: #0073aa;
}

.sep-results-title em {
    color: #666;
    font-style: normal;
}

.sep-clear-search {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.sep-clear-search:hover {
    background: #e9ecef;
    color: #333;
}

.sep-clear-search .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Result Items */
.sep-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* AI Answer Box */
.sep-ai-answer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.sep-ai-answer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.sep-ai-answer-header .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #FFD700;
}

.sep-ai-answer-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.sep-ai-answer-content {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
}

.sep-ai-answer-footer {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sep-ai-answer-footer small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

/* Results Separator */
.sep-results-separator {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.sep-results-separator::before,
.sep-results-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e0e0e0;
}

.sep-results-separator::before {
    left: 0;
}

.sep-results-separator::after {
    right: 0;
}

.sep-results-separator span {
    background: white;
    padding: 0 20px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sep-result-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.sep-result-item:hover {
    border-color: #0073aa;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.1);
    transform: translateY(-2px);
}

.sep-result-title {
    margin: 0 0 12px;
    font-size: 20px;
}

.sep-result-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.sep-result-title a:hover {
    color: #0073aa;
}

.sep-result-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.sep-result-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.sep-result-date .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.sep-result-categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.sep-category-badge {
    padding: 3px 10px;
    background: #f0f6fc;
    color: #0073aa;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Popular Searches */
.sep-popular-searches {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #FFB400;
    margin-top: 30px;
}

.sep-popular-searches h4 {
    margin: 0 0 15px;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sep-popular-searches h4::before {
    content: "\f179";
    font-family: dashicons;
    font-size: 20px;
    color: #FFB400;
}

.sep-popular-searches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sep-popular-search-chip {
    padding: 10px 18px;
    background: white;
    color: #333;
    border: 2px solid #FFB400;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.sep-popular-search-chip:hover {
    background: #FFB400;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 180, 0, 0.3);
}

.sep-result-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.sep-result-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.sep-result-link:hover {
    color: #005a87;
    gap: 8px;
}

.sep-result-link .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* No Results */
.sep-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.sep-no-results .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.sep-no-results h4 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #333;
}

.sep-no-results p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.sep-search-tips {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.sep-search-tips h5 {
    margin: 0 0 15px;
    color: #0073aa;
    font-size: 16px;
}

.sep-search-tips ul {
    margin: 0;
    padding-left: 20px;
}

.sep-search-tips li {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

/* Search Error */
.sep-search-error {
    text-align: center;
    padding: 60px 20px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.sep-search-error .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #ffc107;
    margin-bottom: 20px;
}

.sep-search-error h4 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #856404;
}

.sep-search-error p {
    color: #856404;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sep-search-form-wrapper {
        padding: 20px;
    }
    
    .sep-search-input-group {
        flex-direction: column;
    }
    
    .sep-search-input {
        width: 100%;
    }
    
    .sep-search-button {
        width: 100%;
    }
    
    .sep-search-filters {
        flex-direction: column;
    }
    
    .sep-filter-label {
        width: 100%;
        justify-content: center;
    }
    
    .sep-results-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .sep-clear-search {
        width: 100%;
        justify-content: center;
    }
    
    .sep-ai-answer {
        padding: 20px;
    }
    
    .sep-ai-answer-header h3 {
        font-size: 20px;
    }
    
    .sep-ai-answer-content {
        font-size: 15px;
    }
    
    .sep-popular-searches {
        padding: 20px;
    }
    
    .sep-popular-search-chip {
        width: 100%;
        text-align: center;
    }
    
    .sep-result-item {
        padding: 20px;
    }
    
    .sep-result-title {
        font-size: 18px;
    }
}

/* ============================================
   LOGIN & PASSWORD RESET FORM IMPROVEMENTS
   ============================================ */

/* Login Form Wrapper Enhancements */
.sep-login-wrapper {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.sep-login-wrapper h2 {
    margin-bottom: 10px;
    text-align: center;
    font-size: 28px;
    color: #333;
}

.sep-login-wrapper > p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Form Styling */
#sep-login-form p,
#sep-lostpassword-form p {
    margin-bottom: 20px;
}

#sep-login-form label,
#sep-lostpassword-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

#sep-login-form input[type="text"],
#sep-login-form input[type="password"],
#sep-lostpassword-form input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

#sep-login-form input[type="text"]:focus,
#sep-login-form input[type="password"]:focus,
#sep-lostpassword-form input[type="text"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* Remember Me Checkbox */
.login-remember label {
    display: flex !important;
    align-items: center;
    font-weight: normal !important;
    font-size: 14px;
    color: #666;
}

.login-remember input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 0;
}

/* Submit Button */
.login-submit,
#sep-lostpassword-form .login-submit {
    margin-top: 25px;
}

#wp-submit {
    width: 100%;
    padding: 12px 20px;
    background: #FFB400 !important;
    color: #000 !important;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(212, 169, 72, 0.2);
}

#wp-submit:hover {
    background: #C08A00 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(212, 169, 72, 0.3);
}

/* Login Links */
.sep-login-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.sep-login-links a {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.sep-login-links a:hover {
    color: #005a87;
    text-decoration: underline;
}

.sep-login-links .sep-divider {
    margin: 0 10px;
    color: #999;
}

/* Error & Success Messages */
.sep-notice {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sep-notice.sep-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.sep-notice.sep-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Password Reset Specific Styles */
#sep-lostpassword-form .login-username {
    margin-bottom: 20px;
}

#sep-resetpass-form .login-password {
    margin-bottom: 20px;
}

.sep-password-strength {
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    background: #f5f5f5;
    display: none;
}

.sep-password-strength.active {
    display: block;
}

.sep-password-strength .password-strength-text {
    font-size: 14px;
    font-weight: 500;
}

.sep-password-strength.weak {
    background: #f8d7da;
    color: #721c24;
}

.sep-password-strength.medium {
    background: #fff3cd;
    color: #856404;
}

.sep-password-strength.strong {
    background: #d4edda;
    color: #155724;
}

.sep-password-hint {
    font-size: 13px;
    color: #666;
    margin-top: 15px;
    line-height: 1.6;
}

#sep-resetpass-form input.match {
    border-color: #28a745;
}

#sep-resetpass-form input.mismatch {
    border-color: #dc3545;
}

/* Responsive */
@media (max-width: 600px) {
    .sep-login-wrapper {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .sep-login-wrapper h2 {
        font-size: 24px;
    }
}

/* ============================================
   Employee ID Management Styles
   ============================================ */

/* Read-only Employee ID field styling */
.sep-readonly-field {
    background-color: #f5f5f5 !important;
    color: #555 !important;
    cursor: not-allowed !important;
    opacity: 0.8;
}

.sep-readonly-field:focus {
    outline: none;
    border-color: #ddd !important;
}

.sep-field-description {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Error message for duplicate employee ID */
.sep-notice.sep-notice-error {
    background-color: #fee;
    border-left: 4px solid #dc3545;
    padding: 10px 15px;
    margin-bottom: 20px;
}

.sep-notice.sep-notice-error p {
    margin: 0;
    color: #721c24;
}

/* Employee ID in profile view */
.sep-profile-id {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    display: inline-block;
}

/* ============================================
   Category Filter Styles - Enhanced Visibility
   ============================================ */

.sep-category-filter {
    /* Sticky positioning - uncomment to make filter stick to top */
    /* position: sticky;
    top: 0;
    z-index: 100; */
    
    background: linear-gradient(135deg, #285A9D 0%, #1e4580 100%);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(40, 90, 157, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 4px 15px rgba(40, 90, 157, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(40, 90, 157, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(40, 90, 157, 0.3);
    }
}

.sep-category-filter label {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sep-category-filter select#sep-category-filter {
    flex: 1;
    max-width: 300px;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sep-category-filter select#sep-category-filter:hover {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sep-category-filter select#sep-category-filter:focus {
    outline: none;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Icon for the filter */
.sep-category-filter::before {
    content: "\f323";
    font-family: dashicons;
    font-size: 24px;
    color: #fff;
    display: inline-block;
    vertical-align: middle;
}

/* Sticky behavior with admin bar consideration - uncomment if using sticky positioning */
/* body.admin-bar .sep-category-filter {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .sep-category-filter {
        top: 46px;
    }
} */

/* Responsive adjustments */
@media (max-width: 768px) {
    .sep-category-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 15px;
    }
    
    .sep-category-filter label {
        font-size: 14px;
    }
    
    .sep-category-filter select#sep-category-filter {
        max-width: 100%;
        width: 100%;
    }
    
    .sep-category-filter::before {
        display: none;
    }
	.sep-search-form-wrapper{
		padding:0;
		box-shadow:none;
	}
}

/* Alternative Style Option - Comment out above and uncomment below for a different look */
/*
.sep-category-filter {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border: 2px solid #2271b1;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(34, 113, 177, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
}

.sep-category-filter label {
    color: #2271b1;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.sep-category-filter select#sep-category-filter {
    flex: 1;
    max-width: 300px;
    padding: 10px 12px;
    border: 1px solid #2271b1;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sep-category-filter select#sep-category-filter:hover {
    background: #f0f8ff;
    border-color: #1a5490;
}

.sep-category-filter select#sep-category-filter:focus {
    outline: none;
    border-color: #1a5490;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}
*/