/**
 * SP-Malgezot Main Styles
 * Light Industrial Theme - Forklift Industry
 * RTL Support for Hebrew
 * Color Palette: Orange #FF7A00 | Red #E53935 | Yellow #FFCA28
 *
 * @package SP_Malgezot
 */

/* ========================================
   GOOGLE FONTS - Heebo for Hebrew
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&display=swap');

/* ========================================
   THEME OVERRIDE - Widen Content Area
   ======================================== */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ========================================
   CSS VARIABLES - Industrial Light Theme
   ======================================== */
:root {
    /* Background Colors */
    --bg-primary: #F8F8F8;
    --bg-card: #FFFFFF;
    --bg-divider: #E7E7E7;
    --bg-line: #DADADA;
    
    /* Text Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #6D6D6D;
    --text-disabled: #BEBEBE;
    --text-inverse: #FFFFFF;
    
    /* Brand Colors - Industrial */
    --brand-orange: #FF7A00;
    --brand-orange-dark: #E86B00;
    --brand-yellow: #FFCA28;
    --brand-red: #E53935;
    
    /* UI Colors */
    --ui-border: #E0E0E0;
    --ui-hover: #FFF5EB;
    --ui-active: #FFE8D1;
    --ui-focus: #FF7A00;
    
    /* Status Colors */
    --status-success: #4CAF50;
    --status-warning: #FFCA28;
    --status-error: #E53935;
    --status-info: #FF7A00;
    
    /* Buttons */
    --btn-primary-bg: #FF7A00;
    --btn-primary-text: #FFFFFF;
    --btn-secondary-bg: #FFFFFF;
    --btn-secondary-border: #FF7A00;
    --btn-secondary-text: #FF7A00;
    --btn-danger-bg: #E53935;
    --btn-danger-text: #FFFFFF;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 18px;
    
    /* Shadows - Light & Soft */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 6px 20px rgba(255, 122, 0, 0.15);
    --shadow-red: 0 4px 12px rgba(229, 57, 53, 0.2);
    
    /* Typography */
    --font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

/* RTL General Styles */
body.rtl,
[dir="rtl"] {
    direction: rtl;
    text-align: right;
    font-family: var(--font-family);
}

/* Global Reset for Industrial Theme */
* {
    box-sizing: border-box;
}

/* Form Styles - Industrial Light */
.sp-malgezot-form {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-right: 4px solid var(--brand-orange);
}

.sp-malgezot-form h2 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    font-size: 28px;
    font-weight: var(--font-weight-bold);
}

.sp-malgezot-form h3 {
    color: var(--text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--brand-orange);
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
}

.form-section {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border-right: 2px solid var(--bg-divider);
}

.form-row {
    margin-bottom: var(--spacing-md);
}

.form-row label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: 15px;
}

.form-row label .required {
    color: var(--brand-red);
    margin-right: var(--spacing-xs);
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row input[type="date"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--ui-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-family);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--ui-focus);
    box-shadow: 0 0 0 3px var(--ui-hover);
}

.form-row textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.form-row small {
    display: block;
    margin-top: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 13px;
}

/* Uploaded Files Display */
.uploaded-files {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.uploaded-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
    gap: 10px;
}

.uploaded-file:hover {
    background: #f0f0f1;
    border-color: #0073aa;
}

.uploaded-file .dashicons {
    color: #0073aa;
    font-size: 20px;
    flex-shrink: 0;
}

.uploaded-file .dashicons-video-alt3 {
    color: #d63638;
}

.uploaded-file a {
    color: #0073aa;
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uploaded-file a:hover {
    text-decoration: underline;
}

.remove-file {
    cursor: pointer;
    color: #d63638;
    font-size: 20px;
    font-weight: bold;
    margin-right: 10px;
    padding: 0 8px;
    transition: all 0.3s;
}

.remove-file:hover {
    color: #b32d2e;
    transform: scale(1.2);
}

/* Checkbox and Radio Styles */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"] {
    width: auto;
    margin: 0;
}

/* Button Styles - Industrial Orange Theme */
.sp-malgezot-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--brand-orange);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    background: var(--bg-card);
    color: var(--brand-orange);
    box-shadow: var(--shadow-sm);
}

