| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517 |
- :host {
- --schedule-green: #176c55;
- --schedule-green-soft: #eaf5f1;
- --schedule-border: #dce6e2;
- --schedule-text-muted: #6f7e79;
- }
- .page-header {
- display: flex;
- align-items: flex-end;
- justify-content: space-between;
- gap: 18px;
- }
- .page-header h1 {
- margin: 8px 0 10px;
- }
- .page-header span {
- color: var(--schedule-text-muted);
- }
- .page-header button,
- .toolbar > button,
- .drawer footer button {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- gap: 7px;
- min-height: 42px;
- padding: 9px 15px;
- border: 1px solid var(--schedule-border);
- border-radius: 12px;
- background: #fff;
- color: #33463f;
- font-weight: 700;
- transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
- }
- .page-header button:hover,
- .toolbar > button:hover,
- .drawer footer button:hover {
- border-color: #9db8ae;
- box-shadow: 0 6px 16px rgba(29, 73, 58, .09);
- transform: translateY(-1px);
- }
- button:focus-visible,
- input:focus-visible,
- select:focus-visible,
- textarea:focus-visible {
- outline: 3px solid rgba(31, 130, 98, .2);
- outline-offset: 2px;
- }
- .toolbar input,
- .toolbar select,
- .drawer input,
- .drawer select,
- .drawer textarea {
- border-radius: 12px;
- }
- .toolbar > button,
- .toolbar label input,
- .toolbar label select,
- .toolbar .segmented {
- box-sizing: border-box;
- height: 44px;
- min-height: 44px;
- }
- .toolbar .segmented {
- flex: 0 0 auto;
- align-items: stretch;
- }
- .toolbar .segmented button {
- min-height: 36px;
- }
- .toolbar .coach-filter {
- flex: 0 1 360px;
- width: 360px;
- min-width: 260px;
- max-width: 360px;
- }
- .toolbar .coach-filter select {
- width: 100%;
- }
- .toolbar .latest-data {
- flex: 0 0 auto;
- margin-left: auto;
- white-space: nowrap;
- }
- @media (min-width: 1001px) {
- .toolbar > .segmented {
- width: 210px;
- }
- .toolbar > .segmented button {
- flex: 1 1 0;
- padding-inline: 14px;
- white-space: nowrap;
- }
- .toolbar .date-filter {
- flex: 0 0 220px;
- width: 220px;
- }
- .toolbar .date-filter input {
- width: 100%;
- }
- }
- .toolbar .segmented,
- .drawer > .segmented {
- border-radius: 13px;
- }
- .toolbar .segmented button,
- .drawer > .segmented button {
- border-radius: 10px;
- }
- .summary-grid {
- grid-template-columns: repeat(5, minmax(0, 1fr));
- }
- .calendar {
- gap: 8px;
- }
- .calendar-row {
- min-height: 74px;
- overflow: hidden;
- border-radius: 14px;
- transition: border-color .18s ease, box-shadow .18s ease;
- }
- .calendar-row:hover {
- border-color: #c5d8d1;
- box-shadow: 0 5px 14px rgba(34, 71, 59, .06);
- }
- .coach-label {
- padding: 11px 14px;
- }
- .appointment-strip {
- min-height: 72px;
- padding: 8px 10px;
- }
- .appointment {
- min-width: 220px;
- border: 1px solid #d7ebe4;
- border-left: 4px solid #2a8b6d;
- border-radius: 12px;
- text-align: left;
- }
- .schedule-content-header {
- flex-wrap: wrap;
- gap: 12px 20px;
- }
- .schedule-content-header > div:first-child {
- display: grid;
- gap: 4px;
- }
- .schedule-content-header > div:first-child span {
- color: var(--schedule-text-muted);
- font-size: 12px;
- }
- .status-legend {
- display: flex;
- flex-wrap: wrap;
- justify-content: flex-end;
- gap: 7px 12px;
- }
- .status-legend > span {
- display: inline-flex;
- align-items: center;
- gap: 5px;
- color: #5f6f69;
- font-size: 11px;
- font-weight: 700;
- white-space: nowrap;
- }
- .status-legend i {
- width: 9px;
- height: 9px;
- border-radius: 999px;
- background: var(--status-color);
- box-shadow: 0 0 0 3px var(--status-bg);
- }
- .status-upcoming {
- --status-color: #2563eb;
- --status-bg: #eff6ff;
- --status-border: #bfdbfe;
- }
- .status-live {
- --status-color: #15803d;
- --status-bg: #ecfdf3;
- --status-border: #bbf7d0;
- }
- .status-coach-ended {
- --status-color: #7c3aed;
- --status-bg: #f5f3ff;
- --status-border: #ddd6fe;
- }
- .status-confirmed {
- --status-color: #0f766e;
- --status-bg: #f0fdfa;
- --status-border: #99f6e4;
- }
- .status-completed {
- --status-color: #64748b;
- --status-bg: #f8fafc;
- --status-border: #dbe3ec;
- }
- .status-overdue {
- --status-color: #dc2626;
- --status-bg: #fff1f2;
- --status-border: #fecdd3;
- }
- .status-cancelled {
- --status-color: #c2410c;
- --status-bg: #fff7ed;
- --status-border: #fed7aa;
- }
- .status-neutral {
- --status-color: #64748b;
- --status-bg: #f8fafc;
- --status-border: #e2e8f0;
- }
- .appointment.status-upcoming,
- .appointment.status-live,
- .appointment.status-coach-ended,
- .appointment.status-confirmed,
- .appointment.status-completed,
- .appointment.status-overdue,
- .appointment.status-cancelled,
- .appointment.status-neutral {
- border-color: var(--status-border);
- border-left-color: var(--status-color);
- background: var(--status-bg);
- }
- .appointment.status-overdue strong,
- .appointment.status-overdue small,
- .appointment.status-cancelled strong,
- .appointment.status-cancelled small {
- color: var(--status-color);
- }
- .status-badge {
- border: 1px solid var(--status-border);
- background: var(--status-bg);
- color: var(--status-color);
- }
- .drawer {
- width: min(720px, 100%);
- padding: 28px 30px;
- border-radius: 24px 0 0 24px;
- background: #f8fbfa;
- }
- .drawer header {
- align-items: flex-start;
- }
- .drawer header p {
- margin: 0 0 6px;
- color: #6e7d78;
- letter-spacing: .12em;
- }
- .drawer header h2 {
- margin: 0 0 7px;
- }
- .drawer header span {
- color: var(--schedule-text-muted);
- font-size: 13px;
- }
- .drawer .icon-button {
- display: inline-grid;
- place-items: center;
- width: 40px;
- height: 40px;
- border: 1px solid var(--schedule-border);
- border-radius: 12px;
- background: #fff;
- color: #4f625b;
- }
- .drawer > .segmented {
- margin-bottom: 20px;
- padding: 4px;
- }
- .drawer > .segmented button {
- flex: 1;
- min-height: 38px;
- font-weight: 700;
- }
- .form-grid {
- gap: 17px 14px;
- }
- .form-grid label > span:first-child {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- }
- .form-grid label > span:first-child small {
- color: #8a9792;
- font-size: 10px;
- font-weight: 500;
- }
- .search-field {
- position: relative;
- z-index: 1;
- }
- .search-field:focus-within {
- z-index: 12;
- }
- .search-control {
- position: relative;
- display: flex !important;
- align-items: center !important;
- min-height: 46px;
- border: 1px solid var(--schedule-border);
- border-radius: 13px;
- background: #fff;
- color: #87948f;
- transition: border-color .18s ease, box-shadow .18s ease;
- }
- .search-control:focus-within {
- border-color: #6fa992;
- box-shadow: 0 0 0 4px rgba(34, 126, 96, .1);
- }
- .search-control.selected {
- border-color: #9fc9ba;
- background: #fbfefd;
- }
- .search-control > lucide-icon {
- position: absolute;
- left: 13px;
- display: inline-flex;
- pointer-events: none;
- }
- .search-control input {
- width: 100%;
- min-height: 44px;
- padding: 10px 42px 10px 40px;
- border: 0;
- border-radius: 13px;
- background: transparent;
- color: #23372f;
- }
- .search-control input:focus-visible {
- outline: 0;
- }
- .selected-mark {
- position: absolute;
- right: 12px;
- display: inline-flex !important;
- color: var(--schedule-green);
- }
- .search-results {
- position: absolute;
- z-index: 20;
- top: calc(100% + 7px);
- right: 0;
- left: 0;
- display: grid;
- max-height: 310px;
- padding: 7px;
- overflow: auto;
- border: 1px solid #d9e5e0;
- border-radius: 14px;
- background: #fff;
- box-shadow: 0 18px 46px rgba(24, 57, 46, .17);
- }
- .search-option {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12px;
- width: 100%;
- min-height: 54px;
- padding: 9px 11px;
- border: 0;
- border-radius: 10px;
- background: #fff;
- color: #2c3f38;
- text-align: left;
- }
- .search-option:hover,
- .search-option:focus-visible,
- .search-option[aria-selected='true'] {
- background: var(--schedule-green-soft);
- }
- .search-option span,
- .search-option strong,
- .search-option small {
- display: block;
- }
- .search-option small {
- margin-top: 4px;
- color: #82908b;
- font-size: 11px;
- }
- .search-option em {
- flex: none;
- padding: 4px 8px;
- border-radius: 999px;
- background: #eff5f2;
- color: #60736c;
- font-size: 10px;
- font-style: normal;
- }
- .muted-option {
- border-bottom: 1px solid #edf1ef;
- }
- .search-empty {
- display: grid;
- min-height: 72px;
- place-items: center;
- color: #7c8a85;
- font-size: 12px;
- text-align: center;
- }
- .drawer footer {
- padding-top: 18px;
- border-top: 1px solid #e5ece9;
- }
- @media (max-width: 1300px) {
- .summary-grid {
- grid-template-columns: repeat(3, minmax(0, 1fr));
- }
- .toolbar .coach-filter {
- flex: 1 1 280px;
- width: auto;
- max-width: 340px;
- }
- }
- @media (max-width: 700px) {
- .page-header {
- align-items: flex-start;
- }
- .drawer {
- padding: 22px 18px;
- border-radius: 0;
- }
- .summary-grid {
- grid-template-columns: 1fr;
- }
- .toolbar .coach-filter {
- flex-basis: 100%;
- width: 100%;
- max-width: none;
- }
- .toolbar .latest-data {
- margin-left: 0;
- }
- }
|