div.main {
    height: 100%;
    color: hsla(var(--foreground));
    margin-left: auto;
    margin-right: auto;
}

.suggestions {
    display: flex;
    overflow-x: none;
    height: 50%;
    padding: 10px;
    white-space: nowrap;
    /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); */
    gap: 1rem;
    /* justify-content: center; */
}

div.inputBox {
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    gap: 12px;
    align-content: center;
}

input.inputBox {
    border: none;
}

input.inputBox:focus {
    outline: none;
    background-color: transparent;
}

div.inputBox:focus {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

div.chatBodyFull {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
}

button.inputBox {
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    border-radius: 0.5rem;
    padding: 0.5rem;
    background: linear-gradient(var(--calm-green), var(--calm-blue));
}

div.chatBody {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.inputBox {
    color: hsla(var(--foreground));
}

div.chatLayout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

div.chatBox {
    display: grid;
    height: 100%;
}

div.titleBar {
    display: grid;
    grid-template-columns: 1fr auto;
}

div.chatBoxBody {
    display: grid;
    height: 100%;
    width: 100%;
    margin: auto;
}

div.agentIndicator a {
    display: flex;
    text-align: center;
    align-content: center;
    align-items: center;
}

div.agentIndicator {
    padding: 10px;
}

div.chatTitleWrapper {
    grid-template-columns: 1fr auto;
}

@media screen and (max-width: 768px) {
    div.inputBox {
        margin-bottom: 0px;
    }

    div.chatBoxBody {
        width: 100%;
    }

    div.chatBody {
        grid-template-columns: 0fr 1fr;
    }

    div.chatBox {
        padding: 0;
        height: 100%;
    }

    div.chatLayout {
        gap: 0;
        grid-template-columns: 1fr;
    }
}

/* Print-specific styles for chat layout */
@media print {
    /* Chat container adjustments */
    div.main {
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    div.chatBox,
    div.chatBoxBody,
    div.chatLayout {
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        position: static !important;
    }

    div.chatBodyFull,
    div.chatBody {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        grid-template-columns: none !important;
        overflow: visible !important;
        position: static !important;
    }

    div.inputBox {
        display: none !important;
    }

    /* Make chat content use full width in print */
    .chatHistory {
        width: 100% !important;
        max-width: none !important;
    }
}
