* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    margin: 0 0 20px;
    color: #333;
    text-align: center;
}

h2 {
    margin: 20px 0 10px;
    color: #555;
    font-size: 1.1em;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.input-section {
    margin-bottom: 20px;
}

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

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: #007bff;
}

.checkbox-group {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    display: inline;
    margin: 0;
    font-weight: normal;
}

button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

button:hover {
    background: #0056b3;
}

.results-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.results-grid {
    display: flex;
    gap: 20px;
}

.result-column {
    flex: 1;
}

.result-column h2 {
    margin-top: 0;
}

.assignments {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.assignment-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.assignment-row:last-child {
    border-bottom: none;
}

.role-name {
    font-weight: 500;
    color: #333;
}

.person-name {
    color: #007bff;
    font-weight: 600;
}

#copyBtn {
    background: #28a745;
    margin-top: 10px;
}

#copyBtn:hover {
    background: #1e7e34;
}
