/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Navigation Menu */
.menu {
    background-color: #007BFF;
    padding: 1rem;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}

.menu ul li a:hover {
    text-decoration: underline;
}

/* Container Layout */
.container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

/* Form Container */
.form-container {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    color: #007BFF;
    margin-bottom: 1rem;
}

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

input[type="text"], input[type="email"], input[type="date"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

input[type="checkbox"] {
    margin-right: 0.5rem;
}

.policy-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Policy Output Container */
.policy-output {
    flex: 2;
    min-width: 300px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative; /* Added for positioning the button */
}

.policy-output h1, .policy-output h2 {
    color: #007BFF;
}

.placeholder {
    text-align: center;
    font-size: 1.1rem;
    color: #777;
}

/* Copy Button */
.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #007BFF;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

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