* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f6f8;
  color: #222;
}

.result-page {
  width: 1100px;
  margin: 40px auto;
}

.success-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}

.success-title span {
  width: 36px;
  height: 36px;
  border: 3px solid #00b894;
  color: #00b894;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
}

.success-title h1 {
  font-size: 36px;
  margin: 0;
}

.file-box {
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  overflow: hidden;
}

.file-name {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid #eee;
}

.viewer-box {
  height: 680px;
  background: #2f2f2f;
}

.viewer-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.actions {
  height: 110px;
  background: #f7f9f8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.actions button {
  height: 54px;
  min-width: 150px;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.download-btn {
  background: #00bf8f;
  color: white;
}

.download-btn:hover {
  background: #00a97e;
}

.print-btn {
  background: #3498db;
  color: white;
}

.print-btn:hover {
  background: #247db8;
}

.edit-btn {
  background: #f39c12;
  color: white;
}

.edit-btn:hover {
  background: #d8870c;
}

.delete-btn {
  background: #e74c3c;
  color: white;
}

.delete-btn:hover {
  background: #c0392b;
}

@media (max-width: 1150px) {
  .result-page {
    width: 95%;
  }

  .actions {
    flex-wrap: wrap;
    height: auto;
    padding: 18px;
  }
}
.lang-select {
  height: 38px;
  border: 1px solid #ccc;
  background: white;
  border-radius: 6px;
  padding: 0 8px;
  font-weight: 600;
  cursor: pointer;
}

.result-lang {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}