/* Bulk Image Rename — Tool Styles */
/* Extends /style.css — only visual overrides here */

/* ── Page hero ── */
.tool-hero {
  background: linear-gradient(135deg, #0f766e 0%, #38bdf8 100%);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  color: #fff;
}
.tool-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff !important;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.tool-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  color: #fff;
  margin-bottom: 1rem;
}

/* ── Main layout ── */
.tool-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* ── Tool Card ── */
.calc-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.calc-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Form fields ── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-field {
  margin-bottom: 1.25rem;
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-field input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}
.form-field input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

/* ── Action button ── */
.calc-btn {
  width: 100%;
  background: linear-gradient(135deg, #0f766e, #38bdf8);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.calc-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35);
}
.calc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── File Drop Zone ── */
.file-drop-zone {
    border: 2.5px dashed rgba(15, 113, 110, 0.16);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.file-drop-zone:hover, .file-drop-zone.is-active {
    border-color: #0f766e;
    background: rgba(15, 118, 110, 0.05);
}
.drop-zone-content i {
    font-size: 2.5rem;
    color: #0f766e;
    margin-bottom: 1rem;
}
.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

/* ── File List ── */
.file-list {
    max-height: 300px;
    overflow-y: auto;
    background: var(--bg);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border);
}
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    gap: 1rem;
}
.file-item:last-child { margin-bottom: 0; }
.file-item span:nth-child(2) {
    color: #0f766e;
    font-weight: 700;
}

/* ── Related Tools ── */
.related-tools-section {
  margin: 3rem 0;
}
.related-tools-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) {
    .related-tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .related-tools-grid { grid-template-columns: 1fr; }
}

/* ── Content Section ── */
.content-section {
  margin-top: 3rem;
}
.content-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  border-left: 4px solid #0f766e;
  padding-left: 1rem;
}
.content-section p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.steps-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-pill {
  background: var(--primary-light);
  border-radius: 12px;
  padding: 1.25rem;
}
.feature-pill strong {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.feature-pill p {
  font-size: 0.875rem;
  margin: 0;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.related-list li {
  border-bottom: 1px solid var(--border);
}
.related-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.related-list a:hover { color: var(--primary); padding-left: 0.5rem; }
.related-list a::before {
  content: "→";
  color: #0f766e;
  font-weight: 700;
}

/* ── Footer ── */
.site-footer {
  background: #0f172a !important;
  color: #94a3b8 !important;
}
.site-footer a { color: #94a3b8 !important; }
.site-footer a:hover { color: #fff !important; }
