/* comment-modal.component.css */
.comment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.4); */
    /* backdrop-filter: blur(5px); */
    display: flex;
    justify-content: flex-end;

    align-items: center;
    width: 1400px;
  height: 100%;
  }
  
  .comment-modal {
    background: rgba(196, 196, 196, 0.751); 
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    width: 90%;
    max-width: 500px;
    backdrop-filter: blur(5px);
  }
  
  .comment-modal h2 {
    margin-top: 0;
  }
  
  .comment-modal textarea {
    width: 100%;
    height: 100px;
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
  }
  button.close-btn {
    border-radius: 100%!Important;
    background-color: rgb(145, 145, 145)!Important;
    padding: 5px 10px!Important;
  }
  .comment-modal button {
    float: right;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .comment-modal button:hover {
    background-color: #0056b3;
  }
  .close-btn {
    position: absolute;
    top: -10px;
    right: -15px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }

  .close-btn:hover {
    color: #999;
  }


  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.95);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  .comment-modal-overlay {
    /* Съществуващи стилове */
    animation: fadeIn 0.3s ease-out forwards;
  }