@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap");

.rc-registration-overview-frontend {
    all: unset; /* This removes all inherited styles */
    font-size: 14px; /* or your desired base font size */
    font-family: sans-serif;
    line-height: 1.4;
    display: block;
}

/* Reapply necessary styles after unset */
.rc-registration-overview-frontend .rc_table {
    width: 100%;
    border-collapse: collapse;
}

/* Optional: Normalize other things like buttons, etc. */
.rc-registration-overview-frontend button {
    font-size: 14px;
}

#wpadminbar #wp-admin-bar-rc-list .ab-icon:before {
    font: normal 16px/1 dashicons;
    content: '\f163';
    position: relative;
    float: left;
    speak: never;
    padding: 4px 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: none !important;
    margin-right: 6px;
}

[type=radio] { 
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	}	

	/* IMAGE STYLES */
[type=radio] + img {
	cursor: pointer;
}	

	/* CHECKED STYLES */
[type=radio]:checked + img {
	outline: 2px solid #2271b1;
}

	/* CHECKED STYLES */
[type=radio]:checked + span {
	outline: 2px solid #2271b1;
}

.main-content {
	padding-top: 100px;
	padding-bottom: 100px;
}

.repair-select { margin-top: 5px 0px 5px 0px; width:50%; }
.repair-result-image { width: 110px; padding: 10px; }
.repair-result-table { text-align: center; }
.repair-result-table label { margin-right: 5px;  }
.rounded-element { background-color: #2271b1; border-radius: 12px; height: 28px; margin-right: 10px; padding: 0px 10px 0px 10px; display: inline-block; text-align: middle; color: white; line-height: 26px }
.repair-result-table td {}
.repair-result-txt {padding: 10px; display: inline-block; text-align: middle; width:110px; height:110px; background-color: lightgrey; line-height: 50px;}

.rc_table {
	border: 0px !important;
	border-spacing: 0 10px !important;
	border-collapse: separate !important   ;
	width: 100%;
}
.rc_table thead tr th,
.rc_table thead tr td,
.rc_table tbody tr th,
.rc_table tbody tr td {
	vertical-align: middle;
	border: none;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	padding-left: 0px !important;
	padding-right: 0px;
}
.rc_table thead tr th:nth-last-child(1),
.rc_table thead tr td:nth-last-child(1),
.rc_table tbody tr th:nth-last-child(1),
.rc_table tbody tr td:nth-last-child(1) {
	text-align: center;
}

.rc_table .rc-item-row td:first-child {
  -webkit-box-shadow:
    0px 2px 10px rgba(0, 0, 0, 0.1),
    0px -2px 10px rgba(0, 0, 0, 0.1),
    2px 0px 10px rgba(0, 0, 0, 0.1); 
}
.rc_table .rc-item-row td {
  -webkit-box-shadow:
    10px 2px 10px rgba(0, 0, 0, 0.1);
}
.rc_table .rc-item-row td:last-child {
  -webkit-box-shadow:
    10px 2px 10px rgba(0, 0, 0, 0.1),
    0px 0px 10px -10px rgba(0, 0, 0, 0.1);
}
.rc_table tbody tr {
	border-radius: 5px;
}
.rc_table tr:hover td {
    /*background-color: #FAFAFA; /* or #000 */
}

.rc_table tbody tr td {
	background: #fff;

}
.rc_table tbody tr td:nth-child(1) {
	border-radius: 5px 0 0 5px;
}
.rc_table tbody tr td:nth-last-child(1) {
	border-radius: 0px 5px 5px 0px;
}
.rc_table .text-time {
	font-size: 14pt;
	font-weight: 600;
	text-align: center;
	min-width: 80px;
	color: #666;
}
.rc_table .status {
	padding: 0px;
	margin: 0px;
	width: 5px;
	max-width: 5px;
	background-color: green;
}
.rc_table .toptext {
	padding-bottom: 0px;
}
.rc_table .item-date {
	
	background-color: #17a2b8;
	color: white;
}
.rc_table .row-date {
	cursor: auto;
	box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1) !important;
	-moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
	-webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
	border-radius: 5px;
}
.date-options {
	
}
.date-options-container {
	margin-top:10px;
}
.date-btn {
	margin-right:5px;
}
.repair-person {
	margin-right: 2px;
}

.rounded-element {
	background-color: #17a2b8;
	color:white;
	border-radius: 5px;
	height:18px;
	line-height: 12px;
	font-size: 12px;
	padding: 3px 5px 3px 5px;
	display: inline-block;
}
.rounded-element-inactive {
	background-color: #CACACA;
	color:white;
}
.item-rc-people {
	max-width: 120px;

}
.item-rc-status {
	max-width: 80px;
}
.user-info {
	max-width: 90%;
	display: flex;
}
.rc-item-buttons {
	text-align: right;
	padding-right: 10px !important;
  white-space: nowrap;
  width: 1%;
}