.sp-malgezot-btn:hover {
    background: var(--brand-orange);
    color: var(--text-inverse);
    border-color: var(--brand-orange-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.sp-malgezot-btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    box-shadow: var(--shadow-sm);
}

.sp-malgezot-btn-primary:hover {
    background: var(--brand-orange-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.sp-malgezot-btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: 2px solid var(--btn-secondary-border);
}

.sp-malgezot-btn-secondary:hover {
    background: var(--ui-hover);
    border-color: var(--brand-orange-dark);
    color: var(--brand-orange-dark);
}

.sp-malgezot-btn-full {
    width: 100%;
    justify-content: center;
}

.sp-malgezot-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--text-disabled);
}

.sp-malgezot-btn-small {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

/* Form Messages - Industrial Theme */
.form-message {
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
    display: none;
    border-right: 4px solid;
}

.form-message.success {
    background: #E8F5E9;
    color: #2E7D32;
    border-color: var(--status-success);
    display: block;
}

.form-message.error {
    background: #FFEBEE;
    color: #C62828;
    border-color: var(--brand-red);
    display: block;
}

.form-message.warning {
    background: #FFF9C4;
    color: #F57F17;
    border-color: var(--brand-yellow);
    display: block;
}

/* Form Footer */
.form-footer {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--bg-divider);
    text-align: center;
}

.form-footer p {
    margin: var(--spacing-sm) 0;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.form-footer a:hover {
    text-decoration: underline;
    color: var(--brand-orange-dark);
}

/* Profile View Styles - Industrial Light Theme */
.sp-malgezot-profile-view {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    background: var(--bg-primary);
}

.profile-header {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-right: 4px solid var(--brand-orange);
}

.profile-avatar img {
    border-radius: 50%;
    border: 4px solid var(--brand-orange);
    box-shadow: var(--shadow-md);
}

.profile-info h2 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 32px;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
}

.profile-meta {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: var(--font-weight-normal);
}

.profile-sections {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.profile-section {
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-right: 2px solid var(--bg-divider);
    transition: all 0.3s ease;
}

.profile-section:hover {
    box-shadow: var(--shadow-lg);
    border-right-color: var(--brand-orange);
}

.profile-section h3 {
    margin: 0 0 var(--spacing-md) 0;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--brand-orange);
    font-size: 22px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.profile-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.profile-field strong {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
}

.profile-field span {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: var(--font-weight-normal);
}

.profile-actions {
    margin-top: var(--spacing-xl);
    text-align: center;
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Operators List Styles - Industrial Cards */
.sp-malgezot-operators-list {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.operators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.operator-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-right: 3px solid var(--bg-divider);
    position: relative;
    overflow: hidden;
}

.operator-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--brand-orange);
    transition: height 0.3s ease;
}

.operator-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-right-color: var(--brand-orange);
}

.operator-card:hover::before {
    height: 100%;
}

.operator-avatar {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.operator-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--brand-orange);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.operator-card:hover .operator-avatar img {
    border-color: var(--brand-orange-dark);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.operator-info h3 {
    margin: 0 0 var(--spacing-sm) 0;
    text-align: center;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
}

.operator-info p {
    margin: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.operator-info .dashicons {
    color: var(--brand-orange);
}

/* More Skills Badge - Orange */
.operator-info .more-skills {
    display: inline-block;
    padding: 2px 8px;
    background: var(--brand-orange);
    color: var(--text-inverse);
    border-radius: 12px;
    font-size: 12px;
    margin-right: 5px;
    font-weight: var(--font-weight-medium);
}

.operator-info .sp-malgezot-btn {
    display: block;
    margin-top: 15px;
}

/* Search Form Styles - Enhanced Industrial Orange Theme */
.sp-malgezot-search-wrapper {
    max-width: 1400px;
    margin: 0 auto var(--spacing-xl);
}

.sp-malgezot-search-form {
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-right: 4px solid var(--brand-orange);
    margin-bottom: var(--spacing-xl);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--brand-orange);
}

.search-header h2 {
    margin: 0;
    font-size: 28px;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.search-header h2 .dashicons {
    color: var(--brand-orange);
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.active-filters-badge {
    background: var(--brand-orange);
    color: var(--text-inverse);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-sm);
}

/* Search Filters Grid */
.search-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.filter-field label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: 14px;
}

.filter-field label .dashicons {
    color: var(--brand-orange);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.filter-field input,
.filter-field select {
    padding: 12px 15px;
    border: 2px solid var(--ui-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: all 0.3s ease;
    direction: rtl;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-family);
}

.filter-field input:focus,
.filter-field select:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--ui-hover);
}

/* Search Actions */
.search-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--bg-divider);
}

.search-actions .sp-malgezot-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 14px 32px;
    font-size: 16px;
}

.search-actions .sp-malgezot-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Active Filters Display */
.active-filters {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border-right: 3px solid var(--brand-yellow);
}

