.gdrive-tool {
  font-family: Arial, sans-serif;
  max-width: 1200px;
  margin: 40px auto;
  padding: 10px;
}
.gdrive-tool .tool-container {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 10px rgba(0,0,0,0.1);
}
.gdrive-tool h2 {
  color: #000;
  text-align: center;
}
.gdrive-tool p {
  margin: 12px 0 6px 0;
  font-weight: 500;
  color: #333;
}
.gdrive-tool .output-label {
  margin-top: 20px;
  margin-bottom: 6px;
  display: block;
  font-weight: 500;
  color: #333;
}
.gdrive-tool input[type="text"] {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin: 10px 0;
  box-sizing: border-box;
}
.gdrive-tool button {
  background: #FFD54F;
  border: none;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  margin: 10px 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  color: #000;
}
.gdrive-tool button:hover {
  background: #ffca28;
}
.gdrive-tool .output {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}
.gdrive-tool .banner {
  display: none;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  color: white;
  background: #4CAF50;
  text-align: center;
}
.gdrive-tool .history {
  margin-top: 30px;
}
.gdrive-tool .history h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  color: #444;
}
.gdrive-tool .history-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background: #fafafa;
}
.gdrive-tool .history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 8px 10px;
  margin: 6px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.gdrive-tool .history-link {
  flex: 1;
  margin-right: 10px;
  font-size: 14px;
  word-break: break-all;
}
.gdrive-tool .copy-btn {
  background: #64b5f6;
  color: #000;
}
.gdrive-tool .copy-btn:hover {
  background: #42a5f5;
  color: #000;
}
.gdrive-tool .clear-btn {
  background: #e57373;
  color: #000;
}
.gdrive-tool .clear-btn:hover {
  background: #c62828;
  color: #000;
}
.gdrive-tool .clear-all-btn {
  margin-top: 10px;
  background: #d32f2f;
  color: #000;
}
.gdrive-tool .clear-all-btn:hover {
  background: #b71c1c;
  color: #000;
}
.gdrive-tool .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}
.gdrive-tool .tab-btn {
  background: #f5f5f5;
  border: 1px solid #ccc;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  margin: 0;
  box-shadow: none;
  color: #333;
}
.gdrive-tool .tab-btn:hover {
  background: #FFD54F;
}
.gdrive-tool .tab-btn.active {
  background: #FFD54F;
  border-color: #ffca28;
  color: #000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.gdrive-tool .error-msg {
  color: #c62828;
  font-size: 14px;
  margin: 5px 0 0 0;
  display: none;
}