.content input[type="file"]{
  width:100%;
  padding:10px;
  border-radius:6px;
  border:1px solid #ccc;
  box-sizing:border-box;
}

/* .btns {
    text-align: right;
    margin-top: 10px;
    display: none;
} */

.app {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(135deg, #0a3d62, #07517d);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.35s;
    box-shadow: 0 6px 18px rgba(78, 78, 78, 0.25);
    width: max-content;
}

.app:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #07517d, #0a3d62);
}

.app:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.preview-grid {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:15px;
}

.carddd {
  width:300px;
  min-height:300px;
  border:1px solid #ddd;
  border-radius:8px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content: space-between;
  background:#fafafa;
}

.canvas-wrap {
  height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

canvas {
  max-width:100%;
  max-height:100%;
}

.card-controls {
  padding:8px;
}

.downloadBtn {
  width:100%;
}

.loader {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.65);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  color:#fff;
  font-weight:bold;
}

.star {
  position:absolute;
  width:6px;
  height:6px;
  background:white;
  border-radius:50%;
  opacity:0;
  animation:blink 1.5s infinite;
}

@keyframes blink {
  0% { opacity:0; transform:scale(0.5); }
  50% { opacity:1; transform:scale(1.5); }
  100% { opacity:0; transform:scale(0.5); }
}

.progress {
  margin-top:10px;
  font-weight:bold;
  color:#0a3d62;
}