.filters-label {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-left: var(--spacing-sm);
    font-size: 14px;
}

.filter-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--brand-orange);
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
}

.filter-badge .remove-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--brand-red);
    color: var(--text-inverse);
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-badge .remove-filter:hover {
    background: #B32D2E;
    transform: scale(1.1);
}

/* Results Header */
.results-header {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border-right: 3px solid var(--brand-orange);
    box-shadow: var(--shadow-sm);
}

.results-count {
    margin: 0;
    font-size: 20px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.results-count .dashicons {
    color: var(--brand-orange);
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* No Results Message */
.no-results-message {
    text-align: center;
    padding: 80px var(--spacing-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.no-results-icon {
    margin-bottom: var(--spacing-lg);
}

.no-results-icon .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    color: var(--text-disabled);
}

.no-results-message h3 {
    margin: 0 0 var(--spacing-md) 0;
    font-size: 28px;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
}

.no-results-message p {
    margin: 0 0 var(--spacing-xl) 0;
    font-size: 16px;
    color: var(--text-secondary);
}

.no-results-message .sp-malgezot-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Responsive Search Form */
@media (max-width: 900px) {
    .search-filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .search-filters-grid {
        grid-template-columns: 1fr;
    }
    
    .search-header {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .search-actions {
        flex-direction: column;
    }
    
    .search-actions .sp-malgezot-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Pagination - Industrial Orange Theme */
.sp-malgezot-pagination {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.sp-malgezot-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    background: var(--bg-card);
    border: 1px solid var(--ui-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: var(--font-weight-medium);
}

.sp-malgezot-pagination .page-numbers:hover,
.sp-malgezot-pagination .page-numbers.current {
    background: var(--brand-orange);
    color: var(--text-inverse);
    border-color: var(--brand-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* No Results Message - Industrial Theme */
.no-operators {
    text-align: center;
    padding: 60px var(--spacing-lg);
    font-size: 18px;
    color: var(--text-secondary);
}

/* Loading State - Orange Spinner */
.sp-malgezot-loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.sp-malgezot-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-divider);
    border-top: 4px solid var(--brand-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sp-malgezot-form {
        padding: 20px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .operators-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-fields {
        grid-template-columns: 1fr;
    }
}

/* File Upload Styles - Industrial Theme */
.uploaded-files {
    margin-top: var(--spacing-sm);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.uploaded-file {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 6px 12px;
    background: var(--ui-hover);
    border: 1px solid var(--brand-orange);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
}

.uploaded-file .remove-file {
    color: var(--brand-red);
    cursor: pointer;
    font-weight: var(--font-weight-bold);
    transition: color 0.3s ease;
}

.uploaded-file .remove-file:hover {
    color: #B32D2E;
}

/* Dashboard Styles - Industrial Orange Theme */
.sp-malgezot-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--brand-orange);
    border-radius: var(--radius-lg);
    color: var(--text-inverse);
    box-shadow: var(--shadow-lg);
}

.dashboard-header h1 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 32px;
    font-weight: var(--font-weight-bold);
}

.dashboard-header p {
    margin: 0;
    opacity: 0.95;
    font-weight: var(--font-weight-normal);
}

.user-avatar img {
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-md);
}

/* Stats Cards - Industrial Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-right: 3px solid var(--bg-divider);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-right-color: var(--brand-orange);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--brand-orange);
    border-radius: var(--radius-md);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

.stat-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.stat-content h3 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 28px;
    color: var(--brand-orange);
    font-weight: var(--font-weight-bold);
}

.stat-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
}

/* Quick Actions - Industrial Cards */
.dashboard-actions {
    margin-bottom: var(--spacing-xl);
}

.dashboard-actions h2 {
    margin: 0 0 var(--spacing-lg) 0;
    font-size: 24px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--brand-orange);
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.action-card {
    display: block;
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border-right: 3px solid var(--bg-divider);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-right-color: var(--brand-orange);
}

.action-card .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--brand-orange);
    margin-bottom: var(--spacing-md);
}

.action-card h3 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.action-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Dashboard Alert - Yellow Warning Theme */
.dashboard-alert {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: #FFF9C4;
    border-radius: var(--radius-lg);
    border-right: 4px solid var(--brand-yellow);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.dashboard-alert .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: var(--brand-yellow);
    flex-shrink: 0;
}

.alert-content h3 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.alert-content p {
    margin: 0 0 var(--spacing-md) 0;
    color: var(--text-secondary);
}

/* Progress Bar - Orange Gradient */
.progress-bar {
    height: 12px;
    background: var(--bg-divider);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.progress-fill {
    height: 100%;
    background: var(--brand-orange);
    border-radius: 6px;
    transition: width 0.5s ease;
}

/* Dashboard Tips - Industrial Cards */
.dashboard-tips {
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-right: 3px solid var(--bg-divider);
}

.dashboard-tips h2 {
    margin: 0 0 var(--spacing-lg) 0;
    font-size: 22px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--brand-orange);
}

.dashboard-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-tips li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--bg-divider);
}

.dashboard-tips li:last-child {
    border-bottom: none;
}

.dashboard-tips .dashicons {
    color: var(--brand-orange);
    flex-shrink: 0;
}

/* ========================================
   Profile View - Industrial Orange Style
   ======================================== */

.sp-malgezot-profile-view {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-primary);
    min-height: 100vh;
}

