/**** meter app style css *****************************
** Each app's common properties for the areas such as *
** header, textarea, app-subtitle, description, etc.  *
*******************************************************
** Set font-family, size, weight, background, and     *
** other color effects unique to each quiz app to its *
** own css file.                                     **
******************************************************/
.app-container {
    /*display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;*//*overlapped with body flex*/
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.app-header {
    border-radius: 10px;
    color: white;
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.app-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.app-subtitle, .subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-description, .description {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.app-content {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    margin-top: 5px;
}

.input-section, .form-group {
    margin: 2rem auto;
    width: 100%;
}

label, .input-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

textarea, .thought-input, .opinion-input, .input-field {
    font-size: 16px;
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

button, .analyze-btn, .scan-button, .judge-btn, .justify-btn {
    color: white;
    border: none;
    padding: 1rem;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.app-footer, .disclaimer {
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 9rem;
}

/* Mobile Responsiveness - Add to drama-detector.css */
/* Tablet styles (768px and below) */
@media screen and (max-width: 768px) {
    .app-container {
        padding: 30px 25px;
        margin: 1rem auto;
        border-radius: 15px;
    }

    .app-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .app-subtitle, .subtitle {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .input-section, .form-group {
        margin: 1rem auto;
    }

    textarea, .thought-input, .opinion-input, .input-field {
        height: 100px;
        padding: 12px;
        font-size: 15px;
    }

    .app-footer, .disclaimer {
        margin-top: 5rem;
    }

    .drama-level {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .drama-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .drama-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .advice {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* Mobile styles (480px and below) */
@media screen and (max-width: 480px) {
    .app-container {
        padding: 20px 18px;
        margin: 0.5rem auto;
        border-radius: 15px;
    }

    .app-header {
        padding: 15px;
    }

    .app-title {
        font-size: 1.5rem;
        margin-bottom: 6px;
        line-height: 1.2;
    }

    .app-subtitle, .subtitle {
        font-size: 1rem;
        margin-bottom: 5px;
        line-height: 1.3;
    }

    .input-section, .form-group {
        margin: 1rem auto;
        width: 100%;
    }

    textarea, .thought-input, .opinion-input, .input-field {
        font-size: 14px;
        height: 100px;
        padding: 10px;
        border-radius: 8px;
    }

    .app-footer, .disclaimer {
        margin-top: 5rem;
        padding: 0.7rem;
    }

    .result {
        margin-top: 25px;
        padding: 20px;
        border-radius: 12px;
    }

    .drama-level {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .drama-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .drama-description {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .advice {
        padding: 10px;
        font-size: 0.9rem;
        border-radius: 8px;
        margin-top: 12px;
        line-height: 1.4;
    }

    .examples {
        margin-top: 25px;
    }

    .example {
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .example-title {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    .loading {
        font-size: 0.9rem;
    }
}

/* Small mobile styles (360px and below) */
@media screen and (max-width: 360px) {
    .app-container {
        padding: 15px;
        margin: 0.25rem auto;
    }

    .app-title {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .app-subtitle, .subtitle {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }

    textarea, .thought-input, .opinion-input, .input-field {
        height: 100px;
        padding: 8px;
        font-size: 13px;
    }

    .drama-level {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .drama-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .drama-description {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .advice {
        padding: 8px;
        font-size: 0.85rem;
        margin-top: 10px;
    }

    .example {
        padding: 10px;
        margin-bottom: 10px;
    }

    .example-title {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .app-container {
        padding: 30px 25px;
        margin: 1rem auto;
        border-radius: 15px;
    }

    .app-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .app-subtitle, .subtitle {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }

    .app-description, .description {
        font-size: 1.3rem;
    }

    .input-section, .form-group {
        margin: 2rem auto;
    }

    textarea, .thought-input, .opinion-input, .input-field {
        height: 100px;
        padding: 12px;
    }

    .app-footer, .disclaimer {
        margin-top: 5rem;
    }
}