/* [project]/src/components/RoomList/RoomList.css [app-client] (css) */
.room-list-container {
  background-color: #f8f9fa;
  border-right: 1px solid #e9ecef;
  flex-direction: column;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.room-list-header {
  z-index: 10;
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 12px;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.room-list-header h2 {
  color: #212529;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.add-room-button {
  cursor: pointer;
  background-color: #228be6;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  transition: all .2s;
  display: flex;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.add-room-button:hover:not(:disabled) {
  background-color: #1971c2;
  transform: scale(1.05);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .15);
}

.add-room-button:active:not(:disabled) {
  transform: scale(.95);
}

.add-room-button:disabled {
  cursor: not-allowed;
  background-color: #a0d0ff;
}

.room-list-scrollable {
  flex: 1;
  padding: 8px 0;
  overflow-y: auto;
}

.room-item {
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  margin: 0 8px;
  padding: 12px 16px;
  transition: background-color .2s;
  display: flex;
}

.room-item:hover {
  background-color: #e9ecef;
}

.room-item.selected {
  background-color: #e7f5ff;
  position: relative;
}

.room-item.selected:before {
  content: "";
  background-color: #228be6;
  border-radius: 4px 0 0 4px;
  width: 4px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.room-avatar {
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  margin-right: 14px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
}

.room-info {
  flex: 1;
  min-width: 0;
}

.room-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  display: flex;
}

.room-name {
  color: #212529;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
}

.room-time {
  color: #868e96;
  flex-shrink: 0;
  margin-left: 8px;
  font-size: 11px;
}

.room-preview {
  color: #868e96;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  font-size: 13px;
  overflow: hidden;
}

.room-list-scrollable::-webkit-scrollbar {
  width: 100%;
}

.room-list-scrollable::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.room-list-scrollable::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.room-list-scrollable::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.room-item-container {
  border-radius: 8px;
  margin: 0 8px;
  position: relative;
  overflow: hidden;
}

.room-item {
  cursor: pointer;
  z-index: 2;
  background-color: #fff;
  border-radius: 8px;
  align-items: center;
  padding: 12px 16px;
  transition: transform .4s cubic-bezier(.175, .885, .32, 1.1);
  display: flex;
  position: relative;
}

.room-item.sliding {
  transform: translateX(-80px);
}

.slide-button {
  cursor: pointer;
  opacity: .8;
  z-index: 3;
  background-color: #e9ecef;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  transition: all .3s;
  display: flex;
  position: absolute;
  bottom: 12px;
  right: 16px;
}

.slide-button:hover {
  opacity: 1;
  background-color: #dee2e6;
}

.delete-container {
  z-index: 1;
  align-items: center;
  height: 100%;
  padding-right: 16px;
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
}

.delete-button {
  cursor: pointer;
  background: linear-gradient(135deg, #ff5e5e, #ff2c2c);
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  transition: all .3s;
  display: flex;
  box-shadow: 0 2px 8px rgba(255, 82, 82, .4);
}

.delete-button:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 12px rgba(255, 82, 82, .6);
}

.delete-button:active {
  transform: scale(.95);
}

.room-item-container.selected .room-item {
  background-color: #e7f5ff;
}

.room-item-container.selected:before {
  content: "";
  z-index: 3;
  background-color: #228be6;
  border-radius: 4px 0 0 4px;
  width: 4px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.add-room-input-container {
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 16px;
  position: relative;
}

.add-room-input {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  width: 90%;
  padding: 10px 12px;
  font-size: 14px;
  transition: border-color .2s;
}

.add-room-input:focus {
  border-color: #228be6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(34, 139, 230, .2);
}

.add-room-buttons {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
  display: flex;
}

.cancel-add-button {
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: 6px;
  transition: background-color .2s;
  display: flex;
}

.cancel-add-button:hover {
  background-color: #f1f3f5;
}

.confirm-add-button {
  color: #fff;
  cursor: pointer;
  background-color: #228be6;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color .2s;
}

.confirm-add-button:hover {
  background-color: #1971c2;
}

.confirm-add-button:active {
  transform: scale(.98);
}

.add-room-error {
  color: #e03131;
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
}

/*# sourceMappingURL=src_components_RoomList_RoomList_css_bad6b30c._.single.css.map*/