/* Profile Banner - Solid Orange */
.profile-banner {
    position: relative;
    height: 200px;
    background: var(--brand-orange);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.banner-background {
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="%230073aa"/%3E%3Cpath d="M0 50h50v50H0z" fill="%23005177" opacity=".3"/%3E%3C/svg%3E');
    background-size: 100px 100px;
    opacity: 0.3;
}

.edit-banner-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.edit-banner-btn:hover {
    background: white;
    transform: scale(1.1);
}

/* Profile Header - Industrial Orange Theme */
.profile-header {
    background: var(--bg-card);
    padding: 0 var(--spacing-xl) var(--spacing-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border-right: 4px solid var(--brand-orange);
}

.profile-header-main {
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
    margin-top: -75px;
    position: relative;
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--bg-card);
    box-shadow: 0 4px 16px rgba(255, 122, 0, 0.2);
    outline: 3px solid var(--brand-orange);
}

.edit-avatar-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--brand-orange);
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--text-inverse);
}

.edit-avatar-btn:hover {
    background: var(--brand-orange);
    filter: brightness(0.95);
    transform: scale(1.1);
}

.profile-header-info {
    flex: 1;
    padding-top: 85px;
}

.profile-name {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.profile-headline {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 var(--spacing-sm) 0;
    font-weight: var(--font-weight-normal);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0 0 var(--spacing-md) 0;
}

.profile-location .dashicons {
    font-size: 18px;
    color: var(--brand-orange);
}

/* Inline Edit Buttons */
.edit-inline-btn {
    background: transparent;
    border: 1px solid var(--ui-border);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    color: var(--text-secondary);
    opacity: 0;
}

.profile-name:hover .edit-inline-btn,
.profile-headline:hover .edit-inline-btn,
.profile-location:hover .edit-inline-btn {
    opacity: 1;
}

.edit-inline-btn:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: var(--text-inverse);
    transform: scale(1.1);
}

.edit-inline-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: inherit;
}

/* Multi-Field Edit Container */
#multi-field-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

#multi-field-container .form-field {
    position: relative;
}

#multi-field-container label {
    display: block;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    text-align: right;
}

#multi-field-container select,
#multi-field-container input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--ui-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--bg-card);
    transition: all 0.3s ease;
    direction: rtl;
}

#multi-field-container select:hover,
#multi-field-container input[type="number"]:hover {
    border-color: var(--brand-red);
    background: var(--ui-hover);
}

#multi-field-container select:focus,
#multi-field-container input[type="number"]:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
    background: var(--bg-card);
}

#multi-field-container select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23E53935" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 20px;
    padding-left: 40px;
}

#multi-field-container input[type="number"] {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
}

/* Number input arrows styling */
#multi-field-container input[type="number"]::-webkit-inner-spin-button,
#multi-field-container input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
    height: 40px;
}

/* Field icons/indicators */
#multi-field-container .form-field::before {
    content: '';
    position: absolute;
    right: -20px;
    top: 38px;
    width: 4px;
    height: calc(100% - 38px);
    background: var(--brand-red);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#multi-field-container .form-field:focus-within::before {
    opacity: 1;
}

/* Single field textarea */
#inline-edit-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--ui-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--bg-card);
    transition: all 0.3s ease;
    direction: rtl;
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

#inline-edit-textarea:hover {
    border-color: var(--brand-red);
    background: var(--ui-hover);
}

#inline-edit-textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
    background: var(--bg-card);
}

/* Card header with edit button */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
}

.card-header .edit-inline-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-card:hover .card-header .edit-inline-btn {
    opacity: 1;
}

