body {
    font-family: Arial, sans-serif;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.input-group {
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 500;
}

input,
select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    /* Ensure padding doesn't break layout */
}

input:focus,
select:focus {
    outline: none;
    border-color: #3498db;
}

.preview {
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
}

.signature-table {
    border-collapse: collapse;
    max-width: 400px;
}

.signature-border {
    width: 4px;
    background-color: #3498db;
    min-width: 4px;
    /* Ensure visibility */
}

.signature-content {
    padding-left: 15px;
    vertical-align: top;
}

.name {
    color: #2c3e50;
    font-size: 16px;
    font-weight: bold;
}

.position {
    font-size: 14px;
    color: #3498db;
    font-weight: 500;
}

.contact-info {
    font-size: 14px;
    color: #555;
    width: 100%;
}

.contact-row {
    height: 24px;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

.company-logo {
    max-width: 150px;
    height: auto;
}

.copy-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 14px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-btn:hover {
    background-color: #2980b9;
}

.disclaimer {
    font-size: 8px;
    line-height: 1.2;
    color: #888;
}

.checkbox-group {
    display: none;
    margin-top: 10px;
    margin-bottom: 15px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.checkbox-option input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.checkbox-option label {
    display: inline;
    margin-bottom: 0;
}