JSFiddle - React, Tailwind, and code Playground
by artgas_pro
HTML
<!DOCTYPE html>
<html lang="uk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Інвойс TLR-20-17 — Відображення звірки</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
/* Базові стилі та скидання */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Inter', sans-serif;
background-color: #f8fafc;
color: #334155;
padding: 1.5rem;
min-height: 100vh;
line-height: 1.5;
}
/* Контейнер картки */
.invoice-card {
max-width: 1400px;
margin: 0 auto;
background-color: #ffffff;
padding: 1.5rem;
border-radius: 0.75rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
border: 1px solid rgba(226, 232, 240, 0.8);
}
/* Заголовок та мета-дані */
.invoice-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid #f1f5f9;
}
.header-subtitle {
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.05em;
color: #4f46e5;
text-transform: uppercase;
}
.header-title {
font-size: 1.5rem;
font-weight: 800;
color: #1e293b;
margin-top: 0.25rem;
}
.status-wrapper {
display: flex;
align-items: center;
gap: 0.75rem;
}
.status-label {
font-size: 0.75rem;
...