<template>
  <section class="information">
    <h2 class="client-name">Client name</h2>
    <div class="data-field" id="client-id">
      <pre class="label">ID:</pre>
      <pre class="data">...</pre>
    </div>
    <div class="client-data">
      <div class="contact">
        <h3 class="area-title">Contact:</h3>
        <div class="data-field" id="contact-person">
          <pre class="label">Contact person:</pre>
          <pre class="data">...</pre>
        </div>
        <div class="data-field" id="e-mail">
          <pre class="label">E-Mail:</pre>
          <pre class="data">...</pre>
        </div>
        <div class="data-field" id="phone">
          <pre class="label">Phone number:</pre>
          <pre class="data">...</pre>
        </div>
      </div>
      <div class="address">
        <h3 class="area-title">Address:</h3>
        <div class="street-address">
          <div class="data-field" id="street-name">
            <pre class="label">Street:</pre>
            <pre class="data">...</pre>
          </div>
          <div class="data-field" id="street-no">
            <pre class="label">No.:</pre>
            <pre class="data">...</pre>
          </div>
        </div>
        <div class="data-field" id="postal-code">
          <pre class="label">Postcode:</pre>
          <pre class="data">...</pre>
        </div>
        <div class="data-field" id="city">
          <pre class="label">City:</pre>
          <pre class="data">...</pre>
        </div>
      </div>
    </div>
    <div class="notes">
      <h3 class="area-title">Notes:</h3>
      <pre class="data" id="notes">...</pre>
    </div>
  </section>
</template>
  
  
<script setup>
import { ref } from 'vue';
</script>

<script>
export default {
  name: "Client",
};
</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);
  background-color: #2c2c2c;
}


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

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

.data-field#client-id {
  padding: 0.625rem 1.875rem;
}

.data-field#street-name {
  width: 70%;
}

.data-field#street-no {
  width: 30%;
}

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

.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;
  background-color: #212121;
  color: #fff;
  letter-spacing: 5%;
  font: 400 0.75rem/250% Overpass, sans-serif;
}

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

.client-data {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  padding: 0 0.625rem;
}

.contact,
.address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: normal;
  width: 50%;
  padding: 1.25rem 0.625rem;
  border-radius: 0.3125rem;
}

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

.street-address {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  padding: 0 1.875rem 0 0;
  gap: 0.625rem;
}

.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;
}</style>