.sidebar {
  background: rgba(244, 244, 249, 0.4);
  padding: 20px;
  border-right: 1px solid #e0e0e0;
  width: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 20px;
  overflow-y: auto;
}

.container {
  display: flex;
  min-height: 100vh;
  padding: 0px;
}

.organization-button {
  background: rgb(232,232,232);
  color: rgb(0,0,0);
  border-radius: 10px;
  border: 2px solid rgb(232,232,232);
  padding: 10px 12px;
  margin: 4px;
  max-width: 290px;
  width: 100%;
  height: 62px;
}

.organization-button:hover {
  background-color: rgb(216,216,216);
  color: black;
  border-color: rgb(116,116,116);
}

.button-icon {
  border-radius: 10px;
  width: 38px;
  margin-right: 8px;
  background-color: white;
  border: 1px solid rgb(165, 165, 165);
}

#loading-wheel {
  width: 32px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.status-bar {
  display: inline-block;
  margin: 0px;
  margin-top: 16px;
  background: white;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 16px;
  padding-left: 16px;
  border-radius: 30px;
  font-size: 14px;
}

.sidebar-list-item:hover {
  background: rgba(244,244,249,0.4);
  text-shadow: 0px 0px 5px;
}

.sidebar-list-item {
  transition: background 0.3s ease;
}

.sidebar-list-item-active {
  background: rgba(0,29,31,0.24);
  box-shadow: 0px 0px 9px rgba(0,29,31,0.24);
}

#sign-out-button {
  width: 100%;
  background: rgba(0,29,31,0.24);
  border: 0px solid #df4f54;
  border-radius: 10px;
}

#sign-out-button:hover {
  background: #df4f54;
  color: white;
  box-shadow: 0px 0px 4px #df4f54;
  text-shadow: 0px 0px 5px;
}

.dropdown-item-custom:active {
  background: #e0e0e0;
  color: black;
}

#events {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  /*padding: 1rem;*/
}

.crew-event {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s, box-shadow 0.3s;
  /*max-width: 300px;*/
}

.crew-event:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.event-banner {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.crew-event h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #333;
  display: inline-block;
  padding-right: 8px;
}

.tactile-label {
  width: 24px;
  margin-top: -7px;
}

.timedate-label {
  width: 18px;
  margin-right: 6px;
}

.crew-event-card {
  padding: 0.5rem;
}

.cl-badge-outline-gray {
  color: #a7a7a7;
  display: inline-block;
  border-radius: 15px;
  padding: 3px;
  padding-left: 9px;
  padding-right: 9px;
  background: #ffffff;
  font-size: 14px;
  margin-bottom: 12px;
  border-width: 1px;
  border-style: solid;
}

.cl-search-box {
  width: 100%;
  max-width: 290px;
  height: 48px;
  border-radius: 10px;
  padding: 5px;
  padding-left: 12px;
  border: 1px solid rgb(116,116,116);
}

#header {
  margin-top: 10%;
  text-align: center;
  padding: 20px;
}

.cl-hover-button {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cl-hover-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  background-color: #34c3f2;
  border-color: #34c3f2;
  color: #ffffff;
}

.cl-head-event-select-button {
  height: 48px;
  background: #ffffff;
  border-radius: 10px;
  color: #34c3f2;
  border-style: solid;
  border-color: #34c3f2;
  margin: 4px;
}

.cl-head-event-logo-badge {
  width: 26px;
  margin-left: 8px;
  border-radius: 30px;
  margin-bottom: 1px;
}

.cl-hover-button.cl-head-event-select-button:active {
  background-color: #34c3f2;
  color: white;
  border-color: #34c3f2;
}

p {
  cursor: default;
}

.shift-add-button {
  background: #bfbfbf;
  border-radius: 0.75rem;
  padding: 8px;
  color: rgb(255,255,255);
  margin-top: 8px;
}

.shift-select-button {
  background: linear-gradient(111deg, #02b9f1, #364ba0), #70dbff;
  border-radius: 0.75rem;
  padding: 8px;
  color: rgb(255,255,255);
  margin-top: 8px;
}

.shift-attended {
  border-radius: 1rem;
  display: inline-block;
  padding: 6px;
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 12px;
  margin-bottom: 8px;
  margin-right: 8px;
  color: #61d04f;
  border: 1px solid #61d04f;
}

.shift-unattended {
  border-radius: 1rem;
  display: inline-block;
  padding: 6px;
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 12px;
  margin-bottom: 8px;
  margin-right: 8px;
  color: #df4f54;
  border: 1px solid #df4f54;
}

.shift-coming-up {
  border-radius: 1rem;
  display: inline-block;
  padding: 6px;
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 12px;
  margin-bottom: 8px;
  margin-right: 8px;
  border: 1px solid #34c3f2;
  color: #34c3f2;
}

a.custom-link {
  color: #b0b0b0;
  text-decoration: none;
}

a.custom-link:hover {
  color: rgb(0, 0, 0);
}

.skeleton-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.skeleton {
    width: 100%;
    height: 200px; /* adjust to banner height */
    background: linear-gradient(
        110deg, /* angled shimmer */
        #e0e0e0 25%,
        #f8f8f8 50%,
        #e0e0e0 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite linear;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
    display: block;
    width: 100%;
    height: auto;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
