@font-face {
  font-family: "Good Brush";
  src: url("fonts/good-Brush.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
.tool-container hr {
  width: 100%;
}
.tool-container {
  display: flex;
  justify-content: center;
}

.tool-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #333;
}

.tool-container .card {
  max-width: 420px;
/*  width: 100%;
  max-width: 420px;
  padding: 15px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;*/
}

/*
.tool-container .templates {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}
*/

.tool-container .template-selection {
  margin-bottom: 15px;
}

.templates img {
  width: 45%;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.templates img.active,
.templates img:hover {
  border-color: #4caf50;
}

.preview-wrapper {
  margin-bottom: 25px;
  background: #fafafa;
  display: flex;
  justify-content: center;
}

.tool-container canvas {
  max-width: 100%;
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.upload-section,
.crop-name-section,
.download-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.tool-container input[type="file"],
.tool-container input[type="text"] {
  margin-top: 4px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.name-input {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}
.tool-container label {
  font-size: 15px;
  font-weight: 600;
  font-family: system-ui;
  color: #4d4d4d;
}

.back-upload-section {
	background: #777 !important;
}
.tool-container button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2575fc;
	/*toby background: #2575fc !important;*/
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  gap: 5px;
	
    border: none !important;
    color: white !important;
}

/*.tool-container button:hover {
  background: #0a66c2d0 !important;
}*/

#downloadBtn {
  background: #236bf5;
}

#restart {
	background: #444444;
	/*background: transparent;
	*color: #4b5563;*/
}

#applyCropBtn, #submitBtn {
	background: #2575fc;}


#cropModal {
  z-index: 9999;
}

#linkedinBtn {
  background: #f0f0f0 !important;
  color: #464545 !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10 0 10 0;
  border: none !important;
	margin-top:10px;
}

#cropBtn {
      background: #444444 !important;
    outline: none;
    border: 0 !important;
    color: white !important;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  max-height: calc(100vh - 100px);
  overflow: auto;
}

.cropper-wrapper img {
  max-width: 100%;
}

.crop-action-btn {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

#cancelCropBtn {
  background: #ababab !important;
}

#cropBtn svg path {
  stroke: #fff;
}

.upload-btn {
  text-align: center;
  display: flex;
  gap: 5px;
  justify-content: center;
  background: #2575fc;
  padding: 10px;
  border-radius: 6px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  font-family: system-ui;
  align-items: center;
  cursor: pointer;
  margin-bottom:10px;
}


.button-divider-hr {
  border: none;
  border-top: 1px solid #444444;
  overflow: visible;
  text-align: center;
  height: 0px;
}

.button-divider-hr::after {
  background: white;
  content: "or";
  padding: 0 10px;
  position: relative;
  top: -15px;
}

/* HTML: <div class="loader"></div> */
.tool-container .loader-content {
    position: absolute;
    display: none;
    justify-content: center;
    align-items: center;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    background: #0000004f;
    backdrop-filter: blur(4px);
}
.tool-container .loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}