/* Profile Stats Bar - Modern Industrial Design */
.profile-stats-bar {
    display: flex;
    gap: 2px;
    padding: 0;
    margin-top: var(--spacing-md);
    background: var(--bg-divider);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    flex: 1;
    background: var(--bg-card);
    transition: all 0.3s ease;
    position: relative;
    min-height: 100px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: var(--ui-hover);
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.15);
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-item:hover::after {
    transform: scaleX(1);
}

.stat-number {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--brand-red);
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    font-size: 24px;
    color: var(--bg-card);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    background: var(--brand-red);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.25);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: rotate(360deg) scale(1.1);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.profile-actions-header {
    display: flex;
    gap: 10px;
    padding-top: 85px;
}

/* Primary Action Buttons - Red Theme */
.btn-primary,
.btn-send-message,
button[type="submit"],
input[type="submit"],
#contact-operator-btn,
#send-message-sidebar-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 10px 20px;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-family);
    background: var(--brand-red);
    color: var(--text-inverse);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover,
.btn-send-message:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
#contact-operator-btn:hover,
#send-message-sidebar-btn:hover {
    background: var(--brand-red);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.25);
    filter: brightness(1.05);
}

.btn-primary:active,
.btn-send-message:active,
button[type="submit"]:active,
input[type="submit"]:active {
    transform: translateY(0);
    filter: brightness(0.95);
    box-shadow: var(--shadow-red);
}

.btn-primary:focus,
.btn-send-message:focus,
button[type="submit"]:focus,
input[type="submit"]:focus {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

.btn-primary:disabled,
.btn-send-message:disabled,
button[type="submit"]:disabled,
input[type="submit"]:disabled {
    background: var(--text-disabled);
    color: var(--text-inverse);
    cursor: not-allowed;
    transform: none;
    filter: none;
    opacity: 0.6;
}

/* Secondary Button - Outline Style */
.btn-secondary,
.sp-malgezot-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 12px var(--spacing-lg);
    background: var(--bg-card);
    color: var(--brand-orange);
    border: 2px solid var(--brand-orange);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-family);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover,
.sp-malgezot-btn-secondary:hover {
    background: var(--ui-hover);
    color: var(--brand-orange);
    border-color: var(--brand-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    filter: brightness(0.98);
}

.btn-secondary:active,
.sp-malgezot-btn-secondary:active {
    filter: brightness(0.95);
}

.btn-secondary:focus,
.sp-malgezot-btn-secondary:focus {
    outline: 2px solid var(--brand-orange);
    outline-offset: 2px;
}

.btn-secondary:hover {
    background: var(--ui-hover);
    color: var(--brand-orange);
    border-color: var(--brand-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    filter: brightness(0.98);
}

.btn-secondary:active {
    filter: brightness(0.95);
    transform: translateY(0);
}

.btn-secondary:focus {
    outline: 2px solid var(--brand-orange);
    outline-offset: 2px;
}

/* Profile Completion Banner - Yellow Warning Theme */
.profile-completion-banner {
    background: #FFF9C4;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    border: 1px solid var(--brand-yellow);
    border-right: 4px solid var(--brand-yellow);
}

.completion-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: #F57F17;
    font-weight: var(--font-weight-medium);
}

.completion-info .dashicons {
    font-size: 20px;
    color: var(--brand-yellow);
}

.completion-progress {
    height: 8px;
    background: var(--bg-divider);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.completion-bar {
    height: 100%;
    background: var(--brand-orange);
    border-radius: var(--radius-sm);
    transition: width 0.5s ease;
}

/* Profile Content Layout - Industrial Theme */
.profile-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-lg) var(--spacing-xl);
}

/* Sidebar - Orange Accent Cards */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.sidebar-card {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-right: 3px solid var(--bg-divider);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    border-right-color: var(--brand-orange);
    box-shadow: var(--shadow-lg);
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    margin: 0 0 var(--spacing-md) 0;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--brand-orange);
    color: var(--text-primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--ui-hover);
}

.contact-item .dashicons {
    color: var(--brand-orange);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--brand-orange);
    text-decoration: underline;
}

.btn-send-message {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 12px 16px;
    background: var(--brand-red);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    margin-top: var(--spacing-sm);
    transition: all 0.3s;
    font-family: var(--font-family);
}

.btn-send-message:hover {
    background: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.25);
    filter: brightness(1.05);
}

.btn-send-message .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* License Info - Industrial Style */
.license-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.license-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.license-item strong {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.license-number {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--brand-orange);
    font-family: monospace;
}

.license-expiry {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 15px;
    color: var(--text-primary);
}