/* The Modal (background) */
.rc-status-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.rc-status-modal-content {
  border-radius: 8px;
  background-color: #fefefe;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  max-width: 780px; /* Could be more or less, depending on screen size */
}
.rc-status-modal-body {
  
}
.rc-status-modal-top {
	
}
/* #rc-note-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: white;
  border-radius: 8px;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
} */

.rc-note-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3); /* translucent dark overlay */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rc-note-modal-content {
    background: white;
    padding: 1em;
    max-width: 500px;
    width: 90%;
    border-radius: 8px;
    position: relative;
}

#rc-note-modal .rc-status-close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 576px) {
  #rc-note-modal {
    padding: 16px;
  }

  #repair-note-textfield {
    font-size: 1rem;
  }
}
.rc-status-items {
	margin: auto;
}
.rc-status-item {
	width:100px;
	height:100px;
	background-color: #CECECE;
	display: inline-block;
	line-height: 100px;
	text-align: center;
	font-size:14px;
	color: #2e2e2e;
	margin-right: 0px;
	margin-bottom: 3px;
	cursor: pointer;
	border: 4px solid transparent;
}

.rc-status-item:hover {
	border: 4px solid darkgrey;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* The Close Button */
.rc-status-close {
  color: #aaa;
  
  font-size: 28px;
  font-weight: bold;
}
.rc-status-person {
	cursor: pointer;
}
.rc-status-close:hover,
.rc-status-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.repair-button-new {
	float: right;
}
.repair-advanced {
	display:none;
}
.rc-status-link {
	cursor: pointer;
}
.rc-status-link:hover {
	text-decoration: underline;
}
.filter-options {
	margin-top:8px;
}
.filter-item {
	cursor:pointer;
	color:white;
	border-radius: 5px;
	height:20px;
	line-height: 12px;
	font-size: 12px;
	padding: 3px 5px 3px 5px;
	display: inline-block;
}
.filter-item-default {
	color:white;
}
.status-active-text {
	color: white !important;
}
.name-mail-link {
	color: black !important;
}
.name-mail-link:hover {
	text-decoration: underline;
}
.filter-active {
	color: white !important;
}
.rc-status-modal-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
}

.rc-status-modal-footer .btn {
  min-width: 90px;
}
.row-stats {
	background-color: #17a2b8;
	color: white;
	padding: 3px;
	border-radius: 5px;
	text-align: center;
  border:0px;
}
.rc-no-results {
	padding: 3px;
	border-radius: 5px;
	background-color: #ccc;
	text-align: left;
	font-size: 14px;
	padding-left: 10px;
	color: #fff;
	margin-top: 6px;
}
.rc-step-indicator {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

#rc-step-indicator .step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  display: inline-block;
  margin: 0 4px;
}

#rc-step-indicator .step-dot.active {
  background-color: #007bff;
}
.rc-icon-cell {
    text-align: center;
    vertical-align: middle;
}
.rc-icon-white {
  filter: brightness(0) invert(1); /* turns dark icons white */
}
/* Desktop icon cell style */
.rc-icon-cell {
    height: 100%;
}

/* Hide slim version by default (desktop) */
.rc-icon-mobile {
    display: none;
    width: 5px;
    height: 100%;
}

/* Show icon on desktop */
.rc-icon-desktop {
    display: inline-block;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .rc-icon-desktop {
        display: none !important;
    }

    .rc-icon-mobile {
        display: block !important;
        margin: 0 auto;
    }

    .rc-icon-cell {
        width: 5px !important;
        padding: 0 !important;
    }
}

.notes-modal-overlay {
    backdrop-filter: blur(4px);
}
.notes-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notes-modal .form-control {
    border-radius: 4px;
}

.notes-modal .btn-primary {
    min-width: 100px;
}
/* Notes Modal Overlay */
.notes-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}
.notes-modal {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    max-height: 60vh;
    overflow: hidden;
}

.notes-modal-close {
    position: absolute;
    top: 10px;
    left: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
}
.notes-chat {
    display: flex;
    flex-direction: column;
    padding: 15px;
    padding-top: 50px; /* Reserve top space for close button */
    background: #f1f3f5;
    flex: 1;
    overflow-y: auto;
    gap: 8px;
}

.notes-input-wrapper {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
    background: #fff;
}
  /* Note Block */
  .note-message {
      padding: 10px 12px;
      border-radius: 6px;
      border: 1px solid #dee2e6;
      max-width: 80%;
      font-size: 14px;
      word-break: break-word;
  }

  /* Own Note */
  .note-message.self {
      background: #17a2b8;
      color: #FFF;
      align-self: flex-end;
      text-align: right;
  }

  /* Other User's Note */
  .note-message.other {
      background: #f8f9fa;
      align-self: flex-start;
      text-align: left;
  }

  /* Meta Info */
  .note-meta {
      font-size: 12px;
      margin-top: 4px;
  }

  .note-meta.self {
      color: #CACACA;
  }

  .note-meta.other {
      color: #6c757d;
  }

  .notes-input-wrapper textarea {
      flex: 1;
      resize: none;
      border-radius: 4px;
      font-size: 14px;
      margin-right: 8px;
  }

.no-notes-placeholder {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-top: 20px;
}
.notes-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}