/* Promoters: fælles grundlag (skridt 2 i designguiden).
   Indlæses EFTER stylesheetet for rollen og ændrer kun farver og fokus.
   Fjernes ved at slette <link>-linjen i layoutfilen.
   Reglerne har et ekstra "html" foran selektoren, så de vinder over rollens
   stylesheet også på sider, der linker til det igen efter dette. */

:root {
  --pr-navy: #36495c;
  --pr-navy-dark: #2e3b47;
  --pr-text: #231f20;
  --pr-text-secondary: #546e74;
  --pr-link: #1b6f94;
  --pr-bg: #f2f2f3;
  --pr-line: #e8ecef;
  --pr-error: #ce1626;
  --pr-positive: #1e7a46;
  --pr-accent: #4abbeb; /* kun dekoration, aldrig tekst eller eneste markør */
  --pr-accent-pale: #c0e5f4; /* tekst på mørkeblå bund */
  --pr-radius-field: 8px;
  --pr-radius-card: 12px;
}

/* Synligt fokus. Erstatter de steder, hvor outline er slået fra. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--pr-link) !important;
  outline-offset: 2px !important;
}
header a:focus-visible,
header button:focus-visible,
header input:focus-visible,
header select:focus-visible {
  outline-color: #ffffff !important;
}

/* Tal på menupunkter: mørk tekst på den lyseblå cirkel (7,5:1). */
html header nav a .badge-number,
html header nav li a .badge-number {
  color: var(--pr-text) !important;
  font-weight: 700;
}

/* Lyseblå tekst på lys bund -> linkblå (5,6:1 i stedet for 2,2:1). */
html .event-widget .see-activites-button,
html .image-list-item.image .meta .download-image,
html .link-styled-button,
html .popup h2,
html .popup.popup-available-time .delete-available-time-button,
html .popup.popup-available-time .input-wrapper .sub-col:nth-of-type(1):after,
html .popup.popup-available-time .input-wrapper .sub-col:nth-of-type(2):after,
html .popup.popup-available-time .input-wrapper label .icon-calendar-datepicker,
html .tasks-list th .icon,
html main .header h2,
html main section.task-details h2,
html main.available-tasks .search-box .icon-chevron-down-soft,
html main.available-tasks .tasks .task .read-more,
html main.available-tasks .week-wrapper .week.selected-week .no-week-header .icon-chevron-right-hard,
html main.available-tasks .week-wrapper .week.selected-week .week-header .icon-chevron-right-hard,
html main.calendar .day.current-day .date,
html main.calendar .day.current-day .day-name,
html main.calendar .grid th.current-day .date,
html main.calendar .grid th.current-day .day-name,
html main.calendar .header .add-available-time-button .add-available-time-text,
html main.calendar .header .expand-header-button,
html main.calendar .header h2,
html main.create-task section .text-button,
html main.evaluation section.evaluation-content dt .item-number,
html main.event-evaluation .header ul li button.active,
html main.event-evaluation section h2,
html main.event-statistics .header .title,
html main.event-statistics section h2,
html main.frontpage .available-tasks .task .read-more,
html main.messages .header h2,
html main.messages .header h2 .icon-letter,
html main.messages .header h2 .icon-speech-bubble,
html main.my-info .header h2,
html main.my-info section.regions li.has-submenu > .list-item-inner:after,
html main.my-tasks .header h2,
html main.my-tasks .task-list th .icon,
html main.my-tasks.my-tasks-action-list .task-list table tr.task td.project .mobile-buttons .text,
html main.my-tasks.my-tasks-fee-list .task-list table tr.open td.project .icon-chevron-down-soft,
html main.offers .offer-wrapper .offer.selected-offer .offer-header .icon-chevron-right-hard,
html main.previous-events .header h2,
html main.propay section.task .fee dd .icon-paper-clip,
html main.single-event .event-tasks-list th .icon,
html main.single-task h2,
html table.previous-events-list tr.event td.tasks button {
  color: var(--pr-link);
}

