Files

900 lines
14 KiB
CSS

@import 'tailwindcss';
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../views/**/*.blade.php';
@theme {
--font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji';
}
:root {
--bg: #f4f7fb;
--panel: #ffffff;
--ink: #172033;
--muted: #687184;
--line: #dde4ef;
--soft: #eef3f8;
--brand: #156f73;
--brand-dark: #0d5558;
--accent: #f1b544;
--danger: #bf3d3d;
--ok: #2f8756;
--shadow: 0 18px 40px rgba(31, 49, 78, 0.12);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
overflow-x: hidden;
background: var(--bg);
color: var(--ink);
}
input,
select,
textarea,
button {
font: inherit;
}
.app-shell {
display: grid;
min-height: 100vh;
grid-template-columns: 248px minmax(0, 1fr);
}
.app-sidebar {
display: flex;
flex-direction: column;
gap: 24px;
background: #102a35;
color: #e9f4f5;
padding: 22px 18px;
}
.app-brand {
display: flex;
align-items: center;
gap: 12px;
color: #ffffff;
font-size: 18px;
font-weight: 760;
text-decoration: none;
}
.app-brand-mark {
display: grid;
width: 36px;
height: 36px;
place-items: center;
border-radius: 8px;
background: var(--accent);
color: #102a35;
font-weight: 820;
}
.app-nav {
display: grid;
gap: 6px;
}
.app-nav-link,
.app-nav-button {
display: flex;
min-height: 42px;
align-items: center;
gap: 12px;
border: 0;
border-radius: 8px;
background: transparent;
color: #c7dadd;
padding: 0 12px;
text-align: left;
text-decoration: none;
}
.app-nav-link:hover,
.app-nav-button:hover,
.app-nav-link.active {
background: #1b4655;
color: #ffffff;
}
.app-nav-ico {
width: 22px;
color: var(--accent);
text-align: center;
}
.sync-card {
margin-top: auto;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 8px;
background: rgba(255, 255, 255, 0.06);
padding: 14px;
}
.sync-card strong {
display: block;
margin-bottom: 4px;
font-size: 13px;
}
.sync-card span {
display: block;
color: #b8ccd0;
font-size: 12px;
line-height: 1.4;
}
.sync-logout {
margin-top: 10px;
width: 100%;
}
.app-main {
min-width: 0;
padding: 24px;
}
.page-wrap {
display: grid;
max-width: 1100px;
gap: 18px;
}
.page-wrap.wide {
max-width: 1280px;
}
.page-wrap.narrow {
max-width: 760px;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 20px;
}
.title h1,
.page-title {
margin: 0;
color: var(--ink);
font-size: 28px;
font-weight: 700;
line-height: 1.15;
letter-spacing: 0;
}
.title p,
.page-subtitle {
margin: 6px 0 0;
color: var(--muted);
font-size: 14px;
}
.actions {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: 10px;
}
.panel {
min-width: 0;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--panel);
box-shadow: var(--shadow);
}
.panel.flush {
overflow: visible;
}
.composer-panel {
overflow: visible;
}
.panel-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
border-bottom: 1px solid var(--line);
padding: 18px 18px 12px;
}
.panel-header h2,
.panel-title {
margin: 0;
color: var(--ink);
font-size: 17px;
font-weight: 700;
letter-spacing: 0;
}
.panel-body {
padding: 18px;
}
.stack {
display: grid;
gap: 18px;
}
.stack-sm {
display: grid;
gap: 12px;
}
.content-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 22rem;
gap: 18px;
align-items: start;
}
.two-col {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.stats-grid.five {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.stats-grid.three {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stat-card {
border: 1px solid var(--line);
border-radius: 8px;
background: #fbfcfe;
padding: 16px;
}
.stat-card span {
display: block;
color: var(--muted);
font-size: 13px;
font-weight: 650;
}
.stat-card strong {
display: block;
margin-top: 8px;
color: var(--ink);
font-size: 27px;
line-height: 1;
}
.form-grid {
display: grid;
gap: 14px;
}
.form-grid.cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid.cols-3 {
grid-template-columns: minmax(0, 1fr) 14rem auto;
align-items: end;
}
.form-grid.search-grid {
grid-template-columns: minmax(0, 1fr) auto;
align-items: end;
}
.form-grid.filters-grid {
grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
align-items: end;
}
.form-grid.contact-filters-grid {
grid-template-columns: minmax(14rem, 1.4fr) minmax(11rem, 1fr) minmax(11rem, 1fr) minmax(10rem, 0.8fr) auto;
align-items: end;
}
.field {
display: grid;
gap: 8px;
}
.field label,
.field-label {
color: #374053;
font-size: 13px;
font-weight: 700;
}
.input,
.select,
.textarea {
width: 100%;
border: 1px solid var(--line);
border-radius: 8px;
background: #fbfcfe;
color: var(--ink);
outline: none;
padding: 10px 12px;
}
.textarea {
min-height: 140px;
resize: vertical;
line-height: 1.5;
}
.textarea.compact {
min-height: 96px;
}
.input:focus,
.select:focus,
.textarea:focus {
border-color: var(--brand);
box-shadow: 0 0 0 3px rgba(21, 111, 115, 0.16);
}
.primary,
.secondary,
.danger,
.icon-button {
display: inline-flex;
min-height: 40px;
align-items: center;
justify-content: center;
gap: 8px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--panel);
color: var(--ink);
padding: 0 14px;
font-weight: 650;
text-decoration: none;
white-space: nowrap;
}
.primary {
border-color: var(--brand);
background: var(--brand);
color: #ffffff;
font-weight: 720;
}
.primary:hover {
background: var(--brand-dark);
}
.secondary {
background: #ffffff;
}
.secondary:hover {
background: var(--soft);
}
.danger {
border-color: #efb1b1;
color: var(--danger);
}
.danger:hover {
background: #fff1f1;
}
.icon-button {
width: 40px;
padding: 0;
}
.tabs {
display: flex;
gap: 4px;
border-radius: 8px;
background: var(--soft);
padding: 4px;
}
.tabs span,
.tabs a {
border-radius: 6px;
color: var(--muted);
font-size: 13px;
padding: 7px 10px;
text-decoration: none;
}
.tabs span.active,
.tabs a.active {
background: #ffffff;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
color: var(--ink);
}
.badge,
.pill {
display: inline-flex;
min-height: 24px;
align-items: center;
border-radius: 999px;
background: #e7f3f0;
color: var(--ok);
font-size: 12px;
font-weight: 700;
padding: 0 9px;
white-space: nowrap;
}
.badge.pending,
.pill.warn {
background: #fff1d2;
color: #76530b;
}
.badge.error,
.pill.error {
background: #ffe8e8;
color: var(--danger);
}
.summary-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
border: 1px solid var(--line);
border-radius: 8px;
background: #fbfcfe;
padding: 11px;
}
.message-options {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.check-option {
display: inline-flex;
min-height: 38px;
align-items: center;
gap: 8px;
border: 1px solid var(--line);
border-radius: 8px;
background: #fbfcfe;
color: #374053;
font-size: 13px;
font-weight: 700;
padding: 0 12px;
}
.message-preview {
border: 1px solid var(--line);
border-radius: 8px;
background: #fbfcfe;
padding: 12px;
}
.message-preview strong {
display: block;
margin-bottom: 8px;
color: #374053;
font-size: 13px;
}
.message-preview pre {
min-height: 44px;
margin: 0;
color: var(--ink);
font: inherit;
line-height: 1.45;
overflow-wrap: anywhere;
white-space: pre-wrap;
}
.favorite-row {
border-color: #f1d38a;
background: #fffaf0;
}
.favorite-star {
color: var(--accent);
font-size: 14px;
line-height: 1;
}
.recipient-composer {
position: relative;
}
.recipient-chipbox {
display: flex;
min-height: 48px;
align-items: center;
flex-wrap: wrap;
gap: 8px;
border: 1px solid var(--line);
border-radius: 8px;
background: #fbfcfe;
padding: 7px;
}
.recipient-chipbox:focus-within {
border-color: var(--brand);
box-shadow: 0 0 0 3px rgba(21, 111, 115, 0.16);
}
.recipient-chip {
display: inline-flex;
max-width: 100%;
min-height: 30px;
align-items: center;
gap: 7px;
overflow: hidden;
border-radius: 999px;
background: #e7f3f0;
color: #164f4d;
font-size: 13px;
font-weight: 670;
padding: 0 8px 0 10px;
white-space: nowrap;
}
.recipient-chip.group {
background: #fff1d2;
color: #6c4b05;
}
.recipient-chip.favorite {
box-shadow: inset 0 0 0 1px #f1b544;
}
.recipient-chip span {
overflow: hidden;
text-overflow: ellipsis;
}
.recipient-chip button {
display: grid;
width: 20px;
height: 20px;
place-items: center;
border: 0;
border-radius: 50%;
background: rgba(0, 0, 0, 0.08);
color: inherit;
padding: 0;
}
.recipient-input {
min-width: 220px;
flex: 1;
border: 0;
background: transparent;
color: var(--ink);
outline: none;
padding: 7px;
}
.recipient-results {
position: absolute;
z-index: 20;
right: 0;
left: 0;
margin-top: 6px;
max-height: 60vh;
overflow-y: auto;
border: 1px solid var(--line);
border-radius: 8px;
background: #ffffff;
box-shadow: var(--shadow);
}
.recipient-result {
display: grid;
width: 100%;
grid-template-columns: minmax(0, 1fr) auto;
gap: 8px;
border: 0;
border-bottom: 1px solid var(--line);
background: #ffffff;
color: var(--ink);
padding: 11px 12px;
text-align: left;
}
.recipient-result:last-child {
border-bottom: 0;
}
.recipient-result:hover,
.recipient-result.active {
background: #fbfcfe;
}
.recipient-result strong,
.recipient-result span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.recipient-result small {
color: var(--muted);
font-size: 12px;
}
.inline-badges {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.check-row {
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
}
.final-recipient-row {
grid-template-columns: minmax(0, 1fr) 10rem;
align-items: center;
}
.flex-fill {
flex: 1;
}
.h-offset {
margin-top: 10px;
}
.mt-sm {
margin-top: 4px;
}
.mt-md {
margin-top: 14px;
}
.nowrap-actions {
flex-wrap: nowrap;
}
.item-title {
display: block;
font-weight: 650;
}
.item-line {
display: flex;
align-items: center;
gap: 8px;
}
.item-meta {
display: block;
color: var(--muted);
font-size: 13px;
}
.text-small {
font-size: 13px;
}
.text-strong {
font-weight: 650;
}
.text-section {
font-size: 13px;
font-weight: 700;
}
.message-text {
white-space: pre-line;
font-size: 14px;
}
.audit-list {
font-size: 14px;
}
.audit-term {
color: var(--muted);
font-weight: 650;
}
.audit-value {
margin-top: 4px;
}
.table-wrap {
overflow-x: auto;
}
.data-table {
width: 100%;
border-collapse: collapse;
}
.data-table th,
.data-table td {
border-bottom: 1px solid var(--line);
padding: 13px 16px;
text-align: left;
vertical-align: middle;
font-size: 13px;
}
.data-table th {
background: #fbfcfe;
color: var(--muted);
font-weight: 720;
}
.data-table tr:last-child td {
border-bottom: 0;
}
.list-row {
display: grid;
gap: 12px;
border-bottom: 1px solid var(--line);
color: inherit;
padding: 14px 16px;
text-decoration: none;
}
.list-row:hover {
background: #fbfcfe;
}
.list-row:last-child {
border-bottom: 0;
}
.muted {
color: var(--muted);
}
.truncate {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.empty-state {
padding: 34px 18px;
text-align: center;
color: var(--muted);
font-size: 14px;
}
.notice {
border: 1px solid #b8ded7;
border-radius: 8px;
background: #e7f3f0;
color: #164f4d;
padding: 10px 12px;
font-size: 14px;
font-weight: 650;
}
.flash {
margin-bottom: 18px;
}
.notice.error {
border-color: #efb1b1;
background: #ffe8e8;
color: var(--danger);
}
.link {
color: var(--brand);
font-size: 14px;
font-weight: 650;
text-decoration: none;
}
.link:hover {
color: var(--brand-dark);
}
@media (max-width: 1080px) {
.app-shell {
grid-template-columns: 1fr;
}
.app-sidebar {
position: static;
}
.app-nav {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.sync-card {
margin-top: 0;
}
.content-grid,
.two-col {
grid-template-columns: 1fr;
}
.stats-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stats-grid.five,
.stats-grid.three,
.form-grid.contact-filters-grid,
.form-grid.filters-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 680px) {
.app-main {
padding: 16px;
}
.topbar,
.panel-header {
align-items: stretch;
flex-direction: column;
}
.actions,
.primary,
.secondary,
.danger {
width: 100%;
}
.actions {
display: grid;
grid-template-columns: 1fr;
}
.app-nav,
.form-grid.cols-2,
.form-grid.cols-3,
.form-grid.search-grid,
.form-grid.contact-filters-grid,
.form-grid.filters-grid,
.stats-grid.five,
.stats-grid.three,
.stats-grid {
grid-template-columns: 1fr;
}
.data-table {
min-width: 620px;
}
}