body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    text-align: center;
}

.generator-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
}

.generator-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.generator-options, .preview, .generated-code {
    flex: 1;
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

h2 {
    color: #333;
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    height: 150px;
    resize: none;
}

button, .btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    margin: 20px auto 0;
    text-align: center;
}

button:hover, .btn:hover {
    background-color: #0056b3;
}

.embed-container {
    width: 100%;
    max-width: 455px; /* 650px - 30% */
    margin: 0 auto;
    padding: 35px 14px; /* 50px - 30%, 20px - 30% */
    box-sizing: border-box;
}

.error {
    border: 1px solid red !important;
}

input[name="email"],
input[name="name"],
button {
    padding: 15px 30px;
    width: 100%;
    font-size: 20px;
    margin-bottom: 12.5px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

input[name="email"] {
    color: #333;
    background-color: #fff; /* White background */
    border-radius: 5px !important;
    padding: 10.5px 31.5px 10.5px 21px; /* 15px - 30%, 45px - 30%, 30px - 30% */
    font-size: 14px; /* 20px - 30% */
    box-sizing: border-box;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-image: url(https://app.clickfunnels.com/images/email2.png);
    background-repeat: no-repeat;
    background-position: right 7px center; /* Adjust position due to reduced size */
}

input[name="name"] {
    color: #333;
    background-color: #fff; /* White background */
    border-radius: 5px !important;
    padding: 10.5px 31.5px 10.5px 21px; /* 15px - 30%, 45px - 30%, 30px - 30% */
    font-size: 14px; /* 20px - 30% */
    box-sizing: border-box;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-image: url(https://app.clickfunnels.com/images/name.png); /* URL for the name icon */
    background-repeat: no-repeat;
    background-position: right 7px center; /* Adjust position due to reduced size */
}

button {
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 13px 35px;
    font-size: 14px; /* 20px - 30% */
    font-weight: bold; /* Make the text bold */
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: inline-block;
    transform: all 0.2s ease-in-out;
    text-align: center;
    text-decoration: none;
}

button:hover {
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.1);
}

.color-picker {
    height: 40px;
}
