/* Flawcastr Styles - Main Orchestrator File */
/* This file imports all component styles */

/* Base variables */
@import 'variables.css';

/* Core styles */
@import 'reset.css';
@import 'layout.css';
@import 'forms.css';
@import 'buttons.css';

/* Components */
@import 'components/sections.css';
@import 'components/notes.css';
@import 'components/explanations.css';

/* Features */
@import 'charts.css';
@import 'onboarding.css';
@import 'interface-mode.css';
@import 'about-modal.css';
@import 'feedback-modal.css';

/* Utilities */
@import 'utilities.css';

/* Responsive */
@import 'responsive.css';

/* Prevent zoom/scaling behavior */
* {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for input fields and text areas */
input, textarea, [contenteditable] {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Reset button styling */
.reset-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Small screen blocking overlay */
.small-screen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;

    /* Use sad.png as the background */
    background-image: url('../media/sad.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Add overlay effect similar to modal overlay */
    background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: overlay;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /* Position content at bottom stretching full width */
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.small-screen-overlay.active {
    display: flex;
}

/* Content container within the overlay */
.small-screen-overlay .content-container {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 2rem 2.5rem;

    /* Use glassmorphic styling */
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Text styling */
    color: #ffffff;
    font-family: var(--font-family);
    text-align: left;
    line-height: 1.6;
}

.small-screen-overlay p {
    margin-bottom: 1rem;
    color: #ffffff;
}

.small-screen-overlay p:first-child {
    font-size: 1.3rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
}

.small-screen-overlay p:last-child {
    margin-bottom: 0;
}