<template>
    <section :class="['information', darkMode ? 'section-darkmode' : 'section-lightmode']">
        <h2 :class="['production-orders-instance-name', darkMode ? 'h2-darkmode' : 'h2-lightmode']">Instance ID</h2>
        <div class="production-orders-instance-data">
            <div class="instanceInfo">
                <div class="data-field" id="info">
                    <div class="templateId-client" id="templateID">
                        <pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Template ID:</pre>
                        <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                    </div>
                    <div class="templateId-client" id="client">
                        <pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Customer:</pre>
                        <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                    </div>
                </div>
            </div>
        </div>
        <div class="production-orders-instance-data">
            <div class="additional">
                <div class="templateDescription">
                    <h3 :class="['area-title', darkMode ? 'h3-darkmode' : 'h3-lightmode']">Template description:</h3>
                    <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']" id="templateDescription">...</pre>
                </div>
            </div>
            <div class="additional">
                <div class="templateNotes">
                    <h3 :class="['area-title', darkMode ? 'h3-darkmode' : 'h3-lightmode']">Template notes:</h3>
                    <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']" id="templateNotes">...</pre>
                </div>
            </div>
        </div>
        <div class="production-orders-instance-data">
            <div class="instanceInfo">
                <div class="data-field-four" id="infoFour">
                    <div class="ticketNo-asset-state-user" id="ticketNo">
                        <pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Ticket No.:</pre>
                        <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                    </div>
                    <div class="ticketNo-asset-state-user" id="asset">
                        <pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Asset:</pre>
                        <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                    </div>
                    <div class="ticketNo-asset-state-user" id="state">
                        <pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">State:</pre>
                        <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                    </div>
                    <div class="ticketNo-asset-state-user" id="user">
                        <pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">User:</pre>
                        <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                    </div>
                </div>
                <div class="data-field" id="info">
                    <div class="creationDate-completionDate-timeSpent" id="creationDate">
                        <pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Creation date:</pre>
                        <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                    </div>
                    <div class="creationDate-completionDate-timeSpent" id="completionDate">
                        <pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Completion date:</pre>
                        <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                    </div>
                    <div class="creationDate-completionDate-timeSpent" id="timeSpent">
                        <pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Time spent:</pre>
                        <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
                    </div>
                </div>
            </div>
        </div>
        <div class="production-orders-instance-data">
            <div class="additional">
                <div class="notes">
                    <h3 :class="['area-title', darkMode ? 'h3-darkmode' : 'h3-lightmode']">Notes:</h3>
                    <pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']" id="notes">...</pre>
                </div>
            </div>
        </div>
    </section>
</template>
    

<script setup>
import { ref } from 'vue';

const darkMode = ref(true)
</script>

<script>
export default {
    name: "ProductionOrdersInstance",
};
</script> 
      
      
<style scoped>
.information {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 1.25rem 1.875rem;
    border-radius: 0.625rem;
    box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}

.section-darkmode {
    background-color: #2c2c2c;
}

.section-lightmode {
    background-color: #fff;
}



.production-orders-instance-name {
    align-self: stretch;
    padding: 1rem 0;
    letter-spacing: 5%;
    text-decoration-line: underline;
    font: italic 400 1rem/187.5% Overpass, -apple-system, Roboto, Helvetica,
        sans-serif;
}

.h2-darkmode {
    color: #fff;
}

.h2-lightmode {
    color: #000;
}

.data-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 95%;
    padding: 0 1.875rem;
    gap: 1.25rem;
    border-radius: 0.625rem;
}

.data-field-four {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 98.5%;
    gap: 1.25rem;
    border-radius: 0.625rem;
}

.ticketNo-asset-state-user {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding-left: 1.875rem;
    padding-right: 1.875rem;
    gap: 1.25rem;
    border-radius: 0.625rem;
}

.creationDate-completionDate-timeSpent,
.templateId-client {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0 0rem;
    gap: 1.25rem;
    border-radius: 0.625rem;
}

.label {
    letter-spacing: 5%;
    font: 400 0.875rem/1.875rem Overpass, sans-serif;
}

.pre-darkmode {
    color: #fff;
}

.pre-lightmode {
    color: #000;
}

.data {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 0.625rem;
    border-radius: 0.3125rem;
    box-shadow: 0.0625rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.25) inset;
    letter-spacing: 5%;
    font: 400 0.75rem/250% Overpass, sans-serif;
}

.data-darkmode {
    background-color: #212121;
    color: #fff;
}

.data-lightmode {
    background-color: #EBEBEB;
    color: #000;
}

.production-orders-instance-data {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
}

.instanceInfo,
.info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: normal;
    width: 100%;
    padding: 0 0;
    border-radius: 0.3125rem;
}

.infoFour {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: normal;
    width: 98.5%;
    padding: 0 0;
    border-radius: 0.3125rem;
}

.additional {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: normal;
    width: 100%;
    padding: 0rem 0.625rem;
    border-radius: 0.3125rem;
}

div#client {
    padding-left: 2.9em;
}

.area-title {
    letter-spacing: 5%;
    font: 400 0.875rem/1.875rem Overpass, sans-serif;
}

.h3-darkmode {
    color: #fff;
}

.h3-lightmode {
    color: #000;
}

.data#templateDescription,

.data#templateNotes,
.data#notes {
    align-self: stretch;
}

.templateDescription,
.templateNotes,
.notes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
    padding: 0.625rem 1.875rem 0.625rem 1.25rem;
    padding-top: 0rem;
}
</style>