* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    min-height: 100vh;
    padding: 20px;
} */


                .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; */
	}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
/*     padding: 40px; */
}

.controls-section {
    background: #f8f9fa !important;
    padding: 30px !important;
    border-radius: 15px !important;
}

.style-settings h3 {
    color: #c44569;
    font-size: 1.4rem;
    margin: 30px 0 20px 0;
    font-weight: 700;
}

.control-group {
    margin-bottom: 25px;
}

.control-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

input[type="text"], select {
    width: 100%;
    padding: 12px !important;
    border: 2px solid #e1e5e9 !important;
    border-radius: 8px !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input[type="text"]:focus, select:focus {
    outline: none !important;
    border-color: #ff6b9d !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

select {
    cursor: pointer;
}

.color-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.color-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

input[type="color"] {
    width: 50px;
    height: 40px;
    border: none !important;
    border-radius: 8px !important;
	padding:1px !important;
    cursor: pointer;
    padding: 0;
}

.color-input-group input[type="text"] {
    flex: 1;
}

.slider-controls {
    margin-top: 20px;
}

input[type="range"] {
    width: 100%;
    height: 6px;
		padding:4px !important;
    border-radius: 3px !important;
    background: #e1e5e9 !important;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.preview-section {
    display: flex;
    flex-direction: column;
}

.preview-section h3 {
    color: #c44569;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.preview-container {
    flex: 1;
    background: #f8f9fa !important;
    border-radius: 15px !important;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 900px;
    margin-bottom: 30px;
    border: 2px dashed #e1e5e9 !important;
    overflow: hidden;
    min-height: 600px;
}

.text-preview {
    font-weight: 900;
    font-size: 48px;
    background-color: #8ace00;
    color: #000000;
    padding: 60px 80px;
    border-radius: 8px;
    text-align: center;
    letter-spacing: 0px;
    word-wrap: break-word;
    line-height: 1.2;
    text-transform: uppercase;
    display: block;
    width: 500px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin: 0 auto;
}

.text-preview.mirror {
    transform: scaleX(-1);
}

.text-preview.left {
    justify-content: flex-start;
    text-align: left;
    padding-left: 40px;
}

.text-preview.center {
    justify-content: center;
    text-align: center;
}

.download-btn {
 background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
    color: white;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.6);
}

.download-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-content {
        grid-template-columns: 1fr;
        gap: 30px;
/*         padding: 20px; */
    }
    
    .color-controls {
        grid-template-columns: 1fr;
    }
	.container{
		padding:0px !important;
	}
    
    header h1 {
        font-size: 35px !important;
    }
    
    .controls-section {
        padding: 20px;
    }
    
    .preview-container {
        padding: 20px;
        min-height: 200px;
    }
    
    .text-preview {
        font-size: 32px;
        padding: 15px 25px;
    }
}

@media (max-width: 480px) {
/*     body {
        padding: 10px;
    } */
    
    .container {
        border-radius: 10px;
    }
    
    header {
        padding: 30px 20px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .text-preview {
        font-size: 24px;
        padding: 10px 20px;
    }
    
    .preview-container {
        min-height: 150px;
    }
}