/* ---------- Page ---------- */

body {
    margin: 0;
    min-height: 100vh;
    background-color: #f4efe7;
    color: #14324a;
    font-family: Arial, Helvetica, sans-serif;
}

main {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px;
    box-sizing: border-box;
}


/* ---------- Buttons ---------- */

button {
    background-color: #14324a;
    color: white;

    border: none;
    border-radius: 12px;

    padding: 15px 30px;

    font-size: 18px;
    cursor: pointer;
}

button:hover {
    background-color: #1d4564;
}


/* ---------- Landing Page ---------- */

#landing-screen {
    width: 100%;
    max-width: 700px;
    text-align: center;
}

/* Home page title */
#landing-screen h1 {
    font-size: 56px;
}

/* Home page subtitle */
#landing-screen p {
    font-size: 24px;
}


/* ---------- Client Overview ---------- */

#client-screen {
    display: none;
    width: 100%;
    max-width: 950px;
    text-align: center;
}

#client-screen h2 {
    font-size: 40px;
    margin-bottom: 5px;
    text-align: center;
}

.client-card {
    display: flex;
    align-items: center;

    gap: 25px;

    margin-top: 0px;

    padding: 20px;

    background: white;
    border-radius: 20px;
}

#client-photo {
    width: 280px;
    border-radius: 15px;
}

.client-info {
    text-align: left;
}

.client-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.client-info p {
    font-size: 20px;
    line-height: 1.3;
    margin: 10px 0;
}

/* ---------- Consultation Screen ---------- */

#consultation-screen {
    display: none;
    width: 100%;
    max-width: 1100px;
}

.consultation-layout {
    display: flex;
    gap: 40px;

    height: 400px;
    padding: 24px;
    box-sizing: border-box;

    background: white;
    border-radius: 20px;
}

.session-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

#complete-session-button {
    display: none;
    font-size: 16px;
    padding: 12px 20px;
}

/* ---------- Left Panel ---------- */

.client-panel {
    width: 300px;
    text-align: left;
}

#consultation-photo {
    display: block;
    width: 240px;

    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;

    border-radius: 15px;
}

/* Adam's name */
#consultation-client-info {
    margin-top: 5px;
    margin-bottom: 5px;

    font-size: 28px;
    text-align: center;
}

/* Age, occupation, relationship, and living situation */
.client-panel p {
    margin-top: 4px;
    margin-bottom: 4px;

    font-size: 18px;
    line-height: 1.2;
}

/* ---------- Right Panel ---------- */

.chat-panel {
    flex: 1;

    display: flex;
    flex-direction: column;

    text-align: left;
}

#start-timer-button {
    margin-top: 16px;
}

/* Header */

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 16px;
}

.chat-header h2,
#timer {
    margin: 0;
    font-size: 36px;
    font-weight: bold;
}

/* Conversation */

#chat-history {
    height: 180px;
    overflow-y: auto;

    margin: 0;
    padding: 24px;

    background-color: #f4efe7;
    border-radius: 16px;

    font-size: 20px;
    line-height: 1.6;
}

/* Therapist Response */

#response-area {
    display: none;
    flex-direction: column;

    margin-top: 16px;
}

#therapist-response {
    width: 100%;
    min-height: 70px;

    padding: 16px;

    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;

    border: 1px solid #ccc;
    border-radius: 12px;

    box-sizing: border-box;
}

#send-response-button {
    align-self: flex-end;
    margin-top: 12px;
}

.message {
    margin-bottom: 16px;
    padding: 16px;

    background-color: white;
    border-radius: 14px;
}

.message strong {
    display: block;
    margin-bottom: 8px;
}

.message p {
    margin: 0;
}

.therapist-message {
    background-color: #e8f0f5;
}

/* ---------- Session Complete Screen ---------- */

#session-complete-screen {
    display: none;
    width: 100%;
    max-width: 700px;
    text-align: center;
}

.completion-card {
    padding: 40px;

    background: white;
    border-radius: 20px;
}

.completion-card h2 {
    font-size: 42px;
    margin-top: 0;
}

.completion-card p {
    font-size: 22px;
    line-height: 1.6;
}

/* ---------- Supervisor Report Screen ---------- */

#supervisor-report-screen {
    display: none;
    width: 100%;
    max-width: 800px;
}

.report-card {
    padding: 40px;

    background: white;
    border-radius: 20px;
}

.report-card h2 {
    font-size: 42px;
    margin-top: 0;
    text-align: center;
}

.report-card h3 {
    font-size: 26px;
    margin-top: 28px;
}

.report-card p {
    font-size: 20px;
    line-height: 1.6;
}