.hidden {
    visibility: hidden;
}

md-icon[filled] {
    font-variation-settings: 'FILL' 1;
}

[data-refused] {
    color: #FF3B30;
}

[data-accepted] {
    color: #34C759;
}

[data-pending] {
    color: #FFCC00;
}
.avatar {
    background: #6750A4;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px; /* Adjust the font size as needed */
    color: white;
    text-align: center;
}
.menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.menu__container {
    position: relative;
}

.menu__selector {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 6px;
}

.menu_items {
    min-width: 200px;
}

.menu__item {
    display: flex;
    gap: 8px;
    align-items: center;
}
.statistics {
    margin: 1rem;
}

.statistics__title {
    text-align: center;
}

.statistics__header {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #7A7A7A;
}

.statistics__status {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 6px;
}

.statistics__accepted {
    background: #34C759;
}

.statistics__refused {
    background: #FF3B30;
}

.statistics__pending {
    background: #FFCC00;
}

.statistics__period {
    border: 1px solid #EADDFF;
    padding: 10px;
    border-radius: 8px;
}

.statistics__total {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.statistics__amount {
    color: #242424;
    margin-right: 1rem;
}

.statistics__caption {
    color: #625B71;
}

.statistics__loss {
    margin: 1rem 0;
    color: #7A7A7A;
}

.statistics__cards {
    display: flex;
    justify-content: space-evenly;
}

.statistics__cards .statistics__card {
    width: 80%;
}

.statistics__repartition {
    width: 100%;
    height: 6px;
    display: flex;
    margin-bottom: 1rem;
}

.statistics__cards .statistics__caption {
    display: flex;
    gap: 8px;
    align-items: center;
}

.statistics__card {
    margin: 1rem;
    padding: 1rem;
    border: 1px solid #EADDFF;
    border-radius: 16px;
}

.statistics__refusal_reasons {
    background: #242424;
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    max-width: 200px;
}

.statistics__value {
    margin-top: 1rem;
}
.plan-row {
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.plan-row:hover {
    background-color: #f0f0f0;
}

.plan-row.selected {
    background-color: #e0e0e0;
    font-weight: bold;
}

.plan-row__container {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.plan-row__header {
    display: flex;
    justify-content: space-between;
}

.plan-row__title {
    margin-right: auto;
    width: 100%;
}

.plan-row__date {
    color: #49454F;
}

.plan-row__status {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
}
form {
    max-width: 500px;
}

label {
    font-family: "Roboto";
}

.error {
    color: rgb(179, 38, 30);
    font-size: 1.1rem;
    font-family: "Roboto";
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.close {
    cursor: pointer;
}

#pdf-viewer-container {
    flex-grow: 1;
    overflow: auto;
    margin-bottom: 1rem;
    min-height: 500px; /* Add this line */
}

#pdf-viewer {
    width: 100%;
    height: 100%;
}

#pdf-viewer canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pdf-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.multi-step-form-container {
  width: 100%;
  width: 600px;
  margin: 0 auto;
}

.multi-step-form {
  width: 100%;
}

.multi-step-form .step {
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px;
}

.multi-step-form .field {
  width: 100%;
}

.multi-step-form .actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.multi-step-form .actions.single-button {
  justify-content: flex-end;
}

.multi-step-form .text_field,
.multi-step-form .password_field,
.multi-step-form .date_field,
.multi-step-form .phone_field,
.multi-step-form .email_field {
  margin-bottom: 1.5rem;
}

.file-upload-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.file-upload-wrapper.has-error {
  border: 1px solid #dc3545;
  border-radius: 4px;
  padding: 10px;
}

.file-upload-wrapper .error-message {
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 5px;
}

.hidden-file-input {
  display: none;
}

.file-name {
  margin-left: 1rem;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
}

.alert-danger {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  color: #721c24;
  background-color: #f8d7da;
}

.alert-success {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #d4edda;
  border-radius: 4px;
  color: #155724;
  background-color: #d4edda;
}

.dynamic-list-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dynamic-list-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
}

.dynamic-list-input {
  flex-grow: 1;
  margin-right: 10px;
}

.dynamic-list-remove {
  flex-shrink: 0;
}

md-outlined-text-field {
  width: 100%;
}

.dynamic-list-add {
  margin-top: 20px;
}