/* Validity Badges - Flat Colored Badges */
.validity-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.validity-badge.valid {
    background: var(--brand-orange);
    color: var(--text-inverse);
    border: none;
}

.validity-badge.expired {
    background: var(--brand-red);
    color: var(--text-inverse);
    border: none;
}

.validity-badge.warning {
    background: var(--brand-yellow);
    color: #1A1A1A;
    border: none;
}

/* Quick Stats - Industrial Cards */
.quick-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.quick-stat {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    border-right: 2px solid var(--bg-divider);
    transition: all 0.3s ease;
}

.quick-stat:hover {
    border-right-color: var(--brand-orange);
    background: var(--ui-hover);
}

.quick-stat .stat-icon {
    font-size: 24px;
    color: var(--brand-orange);
}

.quick-stat strong {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-medium);
}

.quick-stat span {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

/* Main Content - Orange Accent Cards */
.profile-main-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.profile-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border-right: 3px solid var(--bg-divider);
    transition: all 0.3s ease;
}

.profile-card:hover {
    border-right-color: var(--brand-orange);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--bg-divider);
    background: var(--bg-card);
}

.card-header h2 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    margin: 0;
    color: var(--text-primary);
}

.card-header .dashicons {
    color: var(--brand-orange);
    font-size: 24px;
}

.card-content {
    padding: var(--spacing-xl);
}

/* About Section */
.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

/* Experience Section - Industrial Timeline */
.experience-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--bg-divider);
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--ui-hover);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand-red);
    position: relative;
}

.experience-icon .dashicons {
    color: var(--brand-red);
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-icon .dashicons::before {
    font-family: 'dashicons';
    font-size: 24px;
    line-height: 1;
    color: var(--brand-red);
}

/* Fallback if dashicons don't load */
.experience-icon .dashicons-awards::after {
    content: '🏆';
    font-size: 24px;
    position: absolute;
}

.experience-icon .dashicons-building::after {
    content: '🏢';
    font-size: 24px;
    position: absolute;
}

.experience-details h4 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-primary);
}

.experience-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.experience-duration {
    color: var(--brand-red);
    font-weight: var(--font-weight-semibold);
    font-size: 16px;
}

/* Skills Section - Industrial Tags */
.skills-group {
    margin-bottom: var(--spacing-lg);
}

.skills-group:last-child {
    margin-bottom: 0;
}

.skills-group h4 {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-primary);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

/* Skill Tags - Red Theme */
.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background: var(--bg-card);
    border: 2px solid var(--brand-red);
    border-radius: 20px;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--brand-red);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--brand-red);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.skill-tag .dashicons {
    font-size: 16px;
    color: inherit;
}

.weight-capacity {
    margin-top: var(--spacing-sm);
}

.capacity-badge {
    display: inline-block;
    padding: 12px 24px;
    background: var(--brand-orange);
    color: var(--text-inverse);
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-md);
}

/* Certifications - Industrial Timeline */
.certification-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-lg);
}

.cert-icon {
    flex-shrink: 0;
    font-size: 32px;
    color: var(--brand-orange);
}

.cert-details h4 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-primary);
}

.cert-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Certification Files - Orange Theme */
.certification-files {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--bg-divider);
}

.certification-files h4 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    margin: 0 0 var(--spacing-md) 0;
    color: var(--text-primary);
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.file-item {
    position: relative;
    border: 1px solid var(--ui-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s;
}

.file-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--brand-orange);
}

.file-preview {
    display: block;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: var(--bg-primary);
    cursor: pointer;
}

.file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.file-preview:hover img {
    transform: scale(1.05);
}

.certification-image {
    cursor: zoom-in;
}

.file-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    min-height: 150px;
    text-decoration: none;
    color: var(--brand-orange);
    background: var(--bg-primary);
    transition: all 0.3s;
}

.file-link:hover {
    background: var(--ui-hover);
    color: var(--brand-orange-dark);
}

.file-link .dashicons {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
}

.file-name {
    font-size: 12px;
    text-align: center;
    word-break: break-word;
    max-width: 100%;
    font-weight: var(--font-weight-medium);
}

/* Availability Section - Green/Yellow Tags */
.availability-group {
    margin-bottom: var(--spacing-lg);
}

.availability-group:last-child {
    margin-bottom: 0;
}

.availability-group h4 {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-primary);
}

.availability-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

/* Availability Tags - Red Theme with Better Harmony */
.availability-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--brand-red);
    border: none;
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-inverse);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(229, 57, 53, 0.15);
}

.availability-tag:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: var(--shadow-red);
}

