.room-details{
    background-color: #1f2937;
    width: 100%;
}

.message-section {
    background-color: #1f2937;
}

.screen-btn {
    border: 4px solid #7ed957;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-btn button{
    background: none;
    border: none;
    margin: 5px;
    height: 40px;
    width: 40px;
}

.screen-btn button img{
    height: 70%;
    width: 70%;
    filter: invert(1);
}

.message-box {
    /* border: 2px solid red; */
}

/* .message-box textarea {
    width: 100%;
    height: 100px;
    border: 4px solid #ffffff;
    border-radius: 10px;
} */

.message-box textarea {
    width: 100%;            /* Optional: full width of container */
    height: 150px;          /* Adjust height as needed */
    border: 4px solid #000000; /* Add border */
    border-radius: 12px;     /* Rounded corners */
    padding: 10px;          /* Inner spacing */
    resize: vertical;       /* Allow vertical resizing (optional) */
    font-size: 14px;        /* Font styling */
    box-sizing: border-box; /* Prevent padding from increasing overall size */
    margin: 10px 0;
}

.message-box button {
    border: 4px solid #7ed957;
    border-radius: 12px;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #7ed957;
    background: none;
}

.room-name {
    border: 4px solid #f87171;
    border-radius: 12px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
    font-size: 14px;
    font-weight: 600;
}

.connected-devices-outer {
    border: 4px solid #ffffff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.connected-devices-outer-title {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    margin: 10px 0;
}

.connected-devices-outer  button {
    border: 4px solid #f87171;
    background: none;
    color: #ffffff;
    border-radius: 12px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    margin: 10px 0;
}

.connected-devices-outer-count {
    font-size: 36px;
    color: #ffffff;
    font-weight: 600;
    margin: 10px 0;
}

.add-new-timer-outer {
    width: 100%;
    margin-top: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.add-new-timer-inner {
    width: 100px;
    height: 100px;
    border: 4px solid #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-new-timer-inner button {
    background: none;
    border: none;
    border-radius: 50%;
}

.add-new-timer-inner button img{
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.modal-code {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    display: none;
    align-items: center;
    justify-content: center;
}

.code-section {
    border: 4px solid #ffffff;
    border-radius: 12px;
    background-color: #000000;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.code-section button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
}

.code-section p {
    text-align: center;
    margin: 60px 20px 20px 20px;
    font-size: 12px;
    color: #ffffff;
    font-weight: 600;
}

.code-section span {
    margin: 20px;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
}

.form-section-modal {
    border: 2px solid black;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.add-timer-form {
    position: relative;
    border: 4px solid #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.add-timer-form {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  max-width: 400px;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Segoe UI', sans-serif;
}

.add-timer-form input,
.add-timer-form select {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.add-timer-form input:focus,
.add-timer-form select:focus {
  border-color: #f87171; /* Blue-500 */
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); /* Blue-500 translucent */
}

.form-modal-submit-btn {
  border: 4px solid #f87171;
  padding: 5px 10px;
  background: none;
  color: #f87171;
  font-weight: 600;
  font-size: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-modal-submit-btn:hover {
  transform: scale(1.02);
}

.form-modal-close-btn {
    background: none;
    border: none;
    border-radius: 50%;
    position: absolute;
    top: -15px;
    right: -15px;
}

.form-modal-close-btn img {
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.open-new-timer-remote {
    margin-top: 20px;
    border-radius: 12px;
}

.open-new-timer-remote a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 10px 20px;
    display: block;
    text-align: center;
}

.open-new-timer-remote a:hover {
    color: #f87171
}