* {
  margin: 0;
  padding: 0;
}

body {
  background: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

header p {
  font-size: 16px;
  color: #7f8c8d;
  max-width: 95%;
  margin: 0 auto;
}


.search-container {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

#search {
  width: 55%;
  padding: 12px 20px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 25px;
  outline: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}
.dpi-input {
  width: 15%;
  padding: 12px 20px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 25px;
  outline: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  text-align: center;
}

.dpi-input:focus {
  border-color: #3498db;
  box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

#search:focus {
  border-color: #3498db;
  box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 25px;
  gap: 10px;
}

.category-tab {
  font-size: 13px;
  padding: 10px 18px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.category-tab:hover {
  background-color: #f8f9fa;
}

.category-tab.active {
  background-color: #3498db;
  color: white;
  border-color: #3498db;
}

.paper-size-table {
  width: 100%;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  overflow: hidden;
  border-collapse: collapse;
  overflow: hidden;
}

.paper-size-table h2{
  width: 100%;
  text-align: left;
  font-size: 18px;
  margin-bottom: 15px;
}

.paper-size-table th {
  background-color: #3498db;
  color: white;
  padding: 15px;
  text-align: left;
}

.paper-size-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.paper-size-table tr:last-child td {
  border-bottom: none;
}

.paper-size-table tr:hover {
  background-color: #f8f9fa;
}

.size-name {
  font-weight: bold;
  color: #2c3e50;
}

.size-dimension {
  gap: 5px;
}

.size-dimension span {
  color: #666;
  font-size: 0.9em;
}

.size-dimension span:first-child {
  color: #333;
  font-size: 1em;
}

footer {
  margin-top: 25px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  min-width: 300px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: #2c3e50;
}

.footer-section p {
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
  color: #666;
}

.emoji {
  font-size: 1.2em;
  margin-right: 5px;
}

.no-results {
  text-align: center;
  padding: 50px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}