.available-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 15px;
    color: var(--text-primary);
    margin: 0;
}

.available-date .dashicons {
    color: var(--brand-orange);
}

/* Personal Gallery - Industrial Grid */
.gallery-section {
    margin-bottom: var(--spacing-xl);
}

.gallery-section:last-child {
    margin-bottom: 0;
}

.gallery-section h4 {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    margin: 0 0 var(--spacing-lg) 0;
    color: var(--text-primary);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--brand-orange);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 1;
    background: var(--bg-primary);
    border: 2px solid var(--bg-divider);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--brand-orange);
    box-shadow: var(--shadow-hover);
}

.gallery-photo-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.gallery-photo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-photo-link:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 122, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-photo-link:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay .dashicons {
    font-size: 48px;
    color: var(--text-inverse);
}

/* Video Grid - Industrial Theme */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.video-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    border: 2px solid var(--brand-orange);
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
}

/* YouTube Grid */
.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.youtube-item {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #000;
    border: 2px solid var(--brand-orange);
}

.youtube-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.section-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin: -10px 0 var(--spacing-lg) 0;
    font-style: italic;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .youtube-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Modal - Industrial Orange Theme */
.sp-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.sp-modal-content {
    position: relative;
    background-color: var(--bg-card);
    margin: 5% auto;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    direction: rtl;
    border-top: 4px solid var(--brand-orange);
}

.sp-modal-content h2 {
    margin: 0 0 var(--spacing-lg) 0;
    font-size: 24px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.sp-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.sp-modal-close:hover {
    background: var(--brand-red);
    color: var(--text-inverse);
    transform: rotate(90deg);
}

/* Image Gallery Modal */
.sp-gallery-modal {
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 20000;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: transparent;
}

.gallery-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#gallery-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.gallery-caption {
    margin-top: 15px;
    color: white;
    font-size: 16px;
    text-align: center;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 0, 0, 0.3);
    color: #000;
    font-size: 40px;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.gallery-prev {
    right: 20px;
}

.gallery-prev::after {
    content: "▶";
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
}

.gallery-next {
    left: 20px;
}

.gallery-next::after {
    content: "◀";
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
}

.gallery-nav .dashicons {
    font-size: 35px;
    width: 35px;
    height: 35px;
    color: #000 !important;
    line-height: 1;
    display: block;
}

.gallery-nav .dashicons::before {
    color: #000 !important;
    font-weight: bold;
}

.gallery-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 10;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-nav {
        width: 50px;
        height: 50px;
        padding: 10px;
    }
    
    .gallery-prev {
        right: 10px;
    }
    
    .gallery-next {
        left: 10px;
    }
    
    .gallery-close {
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    
    .gallery-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 8px 16px;
    }
    
    #gallery-image {
        max-height: 70vh;
    }
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-field input[type="text"],
.form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        order: 2;
    }
    
    .profile-main-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .profile-banner {
        height: 150px;
    }
    
    .profile-header-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -60px;
    }
    
    .profile-avatar {
        width: 120px;
        height: 120px;
    }
    
    .profile-header-info {
        padding-top: 20px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .profile-headline {
        font-size: 16px;
    }
    
    .profile-stats-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .profile-actions-header {
        flex-direction: column;
        padding-top: 20px;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .skills-tags,
    .availability-tags {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .sp-malgezot-profile-view {
        padding: 0;
    }
    
    .profile-header {
        padding: 0 15px 15px;
    }
    
    .profile-content-wrapper {
        padding: 0 10px 20px;
    }
    
    .sidebar-card,
    .profile-card {
        border-radius: 0;
    }
}

/* Dashboard Tabs */
/* Dashboard Tabs - Industrial Orange Theme */
.dashboard-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
    border-bottom: 2px solid var(--bg-divider);
}

.tab-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px var(--spacing-lg);
    text-decoration: none;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s;
    position: relative;
    font-family: var(--font-family);
}

.tab-link:hover {
    color: var(--brand-orange);
    background: var(--ui-hover);
}

.tab-link.active {
    color: var(--brand-orange);
    border-bottom-color: var(--brand-orange);
    font-weight: var(--font-weight-semibold);
}

.tab-link .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Messages Badge - Red Alert */
.message-badge {
    background: var(--brand-red);
    color: var(--text-inverse);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: var(--font-weight-bold);
    min-width: 20px;
    text-align: center;
}

/* Messages Container - Industrial Theme */
.messages-container {
    padding: var(--spacing-lg) 0;
}

.no-messages {
    text-align: center;
    padding: 60px var(--spacing-lg);
    color: var(--text-secondary);
}

