﻿/* Licenses & Plans only: retain the existing form and record controls. */
#licensesPanel { min-width: 0; }
#licensesPanel > .data-card { min-width: 0; background: #101827; color: #f5f1e8; border: 1px solid #806a2d; border-radius: 14px; padding: 20px; }
#licensesPanel .section-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
#licensesPanel .section-title p { color: #d5d8dd; margin: 0; }
#licensesPanel .section-title .search { width: min(100%, 300px); }
#licensesPanel .cc-license-issue { background: #17243b; border: 1px solid #d4af37; border-radius: 12px; padding: 20px; margin: 0 0 20px; }
#licensesPanel .cc-license-issue h3 { color: #f5d778; margin: 0 0 16px; }
#licensesPanel #licenseIssueForm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; }
#licensesPanel #licenseIssueForm label { display: flex; flex-direction: column; min-width: 0; gap: 7px; color: #f5f1e8; font-weight: 600; }
#licensesPanel input, #licensesPanel select { box-sizing: border-box; min-width: 0; min-height: 42px; padding: 9px 11px; background: #101827; color: #f5f1e8; border: 1px solid #b99a3a; border-radius: 7px; color-scheme: dark; }
#licensesPanel input::placeholder { color: #b9c0ca; opacity: 1; }
#licensesPanel input:focus-visible, #licensesPanel select:focus-visible, #licensesPanel button:focus-visible { outline: 3px solid #f5d778; outline-offset: 2px; }
#licensesPanel #licenseIssueForm .cc-action-row { grid-column: 1 / -1; margin: 2px 0 0; display: flex; justify-content: flex-start; }
#licensesPanel #licenseIssueSubmit { min-height: 42px; padding: 10px 22px; background: #d4af37; color: #101827; border: 1px solid #f5d778; border-radius: 7px; font-weight: 700; cursor: pointer; }
#licensesPanel #licenseIssueSubmit:hover:not(:disabled) { background: #f5d778; }
#licensesPanel #licenseIssueSubmit:disabled { opacity: .65; cursor: wait; }
#licensesPanel #licenseCreateMessage { margin-top: 16px; padding: 12px 14px; background: #101d30; color: #f5f1e8; border: 1px solid #53647c; border-left: 3px solid #d4af37; border-radius: 7px; overflow-wrap: anywhere; }
#licensesPanel #licenseCreateMessage.bad { border-left-color: #ff8d86; color: #ffe1de; }
#licensesPanel #licenseCreateMessage.good { border-left-color: #83d5ad; }
#licensesPanel .cc-note { color: #ced5df; line-height: 1.5; margin: 12px 0 0; }
#licensesPanel .table-wrap { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid #6e5d2e; border-radius: 9px; }
#licensesPanel table { width: 100%; min-width: 820px; border-collapse: collapse; background: #101827; }
#licensesPanel th { padding: 13px 12px; text-align: left; color: #f5d778; background: #1b2940; border-bottom: 1px solid #806a2d; }
#licensesPanel td { padding: 12px; color: #f5f1e8; border-bottom: 1px solid #344158; vertical-align: middle; }
#licensesPanel tbody tr:last-child td { border-bottom: 0; }
#licensesPanel td input, #licensesPanel td select { width: 100%; }
#licensesPanel td .cc-muted { display: block; color: #bac6d5; margin-top: 4px; }
#licensesPanel td button { min-height: 40px; }
@media (max-width: 1100px) { #licensesPanel #licenseIssueForm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #licensesPanel > .data-card, #licensesPanel .cc-license-issue { padding: 14px; } #licensesPanel #licenseIssueForm { grid-template-columns: minmax(0, 1fr); } #licensesPanel .section-title .search { width: 100%; } #licensesPanel #licenseIssueSubmit { width: 100%; } }
#licensesPanel .cps-table-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 12px; background: #17243b; border: 0; border-bottom: 1px solid #6e5d2e; border-radius: 0; }
#licensesPanel .cps-table-tools input { flex: 1 1 180px; min-width: 0; }
#licensesPanel .cps-table-tools .cps-row-count { color: #ced5df; }
#licensesPanel .cps-table-tools button, #licensesPanel td button { padding: 9px 14px; color: #f5d778; background: #17243b; border: 1px solid #b99a3a; border-radius: 7px; }