.password-indicators-wrapper {
  transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.password-indicators-wrapper.visible {
  opacity: 1;
  max-height: 300px; /* Adjust this value based on the maximum height of your indicators */
}

.password-requirements {
  list-style-type: none;
  padding-left: 0;
}

.password-requirements li {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.password-requirement-met {
  color: #10B981;  /* green-500 */
}

.password-requirement-unmet {
  color: #EF4444;  /* red-500 */
}

.password-requirement-met .indicator,
.password-requirement-unmet .indicator {
  margin-right: 5px;
}

.contact-title {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #333;
}

.contact-fields {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.password-field-wrapper {
  position: relative;
}

.password-reset-link {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: -0.75rem;
}

.field.error md-checkbox {
  --md-checkbox-outline-color: rgb(179, 38, 30);
  --md-checkbox-hover-outline-color: rgb(179, 38, 30);
  --md-checkbox-focus-outline-color: rgb(179, 38, 30);
  --md-checkbox-pressed-outline-color: rgb(179, 38, 30);
}

.error .checkbox {
  margin-bottom: 4px !important;
}

.field.error .supporting-text {
  font-size: 0.75rem;
  margin-top: 0;
  margin-bottom: 16px;
  padding: 0 16px;
}

.field.error .supporting-text span {
  color: inherit;
}
.patient-search-container {
    position: relative;
}

.patient-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.patient-result {
    padding: 12px 12px;
    cursor: pointer;
    border: 1px solid #E6E0E9;
    border-top: none;
}

.patient-result:hover, .patient-result.selected {
    background-color: #E6E0E9;
}








.contact-search-container {
    position: relative;
}

.contact-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.contact-result {
    padding: 12px 12px;
    cursor: pointer;
    border: 1px solid #E6E0E9;
    border-top: none;
}

.contact-result:hover, .contact-result.selected {
    background-color: #E6E0E9;
}
.doc {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #FEF7FF;
    border-radius: 10px;
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 1rem;
}

.doc-actions {
    margin: 1rem 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.doc-actions .file-upload-wrapper {
    margin-bottom: 0;
}

.panel {
    margin-top: 1rem;
    padding: 0 1rem;
}

.contact {
    margin-bottom: 1rem;
}

h5 {
    margin: 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contact {
    background: #E6E0E9;
    padding: 1rem;
    border-radius: 8px;
}

.contact.not_registered {
}

.contact.registered {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

.status {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid;
    border-radius: 100px;
    padding-right: 12px;
}
.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.logout-link {
    text-decoration: none;
    color: #6750a4;
    font-weight: bold;
}

.logout-link:hover {
    text-decoration: none;
}

header {
    flex-wrap: nowrap;
}

.md-typescale-headline-large {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout-form {
    margin: 0;
}

.logout-link {
    background: none;
    border: none;
    padding: 5px 10px;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    color: #6750a4;
    font-weight: bold;
    white-space: nowrap;
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .md-typescale-headline-large {
        margin-bottom: 10px;
    }

    .logout-form {
        margin-top: 10px;
        text-decoration: none;
    }
}

.space-filters {
    padding: 0.5rem 1rem;
}

.quote-status-header {
    color: #6750A4;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #F9F7FF;
    padding: 1rem;
    margin-bottom: 0;
    cursor: pointer;
}

.quote-status-plans {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.quote-status-plans.collapsed {
    max-height: 0;
}

.toggle-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.status-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.status-filter:hover {
    background-color: #F3EDF7;
}

.status-filter md-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.status-filter div {
    font-size: 14px;
    font-weight: 500;
}

.status-filter[data-selected] {
    background-color: #F3EDF7;
}

.status-filter[data-selected] md-icon {
    border: 1px solid;
    border-radius: 100px;
    padding: 4px 10px;
}

.changes-badge {
    background-color: #B3261E;
    border-radius: 20px;
    width: 20px;
    color: white;

    padding: 1px 3px;
    font-size: 11px;

    position: absolute;
    top: -20px;
    right: -15px;

    text-align: center;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body {
  margin: 0;
}

.hidden {
  display: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  max-width: 80px;
  background-color: #F7F2FA;
  text-align: center;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.sidebar .active {
  background-color: #E8DEF8;
}

.sidebar li {
  margin: 1rem 0;
  padding: 1rem 8px;
}

.sidebar a {
  text-decoration: none;
  color: #333;
}

.office {
  text-decoration: none;
}

.sidebar li:hover {
  background-color: #E6E0E9;
}

.sidebar li[data-selected] {
  background-color: #E6E0E9;
}

main {
  flex-grow: 1;
}

/* Temporary debug CSS */
/** {*/
/*  min-height: unset !important;*/
/*  max-height: unset !important;*/
/*  overflow: visible !important;*/
/*}*/

body {
  min-height: 100vh;
  overflow-y: auto !important;
}
