/* app/assets/stylesheets/safari_mockup.css */
.safari {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  background: #fff;
}

.safari-chrome {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-rows: 40px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
}

.safari-light {
  background: #f7f7f8;
}

.safari-dark {
  background: #1c1c1e;
  color: #eaeaea;
  border-bottom-color: rgba(255,255,255,0.08);
}

.safari-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green  { background: #28c840; }

.safari-title {
  position: absolute;
  left: 72px; /* after dots */
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: 0.7;
}

.safari-url {
  justify-self: end;
  width: 70%;
  background: rgba(0,0,0,0.04);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #333;
}
.safari-dark .safari-url {
  background: rgba(255,255,255,0.08);
  color: #eaeaea;
}

.url-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.safari-content img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
