/** Το original CSS μέχρι τη γραμμή 480 **/
/**
 * Forum Συζητήσεων - Main Stylesheet
 * MOBILE-FIRST & FULLY OPTIMIZED
 */

/* ==========================================================================
   ΓΕΝΙΚΑ STYLES
   ========================================================================== */

.fs-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.fs-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    overflow-x: auto;
    white-space: nowrap;
}

.fs-breadcrumbs a {
    color: #0073aa;
    text-decoration: none;
}

.fs-breadcrumbs a:hover {
    text-decoration: underline;
}

.fs-separator {
    margin: 0 8px;
}

/* Messages */
.fs-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
}

.fs-message-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.fs-message-error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.fs-error {
    padding: 20px;
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
    margin-bottom: 20px;
    border-radius: 4px;
}

.fs-success-message {
    padding: 15px 20px;
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Buttons */
.fs-button {
    display: inline-block;
    padding: 10px 20px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}

.fs-button:hover {
    background: #e5e5e5;
    text-decoration: none;
}

.fs-button-primary {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.fs-button-primary:hover {
    background: #005177;
    border-color: #005177;
}

.fs-button-small {
    padding: 6px 12px;
    font-size: 13px;
}

.fs-button-large {
    padding: 12px 24px;
    font-size: 16px;
}

.fs-button-danger {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.fs-button-danger:hover {
    background: #c82333;
    border-color: #c82333;
}

.fs-button-link {
    background: none;
    border: none;
    color: #0073aa;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

.fs-button-link:hover {
    color: #005177;
}

/* No Content */
.fs-no-content {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.fs-no-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* ==========================================================================
   FORUM HOME
   ========================================================================== */

.fs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.fs-header h1 {
    margin: 0;
    font-size: 28px;
}

.fs-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.fs-search-form {
    display: flex;
    gap: 5px;
}

.fs-search-input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 180px;
}

.fs-search-button {
    padding: 8px 15px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.fs-search-button:hover {
    background: #005177;
}

/* Categories */
.fs-categories-section {
    margin-bottom: 50px;
}

.fs-categories-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.fs-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.fs-category-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fs-category-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.fs-category-link {
    display: flex;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    gap: 15px;
}

.fs-category-icon {
    flex-shrink: 0;
}

.fs-category-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #0073aa;
}

.fs-category-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #333;
}

.fs-category-content p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.fs-category-meta {
    font-size: 13px;
    color: #999;
}

/* Discussions List */
.fs-discussions-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.fs-discussions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fs-discussion-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: box-shadow 0.2s;
}

.fs-discussion-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fs-discussion-avatar {
    flex-shrink: 0;
}

.fs-avatar {
    border-radius: 50%;
}

.fs-discussion-content {
    flex: 1;
    min-width: 0;
}

.fs-discussion-title {
    margin: 0 0 8px;
    font-size: 18px;
    word-wrap: break-word;
}

.fs-discussion-title a {
    color: #0073aa;
    text-decoration: none;
}

.fs-discussion-title a:hover {
    text-decoration: underline;
}

.fs-discussion-meta {
    font-size: 13px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.fs-meta-item {
    white-space: nowrap;
}

.fs-meta-separator {
    margin: 0 5px;
    color: #ccc;
}

.fs-user-link {
    color: #0073aa;
    text-decoration: none;
}

.fs-user-link:hover {
    text-decoration: underline;
}

.fs-discussion-stats {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
}

.fs-stat {
    text-align: center;
    min-width: 60px;
}

.fs-stat-number {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #0073aa;
}

.fs-stat-label {
    display: block;
    font-size: 12px;
    color: #666;
}

/* Pagination */
.fs-pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.fs-page-link {
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.fs-page-link:hover {
    background: #f5f5f5;
    text-decoration: none;
}

.fs-page-link.fs-current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* ==========================================================================
   SINGLE DISCUSSION
   ========================================================================== */

.fs-discussion-post {
    background: white;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
}

.fs-post-header h1 {
    margin: 0 0 15px;
    font-size: 24px;
    word-wrap: break-word;
}

.fs-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.fs-post-content {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
    word-wrap: break-word;
}

.fs-post-content p {
    margin-bottom: 15px;
}

.fs-post-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Replies */
.fs-replies-section {
    margin-top: 40px;
}

.fs-replies-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.fs-replies-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fs-reply-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.fs-reply-avatar {
    flex-shrink: 0;
}

.fs-reply-content {
    flex: 1;
    min-width: 0;
}

.fs-reply-header {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fs-reply-header strong {
    margin-right: 5px;
}

.fs-reply-date {
    color: #666;
}

.fs-reply-text {
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
}

.fs-reply-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* Reply Form */
.fs-reply-form-section {
    margin-top: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.fs-reply-form-section h3 {
    margin-top: 0;
}

.fs-login-prompt {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-top: 40px;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.fs-form {
    background: white;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.fs-form-large {
    max-width: 800px;
    margin: 0 auto;
}

.fs-form-group {
    margin-bottom: 20px;
}

.fs-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.fs-required {
    color: #dc3545;
}

.fs-form-group input[type="text"],
.fs-form-group input[type="email"],
.fs-form-group select,
.fs-form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

.fs-form-group textarea {
    resize: vertical;
}

.fs-form-group input:focus,
.fs-form-group select:focus,
.fs-form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
}

.fs-help-text {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

.fs-info-box {
    padding: 15px;
    background: #e7f3ff;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
    margin-bottom: 20px;
}

.fs-info-box p {
    margin: 0;
}

.fs-form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.fs-form-message {
    margin-left: 10px;
    flex: 1 1 100%;
}

.fs-form-message .fs-success {
    color: #28a745;
}

.fs-form-message .fs-error {
    color: #dc3545;
}

/* ==========================================================================
   USER PROFILES - MOBILE OPTIMIZED
   ========================================================================== */

.fs-profile-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.fs-profile-avatar img {
    border-radius: 50%;
    max-width: 100px;
    height: auto;
}

.fs-profile-info {
    flex: 1;
}

.fs-profile-info h1 {
    margin: 0 0 8px;
    font-size: 24px;
    word-wrap: break-word;
}

.fs-profile-username {
    color: #666;
    margin: 0 0 5px;
    font-size: 14px;
}

.fs-profile-email {
    color: #666;
    margin: 0 0 15px;
    font-size: 14px;
    word-wrap: break-word;
}

.fs-profile-stats {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.fs-stat-item {
    text-align: center;
    min-width: 80px;
}

.fs-stat-item strong {
    display: block;
    font-size: 20px;
    color: #0073aa;
}

.fs-stat-item span {
    display: block;
    font-size: 12px;
    color: #666;
}

.fs-stat-separator {
    color: #ccc;
}

/* Profile Tabs - MOBILE OPTIMIZED */
.fs-profile-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #ddd;
    margin-bottom: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fs-tab {
    padding: 12px 15px;
    text-decoration: none;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 14px;
}

.fs-tab:hover {
    color: #0073aa;
    text-decoration: none;
}

.fs-tab-active {
    color: #0073aa;
    border-bottom-color: #0073aa;
    font-weight: 600;
}

/* Status Badges */
.fs-discussion-status,
.fs-reply-status {
    margin-bottom: 10px;
}

.fs-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.fs-status-pending .fs-status-badge {
    background: #fff3cd;
    color: #856404;
}

.fs-status-approved .fs-status-badge {
    background: #d4edda;
    color: #155724;
}

.fs-status-rejected .fs-status-badge {
    background: #f8d7da;
    color: #721c24;
}

.fs-discussion-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Settings Section */
.fs-settings-section {
    background: white;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.fs-settings-section h2 {
    margin-top: 0;
    font-size: 20px;
}

/* ==========================================================================
   RESPONSIVE - MOBILE FIRST
   ========================================================================== */

/* Tablets */
@media (min-width: 768px) {
    .fs-profile-header {
        flex-direction: row;
        text-align: left;
    }
    
    .fs-profile-avatar img {
        max-width: 120px;
    }
    
    .fs-profile-info h1 {
        font-size: 28px;
    }
    
    .fs-profile-stats {
        justify-content: flex-start;
    }
    
    .fs-header h1 {
        font-size: 32px;
    }
    
    .fs-post-header h1 {
        font-size: 28px;
    }
}

/* Mobile Specific */
@media (max-width: 767px) {
    .fs-wrapper {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .fs-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .fs-header h1 {
        font-size: 24px;
    }
    
    .fs-header-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .fs-search-form {
        width: 100%;
    }
    
    .fs-search-input {
        flex: 1;
        min-width: 0;
    }
    
    .fs-categories-grid {
        grid-template-columns: 1fr;
    }
    
    /* FIXED: Discussion Item Layout για Mobile */
    .fs-discussion-item {
        flex-direction: column;
        padding: 15px;
        overflow: hidden;
    }
    
    .fs-discussion-avatar {
        align-self: flex-start;
        margin-bottom: 5px;
    }
    
    .fs-discussion-content {
        width: 100%;
        margin-bottom: 15px;
    }
    
    /* Stats πάνε κάτω και γίνονται inline */
    .fs-discussion-stats {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        gap: 20px;
        padding-top: 10px;
        border-top: 1px solid #f0f0f0;
    }
    
    .fs-stat {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: auto;
    }
    
    .fs-stat-number {
        font-size: 16px;
        font-weight: 600;
    }
    
    .fs-stat-label {
        font-size: 12px;
        color: #666;
        white-space: nowrap;
    }
    
    .fs-reply-item {
        flex-direction: column;
        padding: 15px;
    }
    
    .fs-form {
        padding: 20px 15px;
    }
    
    .fs-discussion-post {
        padding: 20px 15px;
    }
    
    .fs-reply-form-section {
        padding: 20px 15px;
    }
    
    .fs-profile-header {
        padding: 20px 15px;
    }
    
    .fs-settings-section {
        padding: 20px 15px;
    }
    
    .fs-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .fs-form-actions {
        flex-direction: column;
    }
    
    .fs-form-actions .fs-button {
        width: 100%;
    }
    
    .fs-post-actions {
        flex-direction: column;
    }
    
    .fs-post-actions .fs-button {
        width: 100%;
    }
    
    .fs-discussion-actions {
        flex-direction: column;
    }
    
    .fs-discussion-actions .fs-button {
        width: 100%;
    }
    
    /* Mobile meta wrapping */
    .fs-discussion-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    
    .fs-meta-separator {
        display: none;
    }
    
    .fs-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    /* Mobile tabs */
    .fs-profile-tabs {
        gap: 3px;
    }
    
    .fs-tab {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .fs-wrapper {
        padding: 0 10px;

/* ================================================ */
/* USER PROFILE STYLES - ALL SCREEN SIZES          */
/* ================================================ */

/* Success Banner */
.fs-success-banner {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 20px;
    margin: 0 0 30px 0;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.3);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    z-index: 1 !important;
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logout Button - Working Version */
/* MOBILE LOGOUT BUTTON - AGGRESSIVE FIX */
.fs-logout-button-container {
    position: fixed !important;
    top: 70px !important;
    right: 10px !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
}

.fs-logout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    color: white !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    font-size: 22px !important;
    box-shadow: 0 4px 20px rgba(245, 87, 108, 0.6) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.fs-logout-button:hover,
.fs-logout-button:active {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 25px rgba(245, 87, 108, 0.8) !important;
}
    cursor: pointer;
}

.fs-logout-button:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5);
}

.fs-logout-button:active {
    transform: scale(0.95);
}

.fs-logout-button:active {
    transform: scale(0.95);
}


/* Profile Header Card - Simple like public */
        font-size: 24px;
    }
    
    .fs-profile-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .fs-stat-item {
        min-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .fs-stat-item strong {
        font-size: 20px;
    }
    
    .fs-stat-separator {
        display: none;
    }
    
    .fs-profile-tabs {
        flex-direction: column;
        gap: 5px;
        border-bottom: none;
    }
    
    .fs-tab {
        padding: 12px 16px;
        font-size: 14px;
        border-bottom: none;
        background: #f5f5f5;
        border-radius: 4px;
    }
    
    .fs-tab-active {
        background: #0073aa;
        color: white;
    }
    
    .fs-tab-active .fs-tab-count {
        background: rgba(255,255,255,0.3);
    }
    
    .fs-profile-content {
        padding: 20px 15px;
        min-height: 400px;
    }
    
    .fs-discussion-item {
        padding: 15px !important;
    }
    
    .fs-discussion-actions,
    .fs-reply-actions {
        flex-direction: column;
    }
    
    .fs-discussion-actions .fs-button,
    .fs-reply-actions .fs-button {
        width: 100%;
    }
    
    .fs-settings-section {
        padding: 20px 15px;
    }
    
    .fs-modal-content {
        width: 95%;
        margin: 20px auto;
        padding: 20px;
    }
}

/* ================================================ */
/* DESKTOP PROFILE ENHANCEMENTS                    */
/* ================================================ */

@media (min-width: 769px) {
    /* Profile Header Card - More elevated */
    .fs-profile-header-card {
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }
    
    .fs-profile-header-card:hover {
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }
    
    /* Stats - Bigger and bolder */
    .fs-stat-item strong {
        font-size: 28px;
        color: #0073aa;
    }
    
    .fs-stat-item span {
        font-size: 13px;
        font-weight: 600;
    }
    
    /* Tabs - More prominent */
    .fs-profile-tabs {
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    
    .fs-tab {
        font-size: 16px;
        padding: 16px 24px;
    }
    
    .fs-tab-count {
        font-size: 14px;
        padding: 4px 10px;
    }
    
    /* Discussion cards - More elevated */
    .fs-discussion-item {
        box-shadow: 0 6px 16px rgba(0,0,0,0.08) !important;
    }
    
    .fs-discussion-item:hover {
        box-shadow: 0 10px 28px rgba(0,0,0,0.15) !important;
        transform: translateY(-4px);
    }
    
    /* Profile content - More elevated */
    .fs-profile-content {
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    }
    
    /* Logout button - Make sure it's visible */
    .fs-logout-button-container {
        position: fixed !important;
        z-index: 9999 !important;
        top: 80px;
        right: 15px;
    }

    }
    
    .fs-logout-button {
        box-shadow: 0 6px 16px rgba(245, 87, 108, 0.4);
    }
}

/* ================================================ */
/* DESKTOP PROFILE - BEAUTIFUL LAYOUT              */
/* ================================================ */

@media (min-width: 769px) {
    /* Container with better max-width */
    .fs-user-profile-private {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    /* Profile Header - Card Style */
    .fs-profile-header-card {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
        border: 1px solid #e0e0e0;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .fs-profile-header-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #0073aa 0%, #005177 100%);
    }
    
    .fs-profile-header-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }
    
    /* Profile Name - Bigger */
    .fs-profile-name {
        font-size: 32px !important;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 6px !important;
    }
    
    .fs-profile-username {
        font-size: 16px;
        color: #7f8c8d;
        font-weight: 500;
        margin-bottom: 24px !important;
    }
    
    /* Stats - Beautiful Grid */
    .fs-profile-stats {
        display: grid;
        grid-template-columns: repeat(5, auto);
        gap: 30px;
        justify-content: center;
        align-items: center;
        padding: 20px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    
    .fs-stat-item {
        text-align: center;
        min-width: 100px;
        padding: 10px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .fs-stat-item:hover {
        background: #f8f9fa;
        transform: translateY(-2px);
    }
    
    .fs-stat-item strong {
        display: block;
        font-size: 32px !important;
        font-weight: 700;
        color: #0073aa;
        line-height: 1;
        margin-bottom: 8px;
    }
    
    .fs-stat-item span {
        display: block;
        font-size: 13px !important;
        color: #7f8c8d;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .fs-stat-separator {
        color: #dee2e6;
        font-size: 24px;
        font-weight: 300;
    }
    
    /* Tabs - Modern Style */
    .fs-profile-tabs {
        background: white;
        border-radius: 10px;
        padding: 6px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
        border: 1px solid #e0e0e0;
        border-bottom: none;
    }
    
    .fs-tab {
        font-size: 16px !important;
        padding: 14px 28px !important;
        border-radius: 6px;
        border-bottom: none !important;
        transition: all 0.3s ease;
    }
    
    .fs-tab:hover {
        background: #f8f9fa;
        color: #0073aa !important;
        transform: translateY(-1px);
    }
    
    .fs-tab-active {
        background: #0073aa !important;
        color: white !important;
        box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
    }
    
    .fs-tab-count {
        background: rgba(255,255,255,0.2);
        padding: 4px 12px !important;
        border-radius: 12px;
        font-size: 14px !important;
    }
    
    .fs-tab-active .fs-tab-count {
        background: rgba(255,255,255,0.25);
        color: white;
    }
    
    .fs-tab:not(.fs-tab-active) .fs-tab-count {
        background: #e0e0e0;
        color: #666;
    }
    
    /* Content Area - Card Style */
    .fs-profile-content {
        background: white;
        border-radius: 10px;
        padding: 40px !important;
        box-shadow: 0 6px 20px rgba(0,0,0,0.06);
        border: 1px solid #e0e0e0;
        margin-top: -2px;
    }
    
    /* Discussion Cards - Beautiful Layout */
    .fs-discussion-title a:hover {
        color: #0073aa;
    }
    
    .fs-discussion-meta {
        display: flex;
        gap: 12px;
        align-items: center;
        font-size: 14px;
        color: #7f8c8d;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }
    
    .fs-meta-item {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .fs-meta-separator {
        color: #dee2e6;
    }
    
    /* Action Buttons - Better Style */
    .fs-discussion-actions {
        display: flex;
        gap: 12px;
        margin-top: 20px;
    }
    
    .fs-discussion-actions .fs-button {
        padding: 10px 20px !important;
        font-size: 14px !important;
        border-radius: 6px !important;
        font-weight: 600;
        transition: all 0.2s ease;
        border: none;
    }
    
    .fs-button-small {
        background: #0073aa;
        color: white;
    }
    
    .fs-button-small:hover {
        background: #005177;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
    }
    
    .fs-button-danger {
        background: #dc3545 !important;
        color: white;
    }
    
    .fs-button-danger:hover {
        background: #c82333 !important;
        box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    }
    
    /* Stats Box - Right Side */
    .fs-discussion-stats {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
        min-width: 140px;
        padding: 20px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 10px;
        border: 1px solid #dee2e6;
    }
    
    .fs-stat {
        text-align: center;
        width: 100%;
    }
    
    .fs-stat-number {
        display: block;
        font-size: 32px !important;
        font-weight: 700;
        color: #0073aa;
        line-height: 1;
        margin-bottom: 6px;
    }
    
    .fs-stat-label {
        display: block;
        font-size: 12px !important;
        color: #7f8c8d;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
    }
    
    /* Status Badge - Floating */
    .fs-discussion-status {
        position: absolute !important;
        top: 20px;
        right: 20px;
        z-index: 10;
    }
    
    .fs-status-badge {
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    
    /* Logout Button - Always Visible but below navigation */
    .fs-logout-button-container {
        position: fixed !important;
        z-index: 9999 !important;
        top: 80px;
        right: 15px;
    }

    }
    
    .fs-logout-button {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        box-shadow: 0 6px 16px rgba(245, 87, 108, 0.4);
        transition: all 0.3s ease;
    }
    
    .fs-logout-button:hover {
        transform: scale(1.1) rotate(15deg);
        box-shadow: 0 8px 20px rgba(245, 87, 108, 0.5);
    }
    
    /* Reply Cards - Similar Style */
    .fs-reply-item {
        padding: 30px;
        border-radius: 12px;
        border: 2px solid #f0f0f0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }
    
    .fs-reply-item:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        transform: translateY(-2px);
        border-color: #0073aa;
    }
    
    /* ==================================== */
    /* FIX: Ensure theme burger menu button is clickable */
    /* ==================================== */
    /* Ensure forum containers don't interfere with site navigation */
    .fs-forum-home,
    .fs-category-page,
    .fs-discussion-page,
    .fs-profile-page {
        position: relative;
        z-index: 1;
    }
    
    /* Common selectors for WordPress theme navigation toggles */
    .mobile-menu-toggle,
    .menu-toggle,
    .navbar-toggle,
    button.menu-toggle,
    .site-header .menu-toggle,
    #menu-toggle,
    .hamburger,
    .mobile-nav-toggle,
    .header-menu-button,
    .site-header button,
    /* Elementor specific selectors */
    .elementor-menu-toggle,
    div.elementor-menu-toggle,
    .elementor-nav-menu-burger,
    .elementor-nav-menu--toggle,
    .elementor-widget-nav-menu .elementor-menu-toggle,
    .elementor-element .elementor-menu-toggle {
        position: relative !important;
        z-index: 9999 !important;
        pointer-events: auto !important;
    }
    
    /* Ensure site header stays above forum content */
    .site-header,
    header.site-header,
    #site-header,
    .main-header,
    #masthead,
    /* Elementor header */
    .elementor-location-header,
    header.elementor-location-header,
    .elementor-widget-container {
        position: relative !important;
        z-index: 999 !important;
    }
}/**
 * Forum v2 - Shortcode CSS Updates
 * Προσθήκη στο τέλος του forum-style.css
 */

/* ==========================================================================
   SHORTCODE MODE - Z-INDEX MANAGEMENT
   ========================================================================== */

/* Ensure shortcode wrapper always has low z-index */
.fs-shortcode-wrapper {
    position: relative;
    z-index: 1 !important;
}

/* All forum content when in shortcode mode */
.fs-shortcode-wrapper .fs-wrapper,
.fs-shortcode-wrapper .fs-forum-home,
.fs-shortcode-wrapper .fs-category-page,
.fs-shortcode-wrapper .fs-discussion-page,
.fs-shortcode-wrapper .fs-profile-page,
.fs-shortcode-wrapper .fs-single-discussion {
    position: relative;
    z-index: 1 !important;
}

/* Ensure site navigation ALWAYS on top */
body.page header,
body.page .site-header,
body.page nav,
body.page .main-navigation,
body.page .mobile-menu,
body.page [class*="menu"],
body.page [class*="nav"] {
    z-index: 99999 !important;
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS - SHORTCODE MODE
   ========================================================================== */

@media (max-width: 768px) {
    
    /* Shortcode wrapper mobile adjustments */
    .fs-shortcode-wrapper {
        padding: 0;
        margin: 0;
    }
    
    .fs-shortcode-wrapper .fs-wrapper {
        margin: 20px auto;
        padding: 0 16px;
    }
    
    /* CRITICAL: Ensure menu button is always clickable */
    .mobile-menu-toggle,
    .menu-toggle,
    button.menu-toggle,
    .hamburger,
    .burger-menu,
    [class*="burger"],
    [class*="hamburger"],
    .elementor-menu-toggle {
        position: relative !important;
        z-index: 999999 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    /* Mobile menu dropdown */
    .mobile-menu,
    .mobile-nav,
    .main-navigation.toggled,
    nav.open,
    .menu-open,
    [class*="mobile-menu"],
    [class*="mobile-nav"] {
        z-index: 999998 !important;
    }
    
    /* Forum content below everything */
    .fs-shortcode-wrapper,
    .fs-shortcode-wrapper * {
        z-index: 1 !important;
    }
    
    /* Exception: modals and overlays within forum */
    .fs-modal,
    .fs-overlay,
    .fs-dropdown.active {
        z-index: 9999 !important;
    }
}

/* ==========================================================================
   PAGE-SPECIFIC STYLES (Query Parameter Pages)
   ========================================================================== */

/* My Profile Page (?view=my_profile) */
body[class*="my_profile"] .fs-profile-page,
.fs-shortcode-wrapper:has([class*="my_profile"]) {
    /* Already styled, no additional changes needed */
}

/* New Discussion Page (?view=new) */
body[class*="view-new"] .fs-new-discussion,
.fs-shortcode-wrapper .fs-new-discussion {
    /* Already styled, no additional changes needed */
}

/* Category Page (?view=category) */
body[class*="view-category"] .fs-category-page,
.fs-shortcode-wrapper .fs-category-page {
    /* Already styled, no additional changes needed */
}

/* Discussion Page (?view=discussion) */
body[class*="view-discussion"] .fs-single-discussion,
.fs-shortcode-wrapper .fs-single-discussion {
    /* Already styled, no additional changes needed */
}

/* ==========================================================================
   MOBILE TOUCH IMPROVEMENTS
   ========================================================================== */

@media (max-width: 768px) {
    
    /* Larger tap targets for mobile */
    .fs-shortcode-wrapper .fs-button,
    .fs-shortcode-wrapper .fs-btn {
        min-height: 44px;
        padding: 12px 24px;
        font-size: 16px;
    }
    
    /* Category boxes touch-friendly */
    .fs-shortcode-wrapper .fs-category-box {
        min-height: 60px;
        padding: 16px;
    }
    
    /* Discussion list items */
    .fs-shortcode-wrapper .fs-discussion-item {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    /* Reply items */
    .fs-shortcode-wrapper .fs-reply-item {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    /* Form inputs */
    .fs-shortcode-wrapper input[type="text"],
    .fs-shortcode-wrapper input[type="email"],
    .fs-shortcode-wrapper textarea,
    .fs-shortcode-wrapper select {
        font-size: 16px !important; /* Prevent iOS zoom */
        min-height: 44px;
        padding: 12px;
    }
}

/* ==========================================================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================================================== */

/* Focus states for keyboard navigation */
.fs-shortcode-wrapper a:focus,
.fs-shortcode-wrapper button:focus,
.fs-shortcode-wrapper input:focus,
.fs-shortcode-wrapper textarea:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Skip to content link */
.fs-skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0073aa;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 999999;
}

.fs-skip-to-content:focus {
    top: 0;
}

/* ==========================================================================
   PERFORMANCE OPTIMIZATIONS
   ========================================================================== */

/* Use GPU acceleration for smooth scrolling */
.fs-shortcode-wrapper {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

/* Optimize animations */
.fs-shortcode-wrapper * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .fs-shortcode-wrapper * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   DARK MODE SUPPORT (Optional)
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    .fs-shortcode-wrapper {
        /* Add dark mode styles if needed */
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .fs-shortcode-wrapper .fs-button,
    .fs-shortcode-wrapper .fs-reply-form,
    .fs-shortcode-wrapper .fs-header-actions {
        display: none;
    }
    
    .fs-shortcode-wrapper {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
}
/**
 * MY PROFILE PAGE - SHORTCODE MODE CSS
 * Optimized για mobile & shortcode usage
 * Προσθήκη στο τέλος του forum-style.css
 */

/* ==========================================================================
   MY PROFILE - SHORTCODE SPECIFIC STYLES
   ========================================================================== */

/* Profile page when in shortcode mode */
.fs-shortcode-wrapper .fs-profile-page {
    position: relative;
    z-index: 1 !important;
}

/* Ensure profile content stays below navigation */
.fs-shortcode-wrapper .fs-user-profile-private,
.fs-shortcode-wrapper .fs-user-profile-public {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS - MY PROFILE
   ========================================================================== */

@media (max-width: 768px) {
    
    /* Profile wrapper mobile spacing */
    .fs-shortcode-wrapper .fs-profile-page {
        padding: 0;
        margin: 0;
    }
    
    /* Profile header - mobile optimized */
    .fs-shortcode-wrapper .fs-profile-header {
        padding: 20px 16px;
        margin-bottom: 16px;
    }
    
    /* Profile avatar - larger on mobile */
    .fs-shortcode-wrapper .fs-profile-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }
    
    /* Profile name - better typography */
    .fs-shortcode-wrapper .fs-profile-name {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    /* Profile role badge - touch friendly */
    .fs-shortcode-wrapper .fs-profile-role {
        font-size: 14px;
        padding: 6px 12px;
        border-radius: 20px;
    }
    
    /* Profile stats - mobile layout */
    .fs-shortcode-wrapper .fs-profile-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        margin-top: 16px;
    }
    
    .fs-shortcode-wrapper .fs-profile-stat {
        flex: 0 0 calc(50% - 6px);
        min-width: 120px;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 8px;
        text-align: center;
    }
    
    .fs-shortcode-wrapper .fs-profile-stat-number {
        font-size: 24px;
        font-weight: bold;
        color: #0073aa;
        display: block;
    }
    
    .fs-shortcode-wrapper .fs-profile-stat-label {
        font-size: 13px;
        color: #666;
        margin-top: 4px;
        display: block;
    }
    
    /* Tabs - mobile optimized */
    .fs-shortcode-wrapper .fs-profile-tabs {
        display: flex;
        border-bottom: 2px solid #e0e6ed;
        margin-bottom: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .fs-shortcode-wrapper .fs-profile-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    
    .fs-shortcode-wrapper .fs-profile-tab {
        flex: 0 0 auto;
        padding: 12px 20px;
        font-size: 15px;
        font-weight: 500;
        color: #666;
        background: none;
        border: none;
        border-bottom: 3px solid transparent;
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.2s ease;
        min-height: 44px; /* Touch target */
    }
    
    .fs-shortcode-wrapper .fs-profile-tab.active {
        color: #0073aa;
        border-bottom-color: #0073aa;
    }
    
    .fs-shortcode-wrapper .fs-profile-tab:active {
        background: rgba(0, 115, 170, 0.05);
    }
    
    /* Discussions list - mobile cards */
    .fs-shortcode-wrapper .fs-discussions-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .fs-shortcode-wrapper .fs-discussion-item {
        display: flex;
        gap: 20px;
        padding: 30px;
        background: white;
        border-radius: 12px;
        border: 2px solid #f0f0f0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }
    
    .fs-shortcode-wrapper .fs-discussion-item:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        transform: translateY(-2px);
        border-color: #0073aa;
    }
    
    .fs-shortcode-wrapper .fs-discussion-item:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    
    /* Discussion title - readable on mobile */
    .fs-shortcode-wrapper .fs-discussion-title {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 8px;
        font-weight: 600;
        color: #2d3748;
    }
    
    .fs-shortcode-wrapper .fs-discussion-title a {
        color: inherit;
        text-decoration: none;
    }
    
/* ==========================================================================
   MY PROFILE PAGE - REAL HTML STRUCTURE FIX
   Προσθήκη στο ΤΕΛΟΣ του forum-style.css
   ========================================================================== */

/* ==========================================================================
   PROFILE PAGE WRAPPER
   ========================================================================== */

.fs-user-profile-private,
.fs-user-profile-public {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

/* ==========================================================================
   PROFILE HEADER CARD
   ========================================================================== */

.fs-profile-header-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1 !important;
    text-align: center;
    z-index: 1;
}

/* Profile name (H1) */
.fs-profile-name,
.fs-profile-header-card h1 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.2 !important;
}

/* Username (@voyogod787) */
.fs-profile-username,
.fs-profile-header-card p {
    font-size: 18px !important;
    color: #718096 !important;
    margin: 0 0 24px 0 !important;
}

/* ==========================================================================
   STATS SECTION - INLINE LAYOUT
   ========================================================================== */

.fs-profile-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0 0 0 !important;
    padding: 20px 0 0 0;
    border-top: 1px solid #e2e8f0;
}

/* Individual stat */
.fs-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Stat number */
.fs-stat-item strong {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0073aa !important;
    line-height: 1 !important;
    display: block;
}

/* Stat label */
.fs-stat-item span {
    font-size: 13px !important;
    color: #718096 !important;
    font-weight: 500 !important;
    display: block;
}

/* Stat separator (•) */
.fs-stat-separator {
    font-size: 20px;
    color: #cbd5e0;
    font-weight: 700;
}

/* ==========================================================================
   LOGOUT BUTTON
   ========================================================================== */

.fs-logout-button-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
}

.fs-logout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    cursor: pointer;
}

.fs-logout-button:hover {
    background: #fee;
    border-color: #fcc;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.fs-logout-button:active {
    transform: scale(0.95);
}

/* ==========================================================================
   TABS SECTION
   ========================================================================== */

.fs-profile-tabs {
    display: flex;
    background: white;
    border-radius: 12px;
    margin: 0 0 20px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}

.fs-profile-tab {
    flex: 1;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #718096;
    background: white;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.fs-profile-tab.active {
    color: #0073aa;
    background: #f8f9fa;
    border-bottom-color: #0073aa;
}

.fs-profile-tab:hover:not(.active) {
    color: #2d3748;
    background: #fafbfc;
}

/* ==========================================================================
   TAB CONTENT AREA
   ========================================================================== */

.fs-tab-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    min-height: 400px;
}

/* ==========================================================================
   DISCUSSIONS & REPLIES LISTS
   ========================================================================== */

.fs-discussions-list,
.fs-replies-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Discussion card */
.fs-discussion-card {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.25s ease;
}

.fs-discussion-card:hover {
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #cbd5e0;
}

/* Discussion title */
.fs-discussion-card h3,
.fs-discussion-card h4 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.3 !important;
}

.fs-discussion-card a {
    color: #0073aa !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.fs-discussion-card a:hover {
    color: #005177 !important;
    text-decoration: underline !important;
}

/* Discussion meta */
.fs-discussion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #718096;
    margin-top: 12px;
}

/* Reply card */
.fs-reply-card {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.25s ease;
}

.fs-reply-card:hover {
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.fs-reply-text {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #4a5568 !important;
    margin: 12px 0 !important;
}

/* ==========================================================================
   EMPTY STATE
   ========================================================================== */

.fs-no-content {
    text-align: center;
    padding: 80px 30px;
    background: white;
    border-radius: 16px;
    border: 2px dashed #cbd5e0;
}

.fs-no-content p {
    font-size: 18px !important;
    color: #718096 !important;
    margin: 0 0 24px 0 !important;
    line-height: 1.6 !important;
}

.fs-no-content a,
.fs-no-content .fs-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 10px;
    font-size: 17px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.25);
    border: none !important;
}

.fs-no-content a:hover,
.fs-no-content .fs-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.35);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.fs-button,
.fs-button-primary,
.fs-button-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 24px;
    background: #0073aa;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fs-button:hover,
.fs-button-primary:hover {
    background: #005177;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.fs-button-small {
    min-height: 36px;
    padding: 8px 16px;
    font-size: 14px;
}

/* ==========================================================================
   SUCCESS MESSAGES
   ========================================================================== */

.fs-success-banner {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 24px 0;
    color: #155724 !important;
    font-size: 16px !important;
    font-weight: 500;
    text-align: center;
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS (≤768px)
   ========================================================================== */

@media (max-width: 768px) {
    
    /* Page padding */
    .fs-user-profile-private,
    .fs-user-profile-public {
        padding: 16px;
    }
    
    /* Header card */
    .fs-profile-header-card {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    /* Name smaller */
    .fs-profile-name,
    .fs-profile-header-card h1 {
        font-size: 26px !important;
    }
    
    /* Username */
    .fs-profile-username,
    .fs-profile-header-card p {
        font-size: 16px !important;
    }
    
    /* Stats stack vertically on very small screens */
    .fs-profile-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px 0 0 0;
    }
    
    .fs-stat-item {
        width: 100%;
    }
    
    .fs-stat-separator {
        display: none;
    }
    
    /* MOBILE Logout button - ALWAYS ON TOP */
    .fs-logout-button-container {
        position: fixed !important;
        top: 70px !important;
        right: 10px !important;
        z-index: 99999 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .fs-logout-button {
        width: 45px !important;
        height: 45px !important;
        font-size: 22px !important;
        box-shadow: 0 6px 20px rgba(245, 87, 108, 0.7) !important;
    }
    
    /* Tabs stack on mobile */
    .fs-profile-tabs {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .fs-profile-tab {
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
        padding: 16px 20px;
    }
    
    .fs-profile-tab.active {
        border-left-color: #0073aa;
        border-bottom-color: transparent;
    }
    
    /* Tab content */
    .fs-tab-content {
        padding: 20px;
    }
    
    /* Cards */
    .fs-discussion-card,
    .fs-reply-card {
        padding: 20px;
    }
    
    .fs-discussion-card h3,
    .fs-discussion-card h4 {
        font-size: 18px !important;
    }
    
    /* Empty state */
    .fs-no-content {
        padding: 30px 15px 40px 15px !important;
    }
    
    .fs-no-content p {
        font-size: 15px !important;
        margin: 0 0 16px 0 !important;
    }
    
    .fs-no-content a,
    .fs-no-content .fs-button {
        min-height: 44px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        width: 90% !important;
        max-width: 280px !important;
        margin-bottom: 20px;
    }
    }
}

/* ==========================================================================
   TABLET (769px - 1024px)
   ========================================================================== */

@media (min-width: 769px) and (max-width: 1024px) {
    
    /* Stats stay horizontal */
    .fs-profile-stats {
        flex-direction: row;
    }
    
    .fs-stat-separator {
        display: block;
    }
}

/* ==========================================================================
   DESKTOP (≥1025px)
   ========================================================================== */

@media (min-width: 1025px) {
    
    /* Header horizontal on desktop */
    .fs-profile-header-card {
        padding: 50px 40px;
    }
    
    /* Name larger */
    .fs-profile-name,
    .fs-profile-header-card h1 {
        font-size: 40px !important;
    }
    
    /* Stats larger */
    .fs-stat-item strong {
        font-size: 32px !important;
    }
    
    /* Cards in grid */
    .fs-discussions-list,
    .fs-replies-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 20px;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

/* Focus states */
.fs-profile-tab:focus,
.fs-button:focus,
.fs-logout-button:focus {
    outline: 3px solid #0073aa;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print */
@media print {
    .fs-logout-button-container,
    .fs-profile-tabs,
    .fs-button {
        display: none !important;
    }
}
}
/* ==========================================================================
   DESKTOP FIXES - Category & Discussion Pages
   Προσθήκη στο ΤΕΛΟΣ του forum-style.css
   ========================================================================== */

/* ==========================================================================
   CATEGORY PAGE - DISCUSSIONS LIST (DESKTOP)
   ========================================================================== */

/* Base discussion item - FORCE styles on desktop */
@media (min-width: 769px) {
    }
}
/* ==========================================================================

/* ==========================================================================
   DESKTOP DISCUSSION CARDS - COPY FROM WORKING REPLIES (v2.2.9)
   ========================================================================== */

/* Desktop optimization (769px+) */
@media (min-width: 769px) {
    /* Discussion items - SAME styling as replies */
    .fs-discussion-item {
        display: flex;
        gap: 20px;
        padding: 30px;
        background: white;
        border-radius: 12px;
        border: 2px solid #f0f0f0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }
    
    .fs-discussion-item:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        transform: translateY(-2px);
        border-color: #0073aa;
    }
    
    /* Avatar */
    .fs-discussion-avatar {
        flex-shrink: 0;
    }
    
    /* Content */
    .fs-discussion-content {
        flex: 1;
        min-width: 0;
    }
    
    /* Title */
    .fs-discussion-title {
        font-size: 20px;
        font-weight: 600;
        margin: 0 0 12px 0;
    }
    
    .fs-discussion-title a {
        color: #0073aa;
        text-decoration: none;
    }
    
    .fs-discussion-title a:hover {
        color: #005177;
        text-decoration: underline;
    }
    
    /* Meta */
    .fs-discussion-meta {
        display: flex;
        gap: 12px;
        font-size: 14px;
        color: #718096;
    }
    
    /* Stats */
    .fs-discussion-stats {
        display: flex;
        flex-direction: column;
        gap: 8px;
        text-align: center;
        min-width: 80px;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 8px;
    }
}

/* ==========================================================================
   CATEGORY HEADER CARD STYLING (v2.3.2)
   ========================================================================== */

.fs-category-header {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.fs-category-info {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.fs-category-icon-large {
    flex-shrink: 0;
}

.fs-category-icon-large .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: #0073aa;
}

.fs-category-text {
    flex: 1;
}

.fs-category-title-main {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.fs-category-description {
    font-size: 16px;
    line-height: 1.6;
    color: #718096;
    margin: 0 0 16px 0;
}

.fs-category-stats {
    font-size: 14px;
    color: #718096;
    font-weight: 600;
}

/* Login notice - styled button */
.fs-login-notice-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffd700;
    border-radius: 8px;
    color: #856404;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.fs-login-notice-category a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 700;
}

.fs-login-notice-category a:hover {
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .fs-category-header {
        padding: 20px;
    }
    
    .fs-category-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .fs-category-title-main {
        font-size: 24px;
    }
    
    .fs-category-icon-large {
        display: none;
    }
    
    .fs-category-icon-inline-mobile {
        display: inline-flex;
        margin-right: 8px;
    }
    
    .fs-login-notice-category {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Desktop - hide inline mobile icon */
@media (min-width: 769px) {
    .fs-category-icon-inline-mobile {
        display: none;
    }
}

/* ==========================================================================
   HOME PAGE LOGIN NOTICE (v2.3.3)
   ========================================================================== */

.fs-login-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffd700;
    border-radius: 10px;
    color: #856404;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.25);
    transition: all 0.2s ease;
}

.fs-login-notice:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.35);
}

.fs-login-notice a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.fs-login-notice a:hover {
    border-bottom-color: #0073aa;
}

/* Mobile */
@media (max-width: 768px) {
    .fs-login-notice {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }
}
/* ============================================
   PROFILE STATS - ONE HORIZONTAL LINE
   ============================================ */

@media (min-width: 768px) {
    
    /* Main Container */
    .fs-user-profile {
        max-width: 900px;
        margin: 0 auto;
        padding: 40px 20px;
    }
    
    /* ===== PROFILE HEADER CARD ===== */
    .fs-profile-header-card,
    .fs-profile-info-main {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 40px;
        margin-bottom: 30px;
        box-shadow: 0 1px 6px rgba(0,0,0,0.08);
        text-align: center;
    }
    
    .fs-profile-avatar {
        width: 100px;
        height: 100px;
        margin: 0 auto 20px;
        border-radius: 50%;
        border: 3px solid #0073aa;
    }
    
    .fs-profile-name {
        font-size: 26px;
        font-weight: 700;
        color: #333;
        margin-bottom: 8px;
    }
    
    .fs-profile-username {
        font-size: 15px;
        color: #999;
        margin-bottom: 40px;
    }
    
    /* ===== STATS IN ONE HORIZONTAL LINE ===== */
    .fs-profile-stats {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 50px;
        padding: 25px 0;
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        margin: 30px 0 0 0;
    }
    
    /* Each stat item - HORIZONTAL (number + label side by side) */
    .fs-stat-item {
        display: flex !important;
        flex-direction: row !important;  /* Horizontal! */
        align-items: center;
        gap: 10px;
    }
    
    /* Number (strong tag) */
    .fs-stat-item strong {
        font-size: 32px !important;
        font-weight: 700 !important;
        color: #0073aa !important;
        line-height: 1;
    }
    
    /* Label (span tag) - same line */
    .fs-stat-item span {
        font-size: 13px !important;
        color: #888 !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
    }
    
    /* Hide bullet separators */
    .fs-stat-separator {
        display: none !important;
    }
    
    /* ===== TABS ===== */
    .fs-profile-tabs {
        display: flex;
        gap: 0;
        margin-bottom: 20px;
        border-bottom: 2px solid #ddd;
    }
    
    .fs-tab {
        padding: 15px 30px;
        background: transparent;
        border: none;
        font-size: 16px;
        font-weight: 600;
        color: #666;
        cursor: pointer;
        text-decoration: none;
        border-bottom: 3px solid transparent;
        margin-bottom: -2px;
        transition: all 0.3s;
    }
    
    .fs-tab-active,
    .fs-tab.active {
        color: #0073aa !important;
        border-bottom-color: #0073aa !important;
    }
    
    .fs-tab:hover {
        color: #0073aa;
    }
    
    .fs-tab-count {
        margin-left: 8px;
        background: #f0f0f0;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 12px;
    }
    
    /* Force Single Column */
    .fs-discussions-list,
    .fs-replies-list {
        display: block !important;
        width: 100% !important;
        columns: 1 !important;
        column-count: 1 !important;
    }
    
    /* ===== DISCUSSION ITEMS ===== */
    .fs-discussion-item,
    .fs-reply-item {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        align-items: center;
        gap: 25px;
        padding: 25px 30px;
        margin-bottom: 20px;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0 1px 6px rgba(0,0,0,0.08);
        transition: all 0.3s;
        break-inside: avoid !important;
    }
    
    .fs-discussion-item:hover,
    .fs-reply-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
        transform: translateY(-2px);
        border-color: #0073aa;
    }
    
    .fs-discussion-status {
        flex-shrink: 0;
        width: 90px;
    }
    
    .fs-discussion-content {
        flex: 1;
        min-width: 0;
    }
    
    .fs-discussion-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
    }
    
    .fs-discussion-title a {
        color: #333;
        text-decoration: none;
    }
    
    .fs-discussion-title a:hover {
        color: #0073aa;
    }
    
    .fs-discussion-meta {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: #888;
    }
    
    .fs-discussion-actions {
        display: inline-flex;
        margin-left: 20px;
    }
    
    .fs-discussion-stats {
        display: flex;
        gap: 35px;
        flex-shrink: 0;
    }
    
    .fs-stat {
        text-align: center;
        min-width: 65px;
    }
    
    .fs-stat-number {
        display: block;
        font-size: 22px;
        font-weight: 700;
        color: #0073aa;
    }
    
    .fs-stat-label {
        display: block;
        font-size: 11px;
        color: #999;
        margin-top: 4px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .fs-discussion-item,
    .fs-reply-item {
        display: block;
    }
    
    .fs-discussion-stats {
        margin-top: 15px;
        display: flex;
        gap: 20px;
    }
}
/* ============================================
   VISITED LINKS FIX - Visible After Click
   ============================================ */

/* Forum User Links */
.fs-discussion-author a:visited,
.fs-reply-author a:visited,
.fs-author-name a:visited {
    color: #0073aa !important;  /* Keep blue after visit */
}

/* Category Links */
.fs-category-link:visited,
.fs-meta-item a:visited,
.fs-category-name a:visited {
    color: #0073aa !important;  /* Keep blue after visit */
}

/* Discussion Title Links */
.fs-discussion-title a:visited {
    color: #555 !important;  /* Slightly lighter than original #333 */
}

/* Reply Links */
.fs-reply-item a:visited {
    color: #0073aa !important;
}

/* Candidate Links */
.candidate-name a:visited,
.fs-candidate-link:visited {
    color: #0073aa !important;
}

/* General Forum Links - Keep Visible */
.fs-forum-content a:visited {
    color: #0073aa !important;
}

/* Buttons - Never Change Color When Visited */
.fs-button:visited,
.fs-button-primary:visited,
.fs-button-small:visited {
    color: inherit !important;  /* Keep original button color */
}


/* ============================================
   CLICKABLE DISCUSSION TITLES - Friendly UX
   ============================================ */

/* Discussion Title Links - Make them OBVIOUSLY clickable */
.fs-discussion-title a {
    color: #0073aa !important;        /* Blue instead of black */
    text-decoration: none;            /* No underline by default */
    cursor: pointer;                  /* Hand cursor */
    transition: all 0.2s ease;        /* Smooth transition */
    display: inline-block;            /* Better hover effect */
}

.fs-discussion-title a:hover {
    color: #005a87 !important;        /* Darker blue on hover */
    text-decoration: underline;       /* Underline on hover */
    transform: translateX(2px);       /* Slight move right */
}

.fs-discussion-title a:visited {
    color: #0073aa !important;        /* Stay blue after visit */
    opacity: 0.85;                    /* Slightly transparent to show visited */
}

.fs-discussion-title a:visited:hover {
    opacity: 1;                       /* Full opacity on hover */
}

/* Alternative: Keep black but with better hover */
.fs-discussion-title.dark-style a {
    color: #333 !important;           /* Black */
}

.fs-discussion-title.dark-style a:hover {
    color: #0073aa !important;        /* Blue on hover */
    text-decoration: underline;
}

/* Add icon before title (optional) */
.fs-discussion-title a::before {
    content: "💬 ";                   /* Chat icon */
    font-size: 0.9em;
    opacity: 0.7;
    margin-right: 5px;
}

/* Mobile - Make titles easier to tap */
@media (max-width: 768px) {
    .fs-discussion-title a {
        padding: 5px 0;               /* Bigger tap target */
        font-size: 17px;              /* Slightly larger */
    }
}