/* Report Button */


.report-btn {
    position: absolute;
    bottom: 7px;
    left: 7px;
    z-index: 10;
    background-color: white;
    color: #4C5D56;
    padding: 8px 16px;
    font-size: 14x;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.report-btn svg {
  width: 21px;
  height: 21px;
}

.light-text {
  color: #fff;
}

.dark-text {
  color: #222;
}


/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Close Button */
.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

/* Report Options */
.report-option {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
    border-radius: 5px;
}

.report-option:hover {
    background-color: #f0f0f0;
}


/* Modal Thanks */
.modal-overlay {
    position: fixed; /* Make it fill the whole screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Optional background dim */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 15px;
}

/* Modal Content Box */
.modal-content {
    width: 100%;
    max-width: 504px;
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
  
  /* Modal Header */
  .modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  /* Modal Body */
  .modal-body p {
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    margin-bottom: 20px;
  }
  
  /* Email Link */
  .modal-email {
    color: #33a474;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
  }
  
  /* Close Button */
  .close-button {
    background-color: #33a474;
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
    padding: 10px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
  }
  
  .close-button:hover {
    background-color: #2b8b63;
  }
  

  /* Other Report modal */
  .modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
  }
  
  .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #555;
    cursor: pointer;
  }
  
.close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
  }
  
  textarea {
    margin-top: 16px;
    width: 100%;
    height: 100px;
    padding: 14px;
    font-size: 16px;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    resize: none;
    outline: none;
    color: #333;
  }
  

  .button-group {
    display: flex;
    gap: 0; 
  }
  
  .btn {
    margin: 0;
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    transition: all 0.2s ease-in-out;
  }
  
  .back {
    background: transparent;
    border: 2px solid #58a37d;
    color: #58a37d;
  }
  
  .back:hover {
    background: #f4fdf7;
  }
  
  .send {
    margin: 0;
    background: #58a37d;
    border: none;
    color: white;
  }
  
  .send:hover {
    background: #4d926f;
  }


  /* Report Plagiarism Modal */
  #reportForm {
    width: 100%;
    max-width: 500px;
    margin-left: 0;
    padding: 1rem;
    text-align: left;
  }

  #reportForm label,
  #reportForm input,
  #reportForm textarea {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  #fileList {
    margin-bottom: 1rem;
  }
  
  .file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid #ccc;
    margin-bottom: 5px;
    border-radius: 4px;
  }
  
  .delete-btn {
    background: none;
    border: none;
    color: red;
    font-weight: bold;
    cursor: pointer;
  }


.modal-content input[type="url"],
.modal-content textarea {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

textarea {
  resize: vertical;
  height: 80px;
}

input[type="file"] {
  margin-top: 10px;
}

#fileList {
  margin-top: 10px;
  font-size: 14px;
}



