body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #ffffff;
  color: #111;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.ad-slot {
  margin: 30px 0;
  min-height: 90px; /* prevents layout shift */
  text-align: center;
}

.site-header {
  padding: 16px 20px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-nav {
  margin-left: auto;
}

.header-nav a {
  color: #0F3954;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.header-nav a:hover {
  text-decoration: underline;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon{
  width:42px;
  height:42px;
  margin-right:12px;
}

.logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.logo-title{
  font-size:22px;
  font-weight:700;
}

.tagline{
  font-size:11px;
  color:#777;
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-top:2px;
  display:flex;
  align-items:center;
  gap:4px;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav {
    margin-left: 0;
  }
}

.lock{
  font-size:11px;
}

/* Secure = stronger, darker */
.logo .secure{
  font-weight: 700;
  color: #0b1f2a;
  letter-spacing: -0.4px;
}

/* Convert = slightly emphasized */
.logo .convert{
  font-weight: 800;
  color: #000;
}

/* Hub = lighter */
.logo .hub{
  font-weight: 600;
  color: #444;
}

footer {
  max-width: 1000px;
  margin: 40px auto 20px;
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
  border-top: 1px solid #eee;
}

/* Minimal tool styling */
.tool-card{
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

/* shadow box tool styling */
.tool-card {
  max-width: 1100px;
  margin: 28px auto 40px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 57, 84, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 57, 84, 0.10);
}

@media (max-width: 640px) {
  .tool-card {
    padding: 16px;
    border-radius: 14px;
    margin: 20px auto 28px;
  }
}

/* Remove inner tool card look */
#sch-tool {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

.tool-row{
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.tool-row-top{
  margin-bottom: 12px;
}

.tool-title{
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.tool-help{
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

.dropzone{
  border: 1px dashed #d7d7d7;
  border-radius: 10px;
  padding: 18px;
  background: #fafafa;
  cursor: pointer;
  margin: 10px 0 14px;
}

.dropzone.is-dragover{
  background: #f3f3f3;
  border-color: #c9c9c9;
}

.dropzone-inner{
  text-align: center;
}

.dropzone-big{
  font-weight: 700;
  color: #111;
}

.dropzone-small{
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

.tool-row-controls{
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.control{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control-inline{
  flex-direction: row;
  align-items: center;
  margin-top: 18px;
}

.control-label{
  font-size: 12px;
  color: #666;
}

.control-input{
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
}

.checkbox{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: #111;
}

.btn{
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
}

.btn-primary{
  border-color: #111;
  background: #111;
  color: #fff;
}

.btn-secondary{
  background: #fff;
}

.btn-link{
  border: none;
  background: transparent;
  color: #444;
  padding: 8px 6px;
}

.btn:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}

.tool-row-status{
  margin-top: 6px;
}

.status{
  font-size: 13px;
  color: #666;
}

.file-list{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  border-top: 1px solid #eee;
}

.file-item{
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
}

.file-name{
  font-size: 14px;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-meta{
  font-size: 13px;
  color: #666;
}

.file-remove{
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.subtext{
  font-size: 13px;       /* slightly smaller */
  color: #666;
  margin-bottom: 2px;    /* almost no gap */
}

.trustline{
  font-size: 13px;       /* slightly smaller */
  font-weight: 500;
  color: #222;
  margin-top: 0;         /* remove top spacing */
  margin-bottom: 16px;   /* spacing before tool */
}

.result-text{
  display: inline-block;
  margin-left: 10px;
  font-size: 13px;
  color: #666;
}

/* Tooltip */
.info-tip{
  position: relative;
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  line-height: 1;
  color: #666;
  cursor: help;
  user-select: none;
}

.info-tip:focus{
  outline: none;
}

.info-pop{
  position: absolute;
  top: 18px;
  left: 0;
  z-index: 50;
  display: none;
  width: 240px;
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  color: #222;
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  white-space: normal;
}

.info-tip:hover .info-pop,
.info-tip:focus .info-pop,
.info-tip:focus-within .info-pop{
  display: block;
}

.info-pop strong{
  font-weight: 700;
}

.uploaded-title{
  font-size:14px;
  font-weight:600;
  margin-top:14px;
  margin-bottom:6px;
  color:#333;
}

.ad-container {
  margin: 40px auto;
  max-width: 900px;
  text-align: center;
}

/* Tool info section (homepage) */
.tool-info{
  margin-top: 30px;
}

.tool-info h2{
  font-size: 18px;
  margin-bottom: 10px;
}

.tool-info p{
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
}

.tool-info h3{
  font-size: 16px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.tool-info ol{
  margin: 0 0 0 18px;
  padding: 0;
  color: #333;
}

.tool-info li{
  margin: 6px 0;
  line-height: 1.5;
}

.preset-table{
  width:100%;
  border-collapse:collapse;
  margin-top:12px;
  font-size:14px;
}

.preset-table th,
.preset-table td{
  border:1px solid #e6e6e6;
  padding:10px;
  text-align:left;
}

.preset-table th{
  background:#f6f6f6;
  font-weight:600;
}

.preset-table tr:nth-child(even){
  background:#fafafa;
}

.converter-list{
  margin: 8px 0 0;
  padding-left: 18px;
}

.converter-list li{
  margin: 6px 0;
}

.converter-list a{
  text-decoration: none;
}

.converter-list a:hover{
  text-decoration: underline;
}

.related-link {
  font-weight: 600;
  color: #0093C2;
}

.related-link:hover {
  text-decoration: underline;
}



