* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #E9D2D2;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #332A53;
  line-height: 1.6;
  min-height: 100vh;
  padding: 3rem 1rem;
  position: relative;
}

.ruler-top,
.ruler-bottom {
  position: fixed;
  left: 0;
  right: 0;
  height: 20px;
  background: #fff;
  border-top: 2px solid #B37BAD;
  border-bottom: 2px solid #B37BAD;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.ruler-top::before,
.ruler-bottom::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  background: repeating-linear-gradient(to right, #B37BAD 0px, #B37BAD 9px, transparent 9px, transparent 10px);
}

.ruler-top {
  top: 0;
}

.ruler-bottom {
  bottom: 0;
}

.ruler-left {
  position: absolute;
  left: -30px;
  top: 0;
  bottom: 0;
  width: 20px;
  background: #fff;
  border-left: 2px solid #B37BAD;
  border-right: 2px solid #B37BAD;
}

.ruler-left::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #B37BAD 0px, #B37BAD 9px, transparent 9px, transparent 10px);
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

header .logo-wrapper {
  position: relative;
  display: inline-block;
}

header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  color: #B37BAD;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

header .ruler-accent {
  width: 200px;
  height: 4px;
  background: #fff;
  margin: 0.5rem auto;
  border: 1px solid #B37BAD;
  position: relative;
  border-radius: 2px;
}

header .ruler-marks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(to right, #B37BAD 0px, #B37BAD 1px, transparent 1px, transparent 10px);
}

header .ruler-marks::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(to right, #B37BAD 0px, #B37BAD 1px, transparent 1px, transparent 50px);
}

header .tagline {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.url-form {
  margin-bottom: 3rem;
}

.url-form .input-group {
  display: flex;
  gap: 0.75rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid #d5d5d5;
  position: relative;
}

.url-form .input-group .ruler-input-left,
.url-form .input-group .ruler-input-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: repeating-linear-gradient(to bottom, #B37BAD 0px, #B37BAD 2px, transparent 2px, transparent 5px);
}

.url-form .input-group .ruler-input-left {
  left: 0;
}

.url-form .input-group .ruler-input-right {
  right: 0;
}

.url-form .input-group input {
  flex: 1;
  border: none;
  outline: none;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1a1a;
  background: transparent;
}

.url-form .input-group input::placeholder {
  color: #999;
}

.url-form .input-group button {
  padding: 1rem 2rem;
  border: none;
  background: #B37BAD;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.url-form .input-group button:hover {
  background: #9d6a97;
  transform: translateY(-1px);
}

.url-form .input-group button:active {
  transform: translateY(0);
}

.table-container {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid #d5d5d5;
  position: relative;
}

.table-container .ruler-table-top,
.table-container .ruler-table-bottom {
  height: 15px;
  background: #fff;
  border-left: 2px solid #B37BAD;
  border-right: 2px solid #B37BAD;
  position: relative;
}

.table-container .ruler-table-top::before,
.table-container .ruler-table-bottom::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  background: repeating-linear-gradient(to right, #B37BAD 0px, #B37BAD 8px, transparent 8px, transparent 10px);
}

.table-container .ruler-table-top {
  border-top: 2px solid #B37BAD;
}

.table-container .ruler-table-bottom {
  border-bottom: 2px solid #B37BAD;
}

.urls-table {
  width: 100%;
  border-collapse: collapse;
}

.urls-table thead {
  background: #B37BAD;
  position: relative;
}

.urls-table thead::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.5) 0px, rgba(255, 255, 255, 0.5) 9px, transparent 9px, transparent 10px);
}

.urls-table thead th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.urls-table thead th:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0px, rgba(255, 255, 255, 0.3) 3px, transparent 3px, transparent 5px);
}

.urls-table thead th:first-child {
  width: 45%;
}

.urls-table thead th:nth-child(2) {
  width: 45%;
}

.urls-table thead th:last-child {
  width: 10%;
  text-align: center;
}

.urls-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.urls-table tbody tr:hover {
  background: #fafafa;
}

.urls-table tbody tr:last-child {
  border-bottom: none;
}

.urls-table tbody td {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
}

.urls-table tbody td.clicks-cell {
  text-align: center;
  color: #666;
  font-weight: 500;
}

.urls-table .url-link {
  color: #332A53;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s ease;
}

.urls-table .url-link:hover {
  color: #B37BAD;
}

.urls-table .url-link.short-link {
  color: #667eea;
  font-weight: 500;
}

.urls-table .url-link.short-link:hover {
  color: #5568d3;
}

@media (max-width: 640px) {
  body {
    padding: 2rem 1rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .ruler-left {
    display: none;
  }

  header h1 {
    font-size: 2.5rem;
  }

  .url-form .input-group {
    flex-direction: column;
  }

  .url-form .input-group .ruler-input-left,
  .url-form .input-group .ruler-input-right {
    display: none;
  }

  .url-form .input-group button {
    width: 100%;
  }

  .urls-table {
    font-size: 0.85rem;
  }

  .urls-table thead th,
  .urls-table tbody td {
    padding: 0.75rem 1rem;
  }
}
/*# sourceMappingURL=style.css.map */
