/* Card */ .card { background-color: var(--color-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--spacing-lg); margin-bottom: var(--spacing-lg); border: 1px solid var(--color-border); transition: border-color var(--transition-normal); } .card h2 { margin-top: 0; } /* Feed header styling */ .feed-header { margin-bottom: var(--spacing-md); } .feed-title { font-size: var(--font-size-xl); margin-bottom: var(--spacing-xs); color: var(--color-text-primary); } /* Per-feed favicon (list + table views) */ .feed-icon { width: 20px; height: 20px; border-radius: 4px; object-fit: contain; vertical-align: middle; flex-shrink: 0; } .feed-title .feed-icon { margin-right: var(--spacing-xs); } .feed-title-cell { display: flex; align-items: flex-start; gap: var(--spacing-sm); } .feed-description { font-size: var(--font-size-md); color: var(--color-text-secondary); margin-top: 0; margin-bottom: var(--spacing-sm); } .feed-description.empty { color: var(--color-text-tertiary); font-style: italic; } /* In-place editing styles */ input.feed-title-edit, .feed-title-edit { width: 100%; font-size: var(--font-size-xl) !important; font-weight: var(--font-weight-bold); margin-bottom: var(--spacing-xs); padding: 4px 6px !important; background-color: transparent !important; border: 1px solid var(--color-border); color: var(--color-text-primary); border-radius: var(--radius-sm); } textarea.feed-description-edit, .feed-description-edit { width: 100%; font-size: var(--font-size-md) !important; margin-bottom: var(--spacing-sm); padding: 4px 6px !important; min-height: 60px; background-color: transparent !important; border: 1px solid var(--color-border); color: var(--color-text-secondary); font-family: var(--font-family); border-radius: var(--radius-sm); } .hidden { display: none !important; } /* Success button styles */ .button-success { background-color: var(--color-primary); color: var(--color-text-on-primary); border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.5s ease; } .button-success:hover, .button-success:focus { opacity: 0.88; } .button-success.saved { background-color: var(--color-success); transition: all 0.5s ease; } .button-success.saved:hover { background-color: var(--color-success); } /* Button container */ .feed-buttons { display: flex; justify-content: space-between; gap: var(--spacing-sm); } .feed-buttons-left { display: flex; gap: var(--spacing-sm); } .feed-buttons-left .button { width: 140px; justify-content: center; box-sizing: border-box; } .feed-buttons-left a.button { width: 140px; box-sizing: border-box; text-align: center; } .feed-buttons-right { margin-left: auto; } /* Button — primary orange */ .button { display: inline-flex; align-items: center; justify-content: center; position: relative; height: 40px; padding: 0 var(--spacing-lg); border-radius: var(--radius-md); font-size: var(--font-size-sm); font-weight: var(--font-weight-semibold); font-family: var(--font-family); text-decoration: none; cursor: pointer; transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast); white-space: nowrap; letter-spacing: -0.01em; background-color: var(--color-primary); border: 1px solid transparent; box-shadow: var(--shadow-sm); color: var(--color-text-on-primary); } .button:hover, .button:focus { opacity: 0.88; transform: translateY(-1px); box-shadow: var(--shadow-md); } .button:active { transform: translateY(0); opacity: 1; box-shadow: var(--shadow-sm); } .button-secondary { background-color: transparent; border: 1px solid var(--color-border); color: var(--color-text-primary); } @media (prefers-color-scheme: light) { .button-secondary { background-color: rgba(0, 0, 0, 0.04); } } .button-secondary:hover, .button-secondary:focus { background-color: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); } @media (prefers-color-scheme: light) { .button-secondary:hover, .button-secondary:focus { background-color: rgba(0, 0, 0, 0.08); border-color: rgba(0, 0, 0, 0.16); } } /* Logout button — same orange family */ .button-logout { background-color: transparent; border: 1px solid var(--color-border); color: var(--color-text-secondary); } .button-logout:hover, .button-logout:focus { color: var(--color-primary); border-color: var(--color-primary); } /* Back button */ .button-back { display: inline-flex; align-items: center; padding-left: var(--spacing-md); margin-bottom: var(--spacing-md); } .button-back:before { content: "←"; margin-right: var(--spacing-sm); font-size: var(--font-size-lg); } .button-danger { background-color: var(--color-danger); color: var(--color-text-on-primary); border-color: transparent; } .button-danger:hover, .button-danger:focus { background-color: var(--color-danger); opacity: 0.85; } /* Small button */ .button-small { height: 32px; padding: 0 var(--spacing-md); font-size: var(--font-size-xs); } /* Form Elements */ .form-group { margin-bottom: var(--spacing-lg); } label { display: block; font-size: var(--font-size-sm); font-weight: var(--font-weight-semibold); margin-bottom: var(--spacing-xs); color: var(--color-text-secondary); } input[type="text"], input[type="email"], input[type="search"], input[type="password"], textarea { display: block; width: 100%; padding: var(--spacing-md); font-size: var(--font-size-md); font-family: var(--font-family); border-radius: var(--radius-md); border: 1px solid var(--color-border); background-color: rgba(255, 255, 255, 0.04); color: var(--color-text-primary); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); box-sizing: border-box; } @media (prefers-color-scheme: light) { input[type="text"], input[type="email"], input[type="search"], input[type="password"], textarea { background-color: rgba(0, 0, 0, 0.03); border-color: rgba(0, 0, 0, 0.14); } } input[type="search"] { -webkit-appearance: none; appearance: none; } input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-results-button, input[type="search"]::-webkit-search-results-decoration { -webkit-appearance: none; } input:focus, textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(246, 130, 31, 0.2); } /* Modal */ .modal-bg { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(var(--blur-md)); -webkit-backdrop-filter: blur(var(--blur-md)); justify-content: center; align-items: center; z-index: 1000; opacity: 0; transition: opacity var(--transition-normal); } .modal-bg.visible { display: flex; opacity: 1; } .modal { background-color: var(--color-card); padding: var(--spacing-xl); border-radius: var(--radius-lg); max-width: 90%; width: 500px; box-shadow: var(--shadow-xl); transform: scale(0.98); opacity: 0; transition: all var(--transition-normal); border: 1px solid var(--color-border); } .modal-bg.visible .modal { transform: scale(1); opacity: 1; } .modal-header { margin-bottom: var(--spacing-lg); } .modal-buttons { display: flex; justify-content: flex-end; gap: var(--spacing-md); margin-top: var(--spacing-xl); } /* Toggle/Switch */ .toggle-switch { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--spacing-md); } .toggle-switch input[type="checkbox"] { height: 0; width: 0; visibility: hidden; position: absolute; } .toggle-switch label { cursor: pointer; width: 50px; height: 28px; background: var(--color-text-tertiary); display: block; border-radius: 100px; position: relative; transition: background-color var(--transition-fast); } .toggle-switch label:after { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; background: var(--color-text-on-primary); border-radius: 90px; transition: transform var(--transition-fast); box-shadow: var(--shadow-sm); } .toggle-switch input:checked + label { background: var(--color-primary); } .toggle-switch input:checked + label:after { transform: translateX(22px); } /* Email Content Iframe */ .email-iframe-container { width: 100%; overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--color-border); background-color: #ffffff; } .email-iframe { width: 100%; height: 500px; border: none; background-color: #ffffff; transition: height 0.3s ease; } @media (prefers-color-scheme: dark) { .email-iframe-container { background-color: #1c1c1e; border-color: #2a2a2a; } .email-iframe { background-color: #1c1c1e; } } /* Email Raw View */ .email-raw { padding: var(--spacing-md); background-color: #111111; border-radius: var(--radius-md); border: 1px solid var(--color-border); overflow: auto; max-height: 500px; } @media (prefers-color-scheme: light) { .email-raw { background-color: rgba(240, 240, 245, 0.9); } } .email-raw pre { margin: 0; font-family: var(--font-family-mono); font-size: 14px; white-space: pre-wrap; word-break: break-word; } /* Email Metadata */ .email-meta { margin-bottom: var(--spacing-md); padding-bottom: var(--spacing-md); border-bottom: 1px solid var(--color-border); } .email-meta h2 { margin-top: 0; margin-bottom: var(--spacing-md); font-size: var(--font-size-xl); color: var(--color-text-primary); } .email-metadata-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, auto); gap: var(--spacing-sm); } @media (min-width: 640px) { .email-metadata-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, auto); } } /* Toggle buttons for email view */ .toggle-view { display: flex; gap: var(--spacing-xs); margin-bottom: var(--spacing-md); } .toggle-button { padding: var(--spacing-sm) var(--spacing-md); border-radius: var(--radius-md); background-color: transparent; border: 1px solid var(--color-border); color: var(--color-text-secondary); cursor: pointer; transition: all var(--transition-fast); font-size: var(--font-size-sm); font-weight: var(--font-weight-medium); font-family: var(--font-family); } .toggle-button:hover { color: var(--color-text-primary); border-color: rgba(255, 255, 255, 0.2); } .toggle-button.active { background-color: var(--color-primary); color: var(--color-text-on-primary); border-color: transparent; } /* Email content container */ .email-content { margin-top: var(--spacing-md); border-radius: var(--radius-md); overflow: hidden; } /* Toolbar */ .toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-sm); flex-wrap: wrap; margin-bottom: var(--spacing-md); } .toolbar-group { display: inline-flex; align-items: center; gap: var(--spacing-sm); flex-wrap: wrap; } .toolbar-group-fill { width: 100%; } input.search { min-width: 280px; flex: 1; height: 36px; border-radius: var(--radius-pill); padding: 0 14px; padding-left: 38px; background-color: rgba(255, 255, 255, 0.04); border: 1px solid var(--color-border); background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23555555'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='11'%20cy='11'%20r='7'/%3E%3Cpath%20d='M21%2021l-4.3-4.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 14px center; background-size: 16px 16px; } @media (prefers-color-scheme: light) { input.search { background-color: rgba(0, 0, 0, 0.03); } } input.search::placeholder { color: var(--color-text-tertiary); } .actions-row { display: flex; justify-content: flex-end; margin-top: var(--spacing-md); } .pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); border: 1px solid var(--color-border); background-color: transparent; color: var(--color-text-secondary); font-size: var(--font-size-xs); font-weight: var(--font-weight-medium); } .segmented { display: inline-flex; border-radius: var(--radius-pill); padding: 2px; border: 1px solid var(--color-border); background-color: transparent; box-shadow: var(--shadow-sm); } .segmented-item { display: inline-flex; align-items: center; justify-content: center; padding: 6px 14px; border-radius: var(--radius-pill); text-decoration: none; color: var(--color-text-secondary); font-size: var(--font-size-sm); font-weight: var(--font-weight-semibold); user-select: none; transition: all var(--transition-fast); } .segmented-item:hover { color: var(--color-text-primary); } .segmented-item.is-active { color: var(--color-text-primary); background-color: var(--color-primary); color: var(--color-text-on-primary); } /* Tables */ .table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); } table.table { width: 100%; border-collapse: collapse; } table.table.table-feeds { min-width: 860px; table-layout: fixed; } table.table.table-emails { min-width: 760px; table-layout: fixed; } table.table th, table.table td { padding: 10px 12px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; } /* Resizable headers */ th.th-resizable { position: relative; padding-right: 18px; } .th-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: none; background: transparent; color: inherit; font: inherit; cursor: pointer; user-select: none; } .th-button:hover { color: var(--color-text-primary); } .sort-indicator { width: 12px; height: 12px; display: inline-flex; align-items: center; justify-content: center; opacity: 0.75; font-size: 12px; } .col-resizer { position: absolute; top: 0; right: 0; width: 12px; height: 100%; cursor: col-resize; touch-action: none; } .col-resizer:after { content: ""; position: absolute; right: 5px; top: 24%; bottom: 24%; width: 1px; background: var(--color-border); opacity: 0.9; border-radius: 1px; } th.th-resizable:hover .col-resizer:after { background: rgba(255, 255, 255, 0.15); } @media (prefers-color-scheme: light) { th.th-resizable:hover .col-resizer:after { background: rgba(0, 0, 0, 0.15); } } body.is-resizing { cursor: col-resize; user-select: none; } table.table thead th { font-size: var(--font-size-xs); font-weight: var(--font-weight-semibold); letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-tertiary); background-color: rgba(255, 255, 255, 0.02); } @media (prefers-color-scheme: light) { table.table thead th { background-color: rgba(0, 0, 0, 0.02); color: var(--color-text-secondary); } } table.table tbody tr:hover { background-color: rgba(255, 255, 255, 0.03); } @media (prefers-color-scheme: light) { table.table tbody tr:hover { background-color: rgba(0, 0, 0, 0.02); } } table.table tbody tr:last-child td { border-bottom: none; } table.table code { font-family: var(--font-family-mono); font-size: 13px; } .truncate { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; } /* Compact copy-to-clipboard for table cells */ .copyable.copyable-inline { margin-bottom: 0; padding: 0; background-color: transparent; border: none; } .copyable.copyable-inline .copyable-content { padding: 6px 8px; border-radius: var(--radius-sm); width: 100%; } .copyable.copyable-inline .copyable-value { margin-right: var(--spacing-xs); word-break: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .row-actions { display: flex; gap: 6px; flex-wrap: wrap; } .button-delete { transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease; } .button-delete.is-confirming { background-color: rgba(255, 69, 58, 0.22); border-color: rgba(255, 69, 58, 0.65); color: #fff; box-shadow: 0 8px 20px rgba(255, 69, 58, 0.18); transform: translateY(-1px); } @media (prefers-color-scheme: light) { .button-delete.is-confirming { background-color: rgba(255, 69, 58, 0.12); color: var(--color-text-primary); } } .feed-row.is-removing, .email-row.is-removing { opacity: 0; transform: translateY(-6px); transition: opacity 200ms ease, transform 200ms ease; } .feed-item.is-removing { opacity: 0; transform: translateY(-6px); overflow: hidden; transition: opacity 220ms ease, transform 220ms ease, max-height 220ms ease, margin 220ms ease, padding 220ms ease; } /* Spinner */ @keyframes spin { to { transform: rotate(360deg); } } .spinner { width: 14px; height: 14px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: rgba(255, 255, 255, 0.9); display: inline-block; animation: spin 0.85s linear infinite; flex: 0 0 auto; } @media (prefers-color-scheme: light) { .spinner { border-color: rgba(0, 0, 0, 0.14); border-top-color: rgba(0, 0, 0, 0.5); } } .button.is-loading { pointer-events: none; } .button .spinner { margin-right: 8px; } /* Toasts */ .toast-stack { position: fixed; top: 18px; right: 18px; width: min(360px, calc(100vw - 36px)); display: flex; flex-direction: column; gap: 10px; z-index: 2000; } .toast { opacity: 0; transform: translateY(-8px); transition: opacity 180ms ease, transform 180ms ease; border-radius: var(--radius-lg); border: 1px solid var(--color-border); background-color: #1a1a1a; backdrop-filter: blur(var(--blur-md)); -webkit-backdrop-filter: blur(var(--blur-md)); box-shadow: var(--shadow-xl); padding: 12px 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: var(--color-text-primary); } @media (prefers-color-scheme: light) { .toast { background-color: rgba(255, 255, 255, 0.95); border-color: rgba(0, 0, 0, 0.1); box-shadow: var(--shadow-xl); } } .toast.visible { opacity: 1; transform: translateY(0); } .toast-body { display: flex; gap: 10px; align-items: flex-start; flex: 1; min-width: 0; } .toast-text { font-size: 14px; line-height: 1.35; color: var(--color-text-primary); word-break: break-word; flex: 1; min-width: 0; user-select: text; } .toast-close { appearance: none; border: none; background: transparent; color: var(--color-text-tertiary); font-size: 18px; line-height: 1; padding: 2px 6px; cursor: pointer; border-radius: var(--radius-sm); flex: 0 0 auto; } .toast-close:hover { background-color: rgba(255, 255, 255, 0.06); color: var(--color-text-secondary); } @media (prefers-color-scheme: light) { .toast-close:hover { background-color: rgba(0, 0, 0, 0.06); } } .toast-info { border-color: rgba(246, 130, 31, 0.35); } .toast-success { border-color: rgba(48, 209, 88, 0.35); } .toast-error { border-color: rgba(255, 69, 58, 0.35); } /* Validation badges */ .feed-validate { display: flex; gap: 0.5rem; margin-top: 1rem; } .feed-validate img { display: block; } /* Feed and Email Lists */ .feed-list, .email-list { list-style: none; padding: 0; margin: 0; } /* Feed TTL — expiry badges */ .pill-expiry { background-color: rgba(255, 159, 10, 0.15); color: var(--color-warning); border-color: rgba(255, 159, 10, 0.3); } .pill-expired { background-color: rgba(255, 69, 58, 0.15); color: var(--color-danger); border-color: rgba(255, 69, 58, 0.3); } /* Feed TTL — expired feed row */ .feed-expired .feed-header, .feed-expired td:not(:last-child) { opacity: 0.5; } /* Feed TTL — disabled-looking action buttons on expired feeds */ .button-disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; user-select: none; } /* Feed TTL — card states in edit form */ .card-warning { border-color: rgba(255, 159, 10, 0.4); background-color: rgba(255, 159, 10, 0.06); } .card-disabled { opacity: 0.6; pointer-events: none; } /* Status page — stat cards grid */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--spacing-md); margin-bottom: 0; } .stat-card { display: flex; flex-direction: column; gap: var(--spacing-xs); margin-bottom: 0; } .stat-value { font-size: 2rem; font-weight: 700; color: var(--color-primary); line-height: 1.1; } .stat-value-time { font-size: 1rem; font-weight: 600; color: var(--color-text-primary); } .stat-value-success { color: var(--color-success); } .stat-value-danger { color: var(--color-danger); } .stat-label { font-size: 0.85rem; color: var(--color-text-secondary); } /* Status page — hero featured metric */ .stat-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--spacing-lg); margin-bottom: var(--spacing-xl); } .stat-hero-main { display: flex; flex-direction: column; gap: var(--spacing-xs); } .stat-hero-value { font-size: 3.25rem; font-weight: var(--font-weight-bold); line-height: 1; color: var(--color-primary); } .stat-hero-label { font-size: var(--font-size-md); font-weight: var(--font-weight-medium); color: var(--color-text-secondary); } .stat-hero-aside { display: flex; flex-direction: column; gap: var(--spacing-xs); text-align: right; } .stat-hero-aside-value { font-size: var(--font-size-xxl); font-weight: var(--font-weight-semibold); line-height: 1; color: var(--color-success); } .stat-hero-aside-label { font-size: var(--font-size-sm); color: var(--color-text-secondary); } /* Status page — thematic sections */ .stat-section { margin-bottom: var(--spacing-xl); } .stat-section-title { font-size: var(--font-size-xs); font-weight: var(--font-weight-semibold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-tertiary); margin: 0 0 var(--spacing-md); } @media (max-width: 640px) { .stat-hero-aside { text-align: left; } .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-sm); } .stat-card { padding: var(--spacing-md); } .stat-value { font-size: 1.6rem; } .stat-value-time { font-size: 0.9rem; } }