* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.form-section {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

button {
    background-color: #0066cc;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 10px;
}

button:hover {
    background-color: #0052a3;
}

.download-btn {
    background-color: #28a745;
}

.download-btn:hover {
    background-color: #218838;
}

.reset-btn {
    background-color: #6c757d;
}

.reset-btn:hover {
    background-color: #5a6268;
}

.document-section {
    flex: 1;
    min-width: 600px;
}

.document {
    background: white;
    padding: 0.75in;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 8.5in;
    margin: 0 auto;
    min-height: 11in;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    text-align: left;
    font-weight: normal;
}

.document * {
    font-family: Arial, Helvetica, sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 9px;
    margin-bottom: 25px;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    text-align: left;
    font-weight: normal;
}

.header > span:first-child {
    flex-shrink: 0;
    margin-right: 10px;
    font-weight: normal;
}

.header-title {
    flex: 1;
    text-align: center;
    font-weight: normal;
}

.header > span:last-child {
    flex-shrink: 0;
    width: 100px;
}

.content {
    text-align: left;
}

.content h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 0;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
    font-style: normal;
    letter-spacing: 0.3px;
}

.info-line {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 18px;
    color: #000;
    text-align: left;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.2px;
}

.ein-line {
    font-size: 15px;
    font-weight: normal;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.3px;
}

.ein-line strong {
    font-weight: bold;
}

.ein-line span {
    font-weight: normal;
}

.section {
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    text-align: center;
    border: 2px solid #000;
    max-width: 90%;
    box-sizing: border-box;
    background-color: #ffffff;
}

.section h2 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 18px;
    color: #000;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-text {
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 22px;
    color: #000;
    text-align: center;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.3px;
}

.section-text strong {
    font-weight: bold;
    color: #000;
}

.section p.info-line {
    text-align: center;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    color: #000;
}

.section p.info-line strong {
    font-weight: bold;
    color: #000;
}

.footer {
    position: absolute;
    bottom: 20px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: #000;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-url {
    text-align: left;
    font-weight: normal;
}

.page-number {
    text-align: right;
    font-weight: normal;
}

@media print {
    .form-section,
    .download-btn,
    .reset-btn {
        display: none;
    }
    
    .document-section {
        width: 100%;
    }
    
    .document {
        box-shadow: none;
        padding: 0.75in;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .document-section {
        min-width: 100%;
    }
}

