:root {
    --primary: #c72f6b;
    --secondary: #ffd6e8;
    --background: #ffffff;
    --text: #5b2340;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Poppins, sans-serif;
    background: linear-gradient(
        135deg,
        var(--secondary),
        #ffffff,
        #ffffff
    );
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    overflow: auto;
    color: var(--text);
}

.container {
    max-width: 960px;
    margin: auto;
    background: white;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

h1 {
    font-family: Pacifico, cursive;
    text-align: center;
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 2.8rem;
}

h2 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.section {
    margin-bottom: 30px;
}

label {
    display: block;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 5px;
}

input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    font-family: Poppins, sans-serif;
}

input[type="color"] {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 12px;
}

textarea {
    resize: vertical;
    min-height: 90px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(250px, 1fr)
    );
    gap: 10px;
}

.checkbox-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 12px;
}

.checkbox-card label {
    margin: 0;
    cursor: pointer;
}

.generate-btn {
    width: 100%;
    border: none;
    border-radius: 15px;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--primary);
    color: white;
    cursor: pointer;
    transition: 0.25s;
    font-family: Poppins, sans-serif;
}

.generate-btn:hover {
    transform: translateY(-2px);
}

.info-box {
    margin-top: 25px;
    padding: 20px;
    border-radius: 15px;
    background: #fff0f5;
    border: 2px dashed var(--primary);
    line-height: 1.6;
}

@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2rem;
    }
}

.success-box{
    margin-top:25px;
    padding:25px;
    background:white;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    text-align:center;
}

.success-box input{
    width:100%;
    margin:15px 0;
    padding:12px;
    border:2px solid #ddd;
    border-radius:12px;
}

.success-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
}

.success-buttons button{
    min-width:180px;
}

.preview-card{
    border-top:5px solid var(--primary);
    margin:30px 0;
    padding:25px;
    border-radius:20px;
    background:white;
    text-align:center;
    border:2px dashed #ddd;
}

.preview-header{
    font-size:.9rem;
    font-weight:700;
    color:#666;
    margin-bottom:20px;
    text-transform:uppercase;
    letter-spacing:1px;
}

.preview-card h2{
    margin-bottom:20px;
}

.preview-buttons{
    margin-top:20px;
}

.preview-buttons button{
    border:none;
    padding:12px 22px;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
}

#previewYes{
    color:white;
}

#previewNo{
    background:white;
}

#previewOptions{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
    margin-top:20px;
}