@import url('errorAlert.css');
@import url('playbar.css');

* {
  padding: 0;
  margin: 0;
}


.content-form {
  display: flex;
}

.Streaming {
  width: 300px;
  margin: 45px 0 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 30px 7px;
  max-height: 500px;
  overflow-y: auto;
}

.live-playlist {
  background-color: #f0f8ff;
  border: 1px solid #a1c4fd;
  border-radius: 16px;
  padding: 20px;
  width: 200px;
  height: 200px;
  text-align: center;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.live-playlist:hover {
  transform: scale(1.05);
}

.live-playlist h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
}

.live-playlist p {
  color: #ff4500;
  margin-bottom: 10px;
  font-weight: bold;
}

.live-playlist button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.live-playlist button:hover {
  background-color: #45a049;
}

.live-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.music {
  width: 1000px;
  height: 88vh;
  margin: 20px 0 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.right-form {
  width: 500px;
  height: 88vh;
  margin: 30px 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}


.login, #mini-chart {
  margin-top: 46px;
  border-radius: 15px;
  width: 100%;
  height: 295px;
}

.login {
  border: 1px solid #e0e0e0;
  background-color: #fbfbfb;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.img {
  width: 400px;
}
.google {
  border: 1px solid black;
  box-sizing: border-box;
  border-radius: 7px;
}
.login-img{
  width: 50px;
  border-radius: 50%;
}

.login-form, .logout-form {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.logout-form.login-active {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
  flex-direction: row;
}

.logout-form.login-active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/public/images/profile_background.png') no-repeat center center;
  background-size: cover;
  filter: blur(0.5px);
  opacity: 0.6;
  z-index: 0;
}

.logout-form.login-active > * {
  position: relative;
  z-index: 1;
}

.logout-form .card {
  width: 220px;
  height: 240px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 5px 7px 15px -6px black;
}

.logout-form .list {
  width: 220px;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.logout-form .list div {
  box-shadow: 5px 7px 15px -6px black;
  width: 220px;
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 20px;
  box-sizing: border-box;
  color: #ffffff;
  font-weight: bold;
  background-color: rgba(189, 192, 255, 0.6);
  border-radius: 20px;
}

.logout-form .card:last-child {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.logout-form .card:last-child::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/public/images/profile_card.png') no-repeat center center;
  background-size: cover;
  opacity: 0.8;
  z-index: -1;
}

.logout-form .card .profile_wrap {
  position: absolute;
  width: 50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logout-form .card .profile_wrap div {
  word-break: keep-all;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
}

.profile_wrap div #title {
  font-weight: bold;
  color: rgba(189, 192, 255, 0.6);
  text-shadow: 1px 3px 10px rgba(46, 48, 90, 0.6);
  font-size: 24px;
  margin: 6px 0 8px 0;
}

#mini-chart {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 477px;
  height: 350px;
  background: rgba(24, 24, 24, 0.95);
  border-radius: 10px;
  padding: 10px;
  overflow-y: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 14px;
}

#mini-chart h3 {
  margin-top: 0;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.mini-chart-item {
  padding: 5px 0;
  border-bottom: 1px solid #444;
  cursor: pointer;
}

.mini-chart-item:last-child {
  border-bottom: none;
}

.mini-chart-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}


.music-move {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
}

.music-move div {
  color: #333;
}

.music-move a {
  color: #5C6BC0;
  text-decoration: none;
  font-size: 16px;
}

.music-move a:hover {
  text-decoration: underline;
}


.music-form {
  width: 220px;
  height: 235px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.music-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.music-form img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}


.music-form div {
  width: 100%;
  text-align: center;
  font-size: 14px;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; 
}