body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    padding: 10px;
}

button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
}

.comparison-table {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.column {
    width: 48%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size: 14px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

th {
    background-color: #4CAF50;
    color: white;
}

#summaryTable {
    margin-bottom: 20px;
}

#summaryTable td, #summaryTable th {
    text-align: center;
}

#summaryTable a {
    color: #0000EE;
    text-decoration: none;
}

#summaryTable a:hover {
    text-decoration: underline;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.collapsed-comparison {
    width: 48%;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
}

.collapsed-comparison h3 {
    cursor: pointer;
    margin: 0;
    padding: 10px;
    background-color: #f2f2f2;
}

.comparison-details {
    padding: 10px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.match {
    background-color: #e6ffe6;
}

.non-match {
    background-color: #ffe6e6;
}