h1 {
    width: 100%;
    font-size: 1.2rem;
    padding: 1rem;
    line-height: 1.5rem;
    background-color: #0062ff;
    filter: brightness(1.2);
    font-weight: normal;
    color: white;
    border-top: 0.05rem solid rgb(65, 0, 100);
    border-bottom: 0.05rem solid rgb(187, 187, 187);
}
.div-li {
    background-color: rgba(0, 0, 0, 0.801);
    padding: 0 1rem;
    height: 3rem;
    align-items: center;
    justify-content: space-between;
}
.div-li p {
    color: rgb(21, 255, 0);
}
.logout {
    right: 1rem;
    color: white;
    text-decoration: none;
}
.logout:hover {
    color: red;
}
/*  */
.consept-sec {
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem auto;
    max-width: 35rem;
    width: 100%;
    box-shadow: 0 0.2rem 0 rgb(123, 123, 123);
}
.consept-sec h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.7rem;
    font-weight: 600;
    color: #333;
}
.consept-sec p {
    margin-bottom: 1rem;
    line-height: 1.6rem;
    color: #555;
}
.consept-sec strong {
    color: #000; /* highlight important text */
}
.consept-sec em {
    font-style: italic;
    color: #444;
}

.msg-sec {
    max-width: 35rem;
    width: 100%;
    padding: 2rem;
    background-color: #1a1a2e;
    border-radius: 0.5rem;
    box-shadow: 0 0.2rem 0 rgba(0, 0, 0, 0.571);
}
.msg-sec h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #00aaff;
}
.shows {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    color: wheat;
}
#msg-container {
    height: fit-content;
    overflow-y: auto;
    margin-bottom: 2rem;
}
.msg-block {
    padding: 1rem;
    background-color: #000000;
    border: 0.1rem solid #3a3d46;
    border-radius: 0.3rem;
}
.user {
    font-weight: bold;
    font-size: 1.2rem;
    color: #f6ff00;
    margin-bottom: 0.5rem;
}
.time {
    font-size: 0.8rem;
    color: #00ff48;
    margin-bottom: 0.8rem;
}
.msg {
    font-size: 1rem;
    color: #ffffff;
    overflow-wrap: break-word;
}
#msg-form {
    max-width: 35rem;
    width: 100%;
}
#msg-form label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #1fddff;
}
#msg-form textarea {
    resize: none;
    min-height: 5rem;
    max-height: 15rem;
    padding: 0.8rem;
    font-size: 1rem;
    border: 0.1rem solid #2c3e50;
    border-radius: 0.3rem;
    width: 100%;
    background-color: #2b2d42;
    color: #edf2f4;
}
#submit-msg-btn-id {
    align-self: flex-end;
    padding: 0.8rem 1.5rem;
    width: 100%;
    font-size: 1rem;
    color: #fff;
    background-color: #ff4757;
    border: none;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: background-color 0.1s ease;
}
#submit-msg-btn-id:hover {
    background-color: #ffa502;
}
/* Profile container styles */
#profile {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20rem;
  max-height: 80vh;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  z-index: 9999;
  font-family: sans-serif;
}
@media (max-width: 500px) {
    #profile {
    position: fixed;
    width: 100vw;
    max-height: 100vh;
    height: 100vh;
    padding: 3vw;
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: none;
    }
}
#profile-sub {
  margin-top: 2rem; 
  width: 100%;
}
#profile-sub h2 {
  margin: 0 0 0.3rem;
  font-size: 1.5rem;
  color: #0c7aff;
}
#profile-sub h3 {
  white-space: nowrap;
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
  color: #555;
}
#profile-sub h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
    white-space: nowrap;
  color: #8b0c0c;
}
#profile-sub p {
  display: flex;
  white-space: nowrap;
  margin: 0.3rem 0;
  line-height: 1.4;
  color: #444;
}
.error-success-div {
  margin-top: 1rem;
  text-align: center;
}