<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.FlowPane?>
<?import javafx.scene.layout.Region?>
<?import cz.polreich.spagetka.models.gui.buttons.CancelButton?>
<?import cz.polreich.spagetka.models.gui.buttons.ConfirmButton?>
<?import cz.polreich.spagetka.models.gui.buttons.YellowButton?>
<?import cz.polreich.spagetka.models.gui.panes.TouchScrollPane?>

<AnchorPane fx:id="outerPane" prefHeight="1920.0" prefWidth="1080.0" xmlns="http://javafx.com/javafx/20.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="cz.polreich.spagetka.controllers.CustomerOrderConfirmationController">
   <AnchorPane fx:id="mainAnchorPane" AnchorPane.topAnchor="0" AnchorPane.rightAnchor="0" AnchorPane.leftAnchor="0" AnchorPane.bottomAnchor="0">
      <AnchorPane fx:id="titleAnchorPane" prefHeight="155.0" prefWidth="1080.0">
         <Label fx:id="titleLabel" maxWidth="1080.0" layoutX="406.0" layoutY="57.0"/>

      </AnchorPane>
      <AnchorPane fx:id="listOfProductsAnchorPane" layoutY="155.0" prefHeight="1350.0" prefWidth="1080.0" maxHeight="1350.0">
         <TouchScrollPane fx:id="listOfProductsScrollPane" hbarPolicy="NEVER" prefHeight="1350.0" maxHeight="1350.0" prefWidth="1080.0"
                     AnchorPane.topAnchor="0.0">
            <FlowPane fx:id="listOfProductsVBox" orientation="HORIZONTAL" prefWrapLength="1080" prefHeight="1350.0" prefWidth="1080.0" maxHeight="1350.0" vgap="15">
               <opaqueInsets>
                  <Insets/>
               </opaqueInsets>
               <padding>
                  <Insets left="80.0" right="80.0"/>
               </padding>
            </FlowPane>
         </TouchScrollPane>
      </AnchorPane>
      <AnchorPane fx:id="amountAnchorPane" prefHeight="196.0" prefWidth="1080.0" AnchorPane.bottomAnchor="400.0">
         <Label fx:id="discountLabel" layoutX="546.0" layoutY="14.0" prefWidth="400.0" />
         <Label fx:id="discountAmountLabel" layoutX="859.0" layoutY="14.0" prefWidth="300.0" />
         <Label fx:id="amountLabel" layoutX="546.0" layoutY="114.0" prefWidth="400.0" />
         <Label fx:id="amountNumberLabel" layoutX="859.0" layoutY="114.0" prefHeight="27.0" prefWidth="300.0" />
      </AnchorPane>
      <AnchorPane fx:id="footerOuterAnchorPane" prefHeight="300.0" prefWidth="1080.0" AnchorPane.bottomAnchor="0" AnchorPane.leftAnchor="0" AnchorPane.rightAnchor="0">
         <FlowPane fx:id="customerLoginFlowPane" orientation="HORIZONTAL" hgap="30" AnchorPane.leftAnchor="30" AnchorPane.rightAnchor="30" AnchorPane.topAnchor="0">
            <Label fx:id="customerLoginLabel" prefWidth="400.0" />
            <YellowButton fx:id="customerLoginButton" prefWidth="300.0" onAction="#loginCustomerAction"/>
            <Label fx:id="customerPhoneNumber" prefWidth="300.0" maxWidth="300.0"/>
         </FlowPane>
         <FlowPane fx:id="footerButtonsFlowPane" prefHeight="150.0" AnchorPane.bottomAnchor="0" AnchorPane.leftAnchor="0" AnchorPane.rightAnchor="0">
            <Region fx:id="beforeSpacer" />
            <CancelButton fx:id="backButton" prefWidth="296.0" mnemonicParsing="false" onAction="#backButtonAction"/>
            <YellowButton fx:id="discountButton" mnemonicParsing="false" onAction="#discountButtonAction" prefWidth="296.0"/>
            <ConfirmButton fx:id="payButton" mnemonicParsing="false" onAction="#payButtonAction" prefWidth="296.0"/>
         </FlowPane>
      </AnchorPane>
   </AnchorPane>
</AnchorPane>