.no-messages .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    color: var(--bg-divider);
    margin-bottom: var(--spacing-lg);
}

.no-messages h3 {
    font-size: 24px;
    margin: var(--spacing-sm) 0;
    color: var(--text-primary);
}

.no-messages p {
    font-size: 16px;
    margin: 0;
}

.messages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--brand-orange);
}

.messages-header h2 {
    margin: 0;
    font-size: 24px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.btn-mark-all-read {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background: var(--brand-orange);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    font-family: var(--font-family);
    font-weight: var(--font-weight-medium);
}

.btn-mark-all-read:hover {
    background: var(--brand-orange);
    filter: brightness(0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-mark-all-read .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Messages List - Industrial Cards */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.message-item {
    background: var(--bg-card);
    border: 1px solid var(--ui-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s;
    border-right: 3px solid var(--bg-divider);
}

.message-item.unread {
    background: var(--ui-hover);
    border-color: var(--brand-orange);
    border-right-color: var(--brand-orange);
    border-right-width: 4px;
    box-shadow: 0 2px 8px rgba(255, 122, 0, 0.15);
}

.message-item:hover {
    box-shadow: var(--shadow-lg);
    border-right-color: var(--brand-orange);
}

.message-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.message-sender {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.message-sender .dashicons {
    color: var(--brand-orange);
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.new-badge {
    background: var(--brand-red);
    color: var(--text-inverse);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.message-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 14px;
}

.message-date .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.message-subject h4 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.message-preview {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
}

.message-contact-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    padding: var(--spacing-sm);
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 14px;
}

.message-contact-info .dashicons {
    color: var(--brand-orange);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.message-contact-info a {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.message-contact-info a:hover {
    text-decoration: underline;
    color: var(--brand-orange-dark);
}

.message-contact-info .sep {
    color: var(--ui-border);
}

.message-content {
    padding: var(--spacing-md);
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
    border-right: 3px solid var(--brand-orange);
}

.message-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-primary);
}

.message-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.message-actions button,
.message-actions a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 14px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    font-family: var(--font-family);
    font-weight: var(--font-weight-medium);
}

.btn-toggle-message {
    background: var(--brand-orange);
    color: var(--text-inverse);
}

.btn-toggle-message:hover {
    background: var(--brand-orange);
    filter: brightness(0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-reply {
    background: var(--status-success);
    color: var(--text-inverse);
}

.btn-reply:hover {
    background: var(--status-success);
    filter: brightness(0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-mark-read {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--ui-border);
}

.btn-mark-read:hover {
    background: var(--bg-primary);
    border-color: var(--brand-orange);
    filter: brightness(0.98);
}

/* Danger/Delete Button - Red with Improved Shadow */
.btn-danger,
.btn-delete-message,
.sp-malgezot-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 8px 14px;
    background: var(--brand-red);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover,
.btn-delete-message:hover,
.sp-malgezot-btn-danger:hover {
    background: var(--brand-red);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
    filter: brightness(1.05);
}

.btn-danger:active,
.btn-delete-message:active,
.sp-malgezot-btn-danger:active {
    filter: brightness(0.95);
    transform: translateY(0);
}

.message-actions .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Contact Modal Form Enhancements - Industrial Orange Theme */
.form-field {
    margin-bottom: var(--spacing-lg);
}

.form-field label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: 14px;
}

.form-field .required {
    color: var(--brand-red);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--ui-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-family);
    transition: all 0.3s;
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.form-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.form-actions button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 12px var(--spacing-lg);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s;
    font-family: var(--font-family);
}

.form-actions .btn-primary {
    background: var(--brand-orange);
    color: var(--text-inverse);
}

.form-actions .btn-primary:hover {
    background: var(--brand-orange);
    filter: brightness(0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.form-actions .btn-primary:active {
    filter: brightness(0.9);
    transform: translateY(0);
}

.form-actions .btn-primary:disabled {
    background: var(--text-disabled);
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.form-actions .btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--ui-border);
}

.form-actions .btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--brand-orange);
    filter: brightness(0.98);
}

.form-actions .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.dashicons-update {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Messages */
@media (max-width: 768px) {
    .dashboard-tabs {
        flex-wrap: wrap;
    }
    
    .tab-link {
        flex: 1;
        min-width: 150px;
        justify-content: center;
    }
    
    .messages-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .message-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .message-actions {
        flex-direction: column;
    }
    
    .message-actions button,
    .message-actions a {
        width: 100%;
        justify-content: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
}
