Spaces:
Sleeping
Sleeping
| :root { | |
| --bg: #f5f5f5; | |
| --panel-bg: #ffffff; | |
| --text: #202124; | |
| --muted: #5f6368; | |
| --accent: #1a73e8; | |
| --danger: #c5221f; | |
| --border: #dadce0; | |
| --radius: 10px; | |
| --shadow: 0 10px 30px rgba(0, 0, 0, 0.08); | |
| font-family: "Segoe UI", Tahoma, sans-serif; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| } | |
| body { | |
| margin: 0; | |
| background: linear-gradient(180deg, #f7f9fc 0%, #eef1f6 100%); | |
| color: var(--text); | |
| } | |
| .container { | |
| max-width: 980px; | |
| margin: 0 auto; | |
| padding: 40px 20px 64px; | |
| } | |
| h1 { | |
| text-align: center; | |
| font-size: 32px; | |
| margin-bottom: 32px; | |
| } | |
| .panel { | |
| background: var(--panel-bg); | |
| border-radius: var(--radius); | |
| box-shadow: var(--shadow); | |
| padding: 28px 32px; | |
| margin-bottom: 32px; | |
| border: 1px solid rgba(32, 33, 36, 0.08); | |
| } | |
| .panel h2 { | |
| margin-top: 0; | |
| } | |
| .hidden { | |
| display: none; | |
| } | |
| .form { | |
| display: grid; | |
| gap: 20px; | |
| } | |
| .field-grid { | |
| display: grid; | |
| gap: 18px 24px; | |
| grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); | |
| } | |
| label { | |
| display: grid; | |
| gap: 8px; | |
| font-weight: 600; | |
| font-size: 15px; | |
| } | |
| input, | |
| textarea, | |
| select { | |
| padding: 12px 14px; | |
| border-radius: 8px; | |
| border: 1px solid var(--border); | |
| font-size: 15px; | |
| background: #fbfbff; | |
| } | |
| input:focus, | |
| textarea:focus, | |
| select:focus { | |
| outline: 2px solid rgba(26, 115, 232, 0.35); | |
| outline-offset: 1px; | |
| border-color: var(--accent); | |
| background: #ffffff; | |
| } | |
| textarea { | |
| resize: vertical; | |
| min-height: 96px; | |
| } | |
| button { | |
| padding: 12px 20px; | |
| border-radius: 8px; | |
| border: none; | |
| font-size: 15px; | |
| font-weight: 600; | |
| background: var(--accent); | |
| color: white; | |
| cursor: pointer; | |
| transition: background 0.2s ease; | |
| } | |
| button:hover { | |
| background: #0f5ec4; | |
| } | |
| button:disabled { | |
| opacity: 0.6; | |
| cursor: not-allowed; | |
| } | |
| .link-button { | |
| background: none; | |
| color: var(--accent); | |
| padding: 0; | |
| } | |
| .link-button:hover { | |
| color: #0f5ec4; | |
| background: none; | |
| } | |
| .hint { | |
| color: var(--muted); | |
| font-size: 13px; | |
| margin: 0; | |
| } | |
| .feedback { | |
| color: var(--muted); | |
| min-height: 20px; | |
| font-size: 14px; | |
| } | |
| .feedback.error { | |
| color: var(--danger); | |
| } | |
| .feedback.success { | |
| color: #188038; | |
| } | |
| .invoice-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 24px; | |
| } | |
| .business-section { | |
| border: 1px solid rgba(32, 33, 36, 0.08); | |
| border-radius: var(--radius); | |
| padding: 20px 24px; | |
| background: #fbfcff; | |
| margin-bottom: 24px; | |
| } | |
| .business-section-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 12px; | |
| } | |
| .business-display { | |
| display: grid; | |
| gap: 6px; | |
| font-size: 15px; | |
| line-height: 1.4; | |
| } | |
| .business-display strong { | |
| font-weight: 600; | |
| } | |
| .form-actions { | |
| display: flex; | |
| align-items: center; | |
| gap: 16px; | |
| } | |
| .items-section { | |
| border: 1px solid rgba(32, 33, 36, 0.08); | |
| border-radius: var(--radius); | |
| padding: 20px 24px; | |
| background: #ffffff; | |
| display: grid; | |
| gap: 18px; | |
| } | |
| .items-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .items-table-wrapper { | |
| overflow-x: auto; | |
| } | |
| .items-table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| font-size: 14px; | |
| } | |
| .items-table th, | |
| .items-table td { | |
| border: 1px solid var(--border); | |
| padding: 10px 12px; | |
| text-align: left; | |
| } | |
| .items-table th { | |
| background: #f1f3f7; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.02em; | |
| } | |
| .items-table input, | |
| .items-table select { | |
| width: 100%; | |
| padding: 8px 10px; | |
| border-radius: 6px; | |
| border: 1px solid var(--border); | |
| background: #ffffff; | |
| } | |
| .items-table .remove-item { | |
| color: var(--danger); | |
| background: none; | |
| padding: 0; | |
| } | |
| .items-table .remove-item:hover { | |
| text-decoration: underline; | |
| } | |
| .totals { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 16px; | |
| font-weight: 600; | |
| margin-top: 8px; | |
| padding: 12px 16px; | |
| border-radius: 8px; | |
| background: #f7f9ff; | |
| } | |
| .rate-summary { | |
| display: grid; | |
| gap: 10px; | |
| margin-top: 8px; | |
| } | |
| .rate-summary-item { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 12px; | |
| font-weight: 600; | |
| padding: 8px 12px; | |
| border: 1px dashed rgba(26, 115, 232, 0.25); | |
| border-radius: 6px; | |
| background: #ffffff; | |
| } | |
| .invoice-preview { | |
| display: grid; | |
| gap: 24px; | |
| } | |
| .invoice-preview-meta { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 24px; | |
| font-size: 14px; | |
| } | |
| .invoice-preview-meta span { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| } | |
| .invoice-preview-header { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 24px; | |
| } | |
| .invoice-preview-card { | |
| flex: 1 1 280px; | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 16px 20px; | |
| background: #f9fafc; | |
| } | |
| .invoice-preview-card h4 { | |
| margin: 0 0 12px; | |
| font-size: 14px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .invoice-preview-card p { | |
| margin: 4px 0; | |
| font-size: 14px; | |
| } | |
| .invoice-preview table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| font-size: 14px; | |
| } | |
| .invoice-preview th, | |
| .invoice-preview td { | |
| border: 1px solid var(--border); | |
| padding: 10px 12px; | |
| text-align: left; | |
| } | |
| .invoice-preview th { | |
| background: #f1f3f7; | |
| font-weight: 600; | |
| } | |
| .invoice-preview-summary { | |
| display: flex; | |
| justify-content: flex-end; | |
| flex-wrap: wrap; | |
| gap: 16px; | |
| font-weight: 600; | |
| font-size: 15px; | |
| } | |
| .invoice-preview-note { | |
| padding: 12px 16px; | |
| border-left: 3px solid var(--accent); | |
| background: #f4f8ff; | |
| font-size: 14px; | |
| } | |
| @media (max-width: 640px) { | |
| .panel { | |
| padding: 20px; | |
| } | |
| .invoice-header { | |
| flex-direction: column; | |
| gap: 12px; | |
| align-items: flex-start; | |
| } | |
| .business-section, | |
| .items-section { | |
| padding: 16px; | |
| } | |
| } | |