* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

body, html {
    font-family: "Roboto",serif;
    font-size: 16px;
    background: #fff;
    line-height: 1.5;
}

.header {
    display: flex;
    background: #fff;
    padding: 15px 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
}
    .header .logo {
        font-size: 32px;
        font-weight: bold;
        color: #0034BB;
    }
    .header .search {
        position: relative;
    }
    .header .search .icon {
        position: absolute;
        top: 5px;
        left: 5px;
    }
        .header .search .icon img {
            width: 24px;
            height: 24px;
            object-fit: cover;
        }
        .header .search .form-control {
            padding: 8px 10px;
            border-radius: 8px;
            font-size: 1rem;
            width: 100%;
            background: rgba(0, 52, 187, 0.06);
            border: 1px solid transparent;
            color: #2B2B2B;
            padding-left: 40px;
            outline: 0px;
        }
            .header .search .form-control:focus {
                background: #fff;
                border-color: #0034BB;
            }
            .header .search .form-control::placeholder {
                color: rgba(0, 52, 187, 0.5);
            }

.main-content {

    padding: 0px 0px;

}

.invoice-container {
    max-width: 90%;
    margin: auto;
    padding: 3rem;
    background: #fff;
}
  .invoice-container .top {
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between; }
    .invoice-container .top .top-left {
      color: #0034BB; }
    .invoice-container .top .main {
      font-size: 40px;
      text-transform: uppercase;
      font-weight: 500;
      display: block;
      margin-bottom: 0.5rem; }
    .invoice-container .top .code {
      font-size: 24px; }
    .invoice-container .top .date {
      font-size: 18px;
      color: #ADADAD;
      margin-bottom: 10px; }

.bill-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
  color: #ADADAD; }
  .bill-box .left, .bill-box .right {
    max-width: 240px; }
  .bill-box .text-m {
    font-size: 18px;
    margin-bottom: 1rem;
    text-transform: uppercase; }
  .bill-box .title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #2B2B2B; }

.table-bill table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0px;
    font-size: 1rem;
}

.table-bill th, .table-bill td {

  text-align: center;
  padding: 10px 10px;
  font-weight: 500; }

.table-bill td {
  padding: 15px 10px; }

.table-bill th {
  text-transform: uppercase;
  color: #0034BB;
  font-weight: 500; }

.table-bill .quantity {
  width: 100px; }

.table-bill .cost {
  text-align: right;
  white-space: nowrap; }

.table-bill .total {
  font-size: 24px;
  color: #0034BB; }
  .table-bill .total td {
    font-weight: normal;
    border-top: 1px solid #ececec; }
  .table-bill .total .number {
    text-align: right;
    font-weight: 600; }

.actions {
  text-align: center;
  margin-top: 4rem; }
  .actions .btn {
    margin: 3px;
    padding: 8px 10px;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    border: 0px;
    min-width: 130px;
    color: #0034BB;
    border-radius: 8px;
    background: rgba(0, 52, 187, 0.06);
    cursor: pointer; }
    .actions .btn:hover {
      background: rgba(0, 52, 187, 0.1); }

.note {
  text-align: center;
  margin-top: 1rem;
  font-size: 12px;
  color: #ADADAD; }



@media (max-width: 1320px) {
  body, html {
    font-size: 14px; }
  .invoice-container .top .date {
    font-size: 14px; }
  .invoice-container .top .main {
    font-size: 32px; }
  .invoice-container .top .code {
    font-size: 18px; }
  .bill-box .text-m {
    font-size: 14px; }
  .bill-box .title {
    font-size: 1.5rem; }
  .table-bill .total {
    font-size: 16px; } }


@media (max-width: 768px) {

  .invoice-container .top {
    display: block; }
    .invoice-container .top .top-left {
      margin-bottom: 1rem; }
  .bill-box {
    display: block; }
  .bill-box .left, .bill-box .right {
    max-width: 100%; }
  .table-bill table, .table-bill tbody, .table-bill tfoot, .table-bill td, .table-bill th, .table-bill tr {
    display: block; }
  .table-bill th {
    display: none; }
  .table-bill tbody tr {
    padding: 10px 0px;
    border-bottom: 1px solid #e5e5e5; }
    .table-bill tbody tr td:first-child {
      display: block; }
  .table-bill td {
    padding: 5px 0px; }
  .table-bill .cost {
    text-align: left; }
  .table-bill .total {
    margin-top: 20px; }
    .table-bill .total td {
      border-top: 0px; }
    .table-bill .total .number {
      text-align: left; }

    .table-bill td:before {

        content: attr(data-label);
        position: absolute;
        right: 0;
        width: 50%;
        padding-right: 15px;
        font-weight: 600;
        font-size: 14px;
        text-align: right;

    }

}

@media (max-width: 420px) {
  .actions .btn {
    width: 100%;
    margin: 5px 0px; }
  .header {
    display: block; } }
