/**
 * Custom Order Page Plugin Styles
 * 
 * Main stylesheet with theme font inheritance (font-family declarations removed).
 * 
 * @package Custom_Order_Page
 * @author tathanhkhuong
 * @version 1.0.0
 * @updated 2025-08-04 09:35:18
 */

/* Customer Notice Box Styling */
.customer-notice-box {
    background-color: #fff8e1;
    border-left: 4px solid #fbc02d;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    color: #444;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Enhanced visual effects */
.customer-notice-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #fbc02d 0%,
        #f9a825 50%,
        #f57f17 100%
    );
    transition: width 0.3s ease;
}

.customer-notice-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.customer-notice-box:hover::before {
    width: 6px;
}

/* Typography within notice */
.customer-notice-box p {
    margin: 0 0 8px 0;
}

.customer-notice-box p:last-child {
    margin-bottom: 0;
}

.customer-notice-box strong {
    color: #333;
    font-weight: 600;
}

.customer-notice-box em {
    font-style: italic;
    color: #555;
}

.customer-notice-box a {
    color: #f57f17;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.customer-notice-box a:hover {
    color: #e65100;
    text-decoration: none;
}

/* Responsive design for customer notice */
@media (max-width: 768px) {
    .customer-notice-box {
        margin: 16px 12px;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    .customer-notice-box::before {
        width: 3px;
    }
    
    .customer-notice-box:hover::before {
        width: 4px;
    }
}

@media (max-width: 480px) {
    .customer-notice-box {
        margin: 12px 8px;
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 4px;
        line-height: 1.4;
    }
    
    .customer-notice-box::before {
        width: 2px;
    }
    
    .customer-notice-box:hover::before {
        width: 3px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .customer-notice-box {
        background-color: #3e2723;
        color: #fff8e1;
        border-left-color: #ffb300;
    }
    
    .customer-notice-box strong {
        color: #fff;
    }
    
    .customer-notice-box em {
        color: #ffcc02;
    }
    
    .customer-notice-box a {
        color: #ffb300;
    }
    
    .customer-notice-box a:hover {
        color: #ffa000;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .customer-notice-box {
        border-left-width: 6px;
        border: 2px solid #f57f17;
        background-color: #fffde7;
        color: #000;
    }
    
    .customer-notice-box strong {
        color: #000;
        font-weight: 700;
    }
    
    .customer-notice-box a {
        color: #e65100;
        font-weight: 600;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .customer-notice-box,
    .customer-notice-box::before {
        transition: none;
    }
    
    .customer-notice-box:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .customer-notice-box {
        background-color: #f9f9f9 !important;
        border-left: 3px solid #666 !important;
        box-shadow: none !important;
        color: #000 !important;
        page-break-inside: avoid;
    }
    
    .customer-notice-box::before {
        display: none;
    }
    
    .customer-notice-box a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}

/* Focus states for accessibility */
.customer-notice-box:focus-within {
    outline: 2px solid #f57f17;
    outline-offset: 2px;
}

/* Animation for notice appearance */
.customer-notice-box.fade-in {
    animation: noticeSlideIn 0.4s ease-out;
}

@keyframes noticeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional utility classes for notice variations */
.customer-notice-box.notice-info {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
}

.customer-notice-box.notice-success {
    background-color: #e8f5e8;
    border-left-color: #4caf50;
}

.customer-notice-box.notice-warning {
    background-color: #fff3e0;
    border-left-color: #ff9800;
}

.customer-notice-box.notice-error {
    background-color: #ffebee;
    border-left-color: #f44336;
}

/* Custom Order Page General Styles */
.custom-order-page-wrapper {
    line-height: 1.6;
    color: #333;
}

.custom-order-page-wrapper * {
    box-sizing: border-box;
}

/* Loading state */
.custom-order-page-wrapper.loading {
    opacity: 0.7;
    pointer-events: none;
}

.custom-order-page-wrapper.loading .customer-notice-box {
    opacity: 0.5;
}

/* Section spacing */
.custom-order-page-wrapper section {
    margin-bottom: 20px;
}

.custom-order-page-wrapper section:last-child {
    margin-bottom: 0;
}

/* Smooth scrolling enhancement */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar for modern browsers */
.custom-order-page-wrapper::-webkit-scrollbar {
    width: 8px;
}

.custom-order-page-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.custom-order-page-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.custom-order-page-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/**
 * Customer Notice Box CSS Notes:
 * 
 * Font Inheritance Update (2025-08-04 09:35:18):
 * - ✅ Removed all font-family declarations
 * - ✅ Plugin now inherits fonts from active theme
 * - ✅ Maintains all visual styling and functionality
 * - ✅ Responsive design preserved
 * - ✅ Dark mode support maintained
 * - ✅ High contrast mode accessibility retained
 * - ✅ Reduced motion preferences supported
 * - ✅ Print-friendly styling intact
 * - ✅ Focus states for keyboard navigation preserved
 * - ✅ Smooth entrance animations maintained
 * - ✅ Utility classes for different notice types available
 * 
 * Color Palette:
 * - Primary: #fff8e1 (light yellow background)
 * - Accent: #fbc02d (yellow border)
 * - Hover: #f9a825 (darker yellow)
 * - Text: #444 (dark gray)
 * - Links: #f57f17 (orange)
 * 
 * Responsive Breakpoints:
 * - Desktop: Full styling with 14px font
 * - Tablet (≤768px): 13px font, adjusted padding
 * - Mobile (≤480px): 12px font, compact design
 * 
 * Accessibility Features:
 * - Focus states with outline
 * - High contrast mode support
 * - Reduced motion preferences
 * - Screen reader friendly structure
 * - Print optimization
 * 
 * @author tathanhkhuong
 * @login tathanhkhuong
 * @updated 2025-08-04 09:35:18
 * @change removed_font_family_declarations
 * @status theme_font_inheritance_enabled
 */