body {
  min-height: 100vh;
  font-family: "Rubik", sans-serif;
  background: #1E1F21;
  color: #FFF;
  padding: 1.5rem;
  margin: 0;
  height: 100vh;
  box-sizing: border-box;
}

.feedback-page {
  height: 100%;
}

.feedback-container {
  max-width: 900px;
  margin: 0 auto;
  background: #242527;
  border-radius: 12px;
  box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(22, 22, 22, 0.3), inset 0 0 0 1px rgba(245, 245, 245, 0.0784313725);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feedback-header {
  background: linear-gradient(120deg, #4FA0FF 0%, #524FFF 40%, #B338FF 100%);
  padding: 2rem;
  text-align: center;
}
.feedback-header h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: #FFF;
}
.feedback-header p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

.feedback-tabs {
  display: flex;
  border-bottom: 1px solid #323248;
  margin: 1px;
}
.feedback-tabs .tab {
  flex: 1;
  padding: 1rem 0.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #A1A5B7;
  cursor: pointer;
  transition: all 0.15s;
}
.feedback-tabs .tab:hover {
  color: #4FA0FF;
  background: rgba(79, 160, 255, 0.08);
}
.feedback-tabs .tab.active {
  color: #4FA0FF;
  border-bottom-color: #4FA0FF;
}
.feedback-tabs .tab .badge {
  display: inline-block;
  padding: 0 0.375rem;
  margin-left: 0.5rem;
  background: #F64E60;
  color: #FFF;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
}

.feedback-content {
  overflow: auto;
  padding: 0;
  height: 100%;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: end;
  gap: 8px;
}
.form-group .btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  flex-grow: 0;
  flex-shrink: 0;
}
.form-group textarea {
  width: 100%;
  flex-grow: 1;
  flex-shrink: 1;
  font-size: 0.9375rem;
  color: #FFF;
  box-sizing: border-box;
  border: none;
  background-color: transparent;
  resize: none;
  overflow-y: auto;
  max-height: 120px;
  line-height: 1.5;
  padding: 8px 0;
}
.form-group textarea:focus {
  outline: none;
}
.form-group textarea::placeholder {
  color: #A1A5B7;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.form-group label .required {
  color: #F64E60;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #323248;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #FFF;
  background: #2B2C2E;
  box-sizing: border-box;
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: #4FA0FF;
  box-shadow: 0 0 0 3px rgba(79, 160, 255, 0.2);
}
.form-group input::placeholder, .form-group select::placeholder {
  color: #A1A5B7;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A1A5B7' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.response-files-preview {
  display: flex;
  gap: 8px;
  padding: 12px;
  flex-wrap: wrap;
  background: rgba(66, 56, 119, 0.3);
  border-radius: 10px;
  margin-bottom: 8px;
}

