/* Mobile First Design implemented by default in other files.
   Overrides for larger screens are here. */

/* Large Tablets & Laptops */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .chat-layout {
        gap: 20px;
    }
}

/* Tablets Portrait & Large Phones */
@media (max-width: 768px) {
    .chat-layout {
        grid-template-columns: 1fr;
        height: auto;
        display: block;
    }

    .input-section,
    .output-section {
        min-height: auto;
        margin-bottom: 24px;
    }

    .main-content {
        padding-top: 20px;
    }

    .modal-content {
        max-height: 90vh;
        width: 95%;
    }

    textarea {
        min-height: 100px;
    }

    .action-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .tone-selector {
        width: 100%;
    }

    .btn-primary {
        width: 100%;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .navbar {
        padding: 0 4px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .chip {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.1rem;
    }

    .modal-content {
        height: 100%;
        max-height: 100%;
        width: 100%;
        border-radius: 0;
    }
}