* {
  margin: 0;
  padding: 0;

}

body {
  background-color: #f1f2f3;
}

.container {
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 20px auto;
  box-sizing: border-box;
  color: #333;
  line-height: 1.6;
}

.container *{
  box-sizing: border-box;
}

.container header {
  text-align: center;
  margin-bottom: 30px;
}

header h1 {
  font-size: 28px;
  margin-bottom: 5px;
  color: #2c3e50;
}

header .subtitle {
  font-size: 15px;
  color: #7f8c8d;
}

.upload-area {
  background-color: white;
  border: 3px dashed #3498db;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.upload-area.drag-over {
  background-color: #e1f0fa;
  border-color: #2980b9;
}

.upload-icon {
  font-size: 5rem;
  margin-bottom: 10px;
  color: #3498db;
}

.upload-text {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #34495e;
}

.file-input {
  display: none;
}

.file-label {
  background-color: #3498db;
  color: white;
  padding: 12px 80px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s;
  display: inline-block;
}

.file-label:hover {
  background-color: #2980b9;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 25px 0;
}

.btn {
  padding: 14px 80px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  background-color: #2ecc71;
  color: white;
}

.btn-primary:hover {
  background-color: #27ae60;
}

.btn-secondary {
  background-color: #e74c3c;
  color: white;
}

.btn-secondary:hover {
  background-color: #c0392b;
}

.btn-tertiary {
  background-color: #3498db;
  color: white;
}

.btn-tertiary:hover {
  background-color: #2980b9;
}

.result-area {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  display: none;
}

.result-header {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.file-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.info-item {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.info-label {
  font-weight: 600;
  color: #7f8c8d;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.info-value {
  font-size: 1.2rem;
  color: #2c3e50;
  word-break: break-all;
}

.md5-result {
  background-color: #e8f4fc;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.md5-value {
  font-family: monospace;
  font-size: 1.2rem;
  word-break: break-all;
  line-height: 1.8;
  background-color: #f1f8ff;
  padding: 15px;
  border-radius: 6px;
  margin-top: 10px;
  border: 1px solid #d1e3f6;
}

.progress-container {
  margin: 30px 0;
  display: none;
}

.progress-bar {
  height: 12px;
  background-color: #ecf0f1;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #2ecc71;
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  margin-top: 10px;
  font-weight: 500;
  color: #7f8c8d;
}

footer {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
}

.footer-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.tool-description {

}

.description-item {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  border-radius: 8px;
  background-color: #f8f9fa;
  border: 1px solid #eee;
  margin-top: 20px;
}

.description-item:last-child {
  margin-bottom: 0;
}

.description-icon {
  font-size: 1.8rem;
  margin-right: 15px;
  min-width: 40px;
}

.notification {
  position: fixed;
  top: 60px;
  right: 20px;
  padding: 15px 25px;
  background-color: #2ecc71;
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateX(150%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.notification.show {
  transform: translateX(0);
}

.file-preview {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.file-icon {
  font-size: 3rem;
}

.file-details {
  flex: 1;
}

.file-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
  word-break: break-all;
}

.file-size {
  color: #7f8c8d;
  font-size: 0.95rem;
}
