<?php
/**
 * Mobile-specific CSS for Private Notes
 * 
 * This file contains CSS rules specifically for ensuring Private Notes
 * are visible on mobile devices regardless of theme or other CSS.
 */

/* Force visibility of user section and private notes on mobile */
@media only screen and (max-width: 768px) {
    .lctc-user-section,
    .lctc-user-notes-section,
    .lctc-user-notes-content,
    .lctc-notes-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 999999 !important;
    }
    
    .lctc-notes-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 15px 0 !important;
        padding: 10px !important;
        background-color: #ffffff !important;
        border: 2px solid #e0e0e0 !important;
        border-radius: 4px !important;
        box-shadow: 0 0 10px rgba(0,0,0,0.1) !important;
    }
    
    /* Ensure form elements are visible and properly sized */
    .lctc-notes-form textarea,
    .lctc-notes-form button {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    /* Ensure labels are visible */
    .lctc-form-row label {
        display: block !important;
        visibility: visible !important;
        margin-bottom: 5px !important;
        font-weight: bold !important;
    }
    
    /* Fix any potential theme conflicts */
    .lctc-section-content {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    /* Ensure section headers are visible and clickable */
    .lctc-section-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px !important;
        background-color: #f5f5f5 !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        margin-bottom: 10px !important;
        cursor: pointer !important;
    }
    
    /* Feedback tabs styling for mobile */
    .lctc-feedback-tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-bottom: 15px !important;
        border-bottom: 1px solid #ccc !important;
    }
    
    .lctc-feedback-tab {
        padding: 8px 12px !important;
        margin-right: 5px !important;
        margin-bottom: 5px !important;
        border: 1px solid transparent !important;
        border-radius: 4px !important;
        text-decoration: none !important;
        color: #555 !important;
        font-size: 14px !important;
    }
    
    .lctc-feedback-tab.active {
        background-color: #fff !important;
        border-color: #ccc !important;
        color: #0073aa !important;
        font-weight: bold !important;
    }
}
