/**
 * SGTT Blocks - Global Frontend Styles
 * 
 * @package SGTT_Theme
 * @since 1.0.0
 */

/* Global styles for all SGTT blocks */
[class*="wp-block-sgtt-"] {
    box-sizing: border-box;
}

/* Base animations and transitions */
[class*="wp-block-sgtt-"] * {
    box-sizing: border-box;
}

/* Common button styles for all SGTT blocks */
[class*="wp-block-sgtt-"] button {
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

/* Common form input styles */
[class*="wp-block-sgtt-"] input,
[class*="wp-block-sgtt-"] textarea,
[class*="wp-block-sgtt-"] select {
    font-family: inherit;
    line-height: 1.4;
    border: none;
    outline: none;
    background: transparent;
    transition: all 0.3s ease;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    [class*="wp-block-sgtt-"] * {
        transition: none !important;
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    [class*="wp-block-sgtt-"] {
        border: 1px solid currentColor;
    }
    
    [class*="wp-block-sgtt-"] button {
        border: 2px solid currentColor;
    }
}

/* Print styles */
@media print {
    [class*="wp-block-sgtt-"] {
        break-inside: avoid;
        color: black !important;
        background: white !important;
    }
    
    [class*="wp-block-sgtt-"] button {
        display: none;
    }
}
