.root { border-radius: 5px; background-color: #fff; color: #111; box-shadow: inset 0 4px 0px 0 var(--invoice-primary-color), 0 10px 15px rgba(0, 0, 0, 0.05); padding: 30px 30px; font-size: 12px; position: relative; margin: 0 auto; width: 794px; height: 1123px; } .bigTitle{ font-size: 30px; margin: 0; line-height: 1; font-weight: 500; color: #333; } .details { display: flex; flex-direction: column; gap: 4px; } .detail { display: flex; flex-direction: row; gap: 12px; } .detailLabel { min-width: 120px; color: #333; } .addressRoot{ > div{ flex: 1; } } .table { width: 100%; border-collapse: collapse; text-align: left; thead th{ font-weight: 400; border-bottom: 1px solid #000; padding: 2px 10px; color: #333; &.rate, &.total{ text-align: right; } &:first-of-type{ padding-left: 0; } &:last-of-type{ padding-right: 0; } } tbody{ td{ border-bottom: 1px solid #F6F6F6; padding: 12px 10px; &:first-of-type{ padding-left: 0; } &:last-of-type{ padding-right: 0; } &.rate, &.total{ text-align: right; } } } } .totals{ display: flex; flex-direction: column; margin-left: auto; width: 300px; } .totalsItem{ display: flex; padding: 4px 0; } .totalsItemLabel{ min-width: 160px; } .totalsItemAmount{ flex: 1 1 auto; text-align: right; } .totalBottomBordered { border-bottom: 1px solid #000; } .totalBottomGrayBordered { border-bottom: 1px solid #DADADA; } .logoWrap{ overflow: hidden; img{ width: 100%; height: 100%; max-width: 260px; max-height: 100px; } } .logoImg { height: auto; width: auto; max-width: 400px; max-height: 160px; } .footer{ } .paragraph{ margin-bottom: 20px; } .paragraphLabel{ color: #666; }