 


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

                .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1);
}

header h1 {
  font-size: 45px !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem;
	    color: white !important;
/*     font-family: inherit; */
	}


/* main {
  display: grid;
  gap: 30px;
} */

section {
  background: #fff;
  padding: 25px !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 2px solid #fce4ec !important;
}

.input-section label {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  color: #c2185b !important;
  margin-bottom: 12px;
}

#textInput {
  width: 100%;
  padding: 15px !important;
  font-size: 1.2rem;
  border: 2px solid #f8bbd0 !important;
  border-radius: 8px !important;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  transition: border-color 0.3s;
}

#textInput:focus {
  outline: none !important;
  border-color: #e91e63;
}

.controls-section {
  display: grid;
  gap: 25px;
}

.control-group h3 {
  color: #c2185b;
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fce4ec;
}

.control-item {
  margin-bottom: 20px;
}

.control-item label {
  display: block;
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.control-item label span {
  color: #e91e63;
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 5px !important;
	padding:0px !important;
  background: #fce4ec !important;
  outline: none;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e91e63 !important;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
  transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e91e63;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
  transition: transform 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
}

input[type="color"] {
  width: 100%;
  height: 50px;
  border: 2px solid #f8bbd0 !important;
	padding:3px !important;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.3s;
}

input[type="color"]:hover {
  border-color: #e91e63;
}

.preview-section h3 {
  color: #c2185b;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.canvas-container {
  background: #f5f5f5;
  border: 2px solid #fce4ec !important;
  border-radius: 8px !important;
  padding: 20px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  overflow: auto;
}

#previewCanvas {
  max-width: 100%;
  height: auto;
  display: block;
}

.download-btn {
  width: 100%;
  margin-top: 20px;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.download-btn:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .controls-section {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
	.container{
		padding:0px !important;
	}
  header h1 {
    font-size: 35px !important;
  }

  section {
    padding: 20px;
  }

  .control-group h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
/*   body {
    padding: 10px;
  } */

  header {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  header h1 {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  main {
    gap: 20px;
  }

  section {
    padding: 15px;
  }
}
