<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:padding="16dp"
    android:gravity="center_horizontal">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/title_sns24"
        android:textSize="24sp"
        android:textStyle="bold"
        android:textColor="@color/primary_color"
        android:layout_marginBottom="32dp"/>

    <com.google.android.material.button.MaterialButton
        android:id="@+id/button_call_sns"
        android:layout_width="match_parent"
        android:layout_height="80dp"
        android:text="Ligar SNS 24 (808 24 24 24)"
        android:textSize="18sp"
        android:backgroundTint="@color/teal_700"
        app:icon="@android:drawable/ic_menu_call"
        app:iconGravity="textStart"
        android:layout_marginBottom="32dp"/>

    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="#CCCCCC"
        android:layout_marginBottom="24dp"/>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Triagem com Inteligência Artificial"
        android:textSize="20sp"
        android:textStyle="bold"
        android:textColor="@color/primary_color"
        android:layout_marginBottom="16dp"/>

    <com.google.android.material.textfield.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="Descreva o que está a sentir..."
        android:layout_marginBottom="16dp"
        style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">

        <com.google.android.material.textfield.TextInputEditText
            android:id="@+id/input_symptoms"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:inputType="textCapSentences|textMultiLine"
            android:minLines="3"
            android:gravity="top|start"/>
    </com.google.android.material.textfield.TextInputLayout>

    <com.google.android.material.button.MaterialButton
        android:id="@+id/button_ai_triage"
        android:layout_width="match_parent"
        android:layout_height="60dp"
        android:text="Analisar Sintomas"
        android:textSize="16sp"
        app:cornerRadius="8dp"
        android:layout_marginBottom="24dp"/>

    <TextView
        android:id="@+id/text_ai_result"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textSize="16sp"
        android:textColor="@android:color/black"
        android:padding="16dp"
        android:background="#F5F5F5"
        android:visibility="gone"
        android:layout_marginBottom="16dp"/>

    <com.google.android.material.button.MaterialButton
        android:id="@+id/button_find_hospital"
        android:layout_width="match_parent"
        android:layout_height="60dp"
        android:text="Ver Hospital Mais Próximo"
        android:textSize="16sp"
        android:backgroundTint="@android:color/holo_red_dark"
        app:icon="@android:drawable/ic_menu_mapmode"
        app:cornerRadius="8dp"
        android:visibility="gone"/>

</LinearLayout>
