/* ===== Brand Variables ===== */
:root {
    --brand-navy: #305185;
    --brand-gold: #E5A83D;
    --brand-dark: #2B2B2B;
    --brand-cream: #FCF6EC;
    --brand-light: #FAFAFA;

    /* n8n Chat Variables */
    --chat--color--primary: #305185;
    --chat--message--user--background: #305185;
    --chat--message--user--color: #ffffff;
    --chat--textarea--height: 54px;
    --chat--input--background: #ffffff;
    --chat--input--border: 1px solid #e1e1e1;
    --chat--input--border-radius: 8px;
    --chat--input--padding: 12px 16px;
    --chat--input--font-size: 14px;
    --chat--input--text-color: #37352f;
    --chat--messages-list--padding: 20px;
}

/* ===== Page Layout ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    height: 100vh;
    overflow: hidden;
    background: var(--brand-light);
}

.page-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    height: 100vh;
}

/* ===== Chat Panel ===== */
.chat-panel {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

#n8n-chat,
#n8n-chat .chat-layout {
    height: 100% !important;
    max-height: 100vh !important;
}

/* ===== Info Panel ===== */
.info-panel {
    background: var(--brand-cream);
    color: var(--brand-dark);
    padding: 48px 40px;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
}

.info-content {
    max-width: 380px;
}

.brand-logo {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-navy);
    margin-bottom: 28px;
}

.info-content h1 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px;
    color: var(--brand-navy);
}

.info-content p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--brand-dark);
    margin: 0 0 24px;
}

.info-content hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    margin: 24px 0;
}

.steps-label {
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #A26701 !important;
    margin: 0 0 14px !important;
}

.info-content ol {
    padding-left: 20px;
    margin: 0 0 28px;
}

.info-content ol li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--brand-dark);
    margin-bottom: 10px;
}

.tip {
    background: rgba(48, 81, 133, 0.06);
    border-left: 3px solid var(--brand-navy);
    padding: 12px 16px;
    border-radius: 0 4px 4px 0;
    font-size: 13px !important;
    color: #4a4a4a !important;
    margin: 0 !important;
}

/* ===== n8n Chat Overrides ===== */

/* Stack textarea above send button */
.chat-inputs {
    flex-direction: column !important;
    align-items: stretch !important;
}

/* Textarea full width */
.chat-inputs textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 16px !important;
    height: 54px !important;
    min-height: 54px !important;
    resize: none !important;
}

/* Full-width send button in brand gold */
.chat-input-send-button {
    width: 100% !important;
    height: 46px !important;
    background-color: var(--brand-gold) !important;
    color: var(--brand-dark) !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-top: 8px !important;
}

.chat-layout .chat-header h1 {
    margin: 0;
    font-size: 22px;
}

.chat-layout .chat-header p {
    margin: 4px 0;
    font-size: 12px;
}

.chat-layout .chat-footer {
    padding: var(--chat--messages-list--padding);
}