/* Sekundær tekst: #748e94 (3,5:1) -> #546e74 (5,4:1). */
html .chart-wrapper .chart-center-text,
html .event-widget .statistics .statistics-item,
html .event-widget time,
html .popup p,
html .popup-new-contact-person label,
html main section.task-details .title,
html main.available-tasks .tasks .task .info,
html main.available-tasks .week-wrapper .week .no-week-header .date-range,
html main.available-tasks .week-wrapper .week .week-header .date-range,
html main.calendar .day .date,
html main.calendar .grid th .date,
html main.calendar .timeline li,
html main.create-task section label,
html main.evaluation section.evaluation-content dd .input-field-note,
html main.evaluation section.evaluation-content dd label,
html main.evaluation.evaluation-locked .evaluation-content dd,
html main.event-evaluation .header select,
html main.event-evaluation section.details dt,
html main.event-evaluation section.question table.data td,
html main.event-statistics .header p,
html main.frontpage .available-tasks .task .info,
html main.frontpage .feature .content,
html main.frontpage .new-tasks .task .dates,
html main.frontpage .new-tasks .task .location,
html main.frontpage .new-tasks .task .person,
html main.frontpage .sidebar .current-offers-box .offer .price-box,
html main.messages .header .search-container .placeholder,
html main.messages .header input.search,
html main.my-info .header table td:nth-of-type(1),
html main.my-info section.personal-info ul .bank-account-info .separator,
html main.my-info section.personal-info ul input[type=email],
html main.my-info section.personal-info ul input[type=number],
html main.my-info section.personal-info ul input[type=text],
html main.my-info section.personal-info ul input[type=url],
html main.my-info section.personal-info ul label,
html main.my-info section.personal-info ul select,
html main.my-info section.personal-info ul textarea,
html main.offers .offer-wrapper .offer .details .overview .offered-by,
html main.offers .offer-wrapper .offer .details .simulation label,
html main.offers .offer-wrapper .offer .details .simulation select,
html main.offers .offer-wrapper .offer .details .simulation table,
html main.offers .offer-wrapper .offer .offer-header .number-of-tasks,
html main.offers .offer-wrapper .offer .offer-header .price,
html main.offers .offer-wrapper .offer .offer-header .title-and-date time,
html main.propay dt,
html main.propay section.employee .bank-account label,
html main.propay section.employee .bank-account label input,
html main.propay section.task .fee dd input,
html main.propay section.text .small-text,
html main.single-event .header time,
html main.single-task .sampler .info-detail,
html main.single-task .sampler .role,
html main.single-task dt,
html main.single-task p,
html main.single-task section.manuals .manual .text,
html table.previous-events-list tr.event td.statistics .grey-box,
html table.previous-events-list tr.event td.title time {
  color: var(--pr-text-secondary);
}

/* Hvid tekst på lyseblå flade -> mørkeblå flade (9,3:1). */
html .blue-button,
html .blue-circle-button,
html .event-widget .top button,
html .image-list-item.image table div button:not(.main-image),
html .popup .images .image .footer .download-button,
html .round-list-button,
html .task-widget input,
html button.load-more,
html main.available-tasks .week-wrapper .week .no-week-header .icon-chevron-right-hard,
html main.available-tasks .week-wrapper .week .tasks .week-header-mobile .icon-chevron-left-hard,
html main.available-tasks .week-wrapper .week .week-header .icon-chevron-right-hard,
html main.calendar .day .available-time-time .edit-available-time-button .icon-pencil,
html main.create-task section .fold-out-section-button span,
html main.frontpage .dashboard .available-tasks .icon-chevron-right-hard,
html main.frontpage .dashboard .evaluation-reminder .icon-chevron-right-hard,
html main.frontpage .dashboard .my-tasks .icon-chevron-right-hard,
html main.frontpage .dashboard .next-task .icon-arrow-down,
html main.frontpage .dashboard .next-task .icon-chevron-right-hard,
html main.frontpage .sidebar .message .icon-chevron-right-hard,
html main.messages .header .submit,
html main.messages .matched-search-text,
html main.my-info .header button,
html main.my-info section.regions ul.countries li.country.open > .list-item-inner,
html main.my-info section.regions ul.countries li.country.open ul.regions li.region.open > .list-item-inner,
html main.my-tasks .header button.submit,
html main.my-tasks.my-tasks-fee-list .task-list table tr.task td.project .icon-chevron-down-soft,
html main.offers .offer-wrapper .offer .details .offer-header-mobile .icon-chevron-left-hard,
html main.offers .offer-wrapper .offer .offer-header .icon-chevron-right-hard,
html main.previous-events .header button.submit,
html main.single-task .desktop-accept-buttons input,
html main.single-task p.has-icon:before {
  background-color: var(--pr-navy);
}

/* Kalenderens "booket"-flade: hvid tekst på lyseblå -> mørkeblå. */
html main.calendar .day .tasks .task.status-booked {
  background-color: var(--pr-navy);
}

/* Ikoner på den lyseblå cirkel i menuen: mørk i stedet for hvid (7,5:1). */
html header .profile .avatar-wrapper .icon-padlock,
html header .profile .avatar-wrapper .icon-person-behind-person,
html header .impersonation .button .icon {
  color: var(--pr-text);
}

/* Tallet på kundens eventkort: hvid tekst på grågrøn (3,5:1) -> mørkere (5,4:1). */
html .event-widget .top .activity-count {
  background-color: var(--pr-text-secondary);
}

/* Hover: lidt mørkere end grundfarven. */
html .blue-button:hover,
html button.load-more:hover,
html .round-list-button:hover,
html .blue-circle-button:hover {
  background-color: var(--pr-navy-dark);
}
