/* AutoVibe Updated CSS for project 1744054291514 - Iteration 2 */

/* Reset and Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding: 20px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-top: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header Styles */
header {
    text-align: center;
    padding: 2rem 0;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
}

header p {
    color: #777;
    font-style: italic;
}

/* Main Content Styles */
main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

section {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

select {
    cursor: pointer;
    background-color: #fff;
}

/* Button Styles */
button {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    background-color: #2c3e50;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

button:hover {
    background-color: #34495e;
}

button#generate-button {
    background-color: #007bff;
}

button#generate-button:hover {
    background-color: #0056b3;
}

/* Customization Options Styles */
#customization-options p {
    color: #666;
    margin-bottom: 1.5rem;
}

#template-selector {
    width: 100%;
}

/* Newsletter Preview Styles */
#newsletter-preview {
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
}

#newsletter-preview #preview-container {
    padding: 1.5rem;
}

#newsletter-preview #preview-container p {
    font-style: italic;
    color: #777;
}
#newsletter-preview h2 {
    border-bottom: none;
    margin-top: 0;
}

/* Action Buttons Styles */
#action-buttons {
    text-align: center;
}

#action-buttons button {
    margin: 0.5rem;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    color: #777;
    border-top: 1px solid #eee;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    header {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }

    main {
        gap: 1.5rem;
    }

    section {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }

    label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    input[type="text"],
    input[type="email"],
    textarea,
    select {
        padding: 0.6rem;
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    button {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }

    #newsletter-preview #preview-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }
}