.response-file-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(30, 31, 33, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.response-file-item .file-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.response-file-item .file-preview-placeholder {
  font-size: 32px;
}
.response-file-item .file-preview-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #FFF;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.response-file-item .file-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(246, 78, 96, 0.9);
  color: #FFF;
  border: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.response-file-item .file-preview-remove:hover {
  background: #F64E60;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.checkbox-group input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  cursor: pointer;
  accent-color: #524FFF;
}
.checkbox-group label {
  margin: 0;
  font-size: 0.875rem;
  cursor: pointer;
}

.file-upload-area {
  border: 2px dashed #323248;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  background: rgba(30, 31, 33, 0.5);
  transition: all 0.15s;
}
.file-upload-area:hover, .file-upload-area.drag-over {
  border-color: #4FA0FF;
  background: rgba(79, 160, 255, 0.08);
}
.file-upload-area .upload-text {
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.file-upload-area .upload-hint {
  font-size: 13px;
  color: #A1A5B7;
}

.file-list {
  margin-top: 1rem;
}
.file-list .file-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(79, 160, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 0.5rem;
}
.file-list .file-item .file-info {
  display: flex;
  gap: 0.5rem;
}
.file-list .file-item .file-info .file-name {
  font-size: 14px;
  font-weight: 500;
}
.file-list .file-item .file-info .file-size {
  font-size: 13px;
  color: #A1A5B7;
}
.file-list .file-item .file-remove {
  background: none;
  border: none;
  color: #F64E60;
  cursor: pointer;
  font-size: 20px;
}
.file-list .file-item .file-remove:hover {
  background: rgba(246, 78, 96, 0.1);
}

.btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn.attachment-button {
  background-color: rgba(232, 215, 255, 0.2);
  background-image: url("/ui/attachment.png");
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
}
.btn.attachment-button:hover {
  opacity: 0.4;
}
.btn.send-message {
  background-image: url("/ui/send-message.png"), radial-gradient(173.56% 154.74% at 32.81% 23.44%, rgb(79, 160, 255) 0%, rgb(82, 79, 255) 33.3333343267%, rgb(179, 56, 255) 77.5992929935%);
  background-position: center;
  background-repeat: no-repeat;
}

.btn-primary {
  background: linear-gradient(120deg, #4FA0FF 0%, #524FFF 40%, #B338FF 100%);
  color: #FFF;
  box-shadow: 0 2px 8px rgba(82, 79, 255, 0.3);
}
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 4px 12px rgba(82, 79, 255, 0.4);
}

.btn-secondary {
  background: #1E1F21;
  color: #FFF;
  border: 1px solid #323248;
}
.btn-secondary:hover:not(:disabled) {
  background: #2B2C2E;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.feedback-item {
  background: #1E1F21;
  border: 1px solid #323248;
  border-radius: 10px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.15s;
}
.feedback-item:hover {
  border-color: #4FA0FF;
  box-shadow: 0 4px 16px rgba(79, 160, 255, 0.2);
}
.feedback-item .feedback-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.feedback-item .feedback-item-header .feedback-id {
  font-size: 13px;
  font-weight: 600;
  color: #A1A5B7;
  font-family: monospace;
}
.feedback-item .feedback-item-header .status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.feedback-item .feedback-item-header .status-badge.status-new {
  background: rgba(14, 173, 105, 0.15);
  color: #0EAD69;
}
.feedback-item .feedback-item-header .status-badge.status-in_progress {
  background: rgba(255, 168, 0, 0.15);
  color: #FFA800;
}
.feedback-item .feedback-item-header .status-badge.status-resolved {
  background: rgba(79, 160, 255, 0.15);
  color: #4FA0FF;
}
.feedback-item .feedback-item-header .status-badge.status-closed {
  background: rgba(153, 153, 153, 0.15);
  color: #999;
}
.feedback-item .feedback-item-header .new-response-badge {
  background: #F64E60;
  color: #FFF;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 0.5rem;
}
.feedback-item .feedback-subject {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feedback-item .feedback-meta {
  font-size: 14px;
  color: #A1A5B7;
}

.chat-container {
  padding: 1.5rem;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  gap: 16px;
}

.chat-messages {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  min-width: 200px;
  max-width: 75%;
  padding: 1rem;
  padding-bottom: 1.2rem;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.0784313725);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.message.message-user {
  align-self: flex-end;
  background-color: #423877;
  color: #FFF;
}
.message.message-admin {
  align-self: flex-start;
  background: rgb(46, 48, 51);
}
.message .message-header {
  font-size: 13px;
  opacity: 0.85;
}
.message .message-body {
  font-size: 15px;
  line-height: 1.6;
}
.message .message-body p {
  margin: 0;
}
.message .date-item {
  position: absolute;
  bottom: 6px;
  right: 12px;
  font-size: 11px;
  color: #A1A5B7;
  opacity: 0.7;
}
.message .message-attachments {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.message .message-attachments .attachment-link {
  display: block;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  padding: 4px 0;
}
.message .message-attachments .attachment-link:hover {
  text-decoration: underline;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.empty-state .empty-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.empty-state .empty-text {
  color: #A1A5B7;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #FFF;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  body {
    padding: 0;
  }
  .feedback-header {
    padding: 1.5rem;
  }
  .feedback-header h1 {
    font-size: 1.5rem;
  }
  .feedback-page {
    height: 100vh;
  }
  .feedback-container {
    border-radius: 0;
  }
  .feedback-content {
    padding: 0;
  }
  .btn-group {
    flex-direction: column;
  }
  .btn-group .btn {
    width: 100%;
  }
  .message {
    max-width: 85%;
  }
}

/*# sourceMappingURL=feedback.css.map */
