
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    background-color: #f4f7f6;
    color: #333;
}

header {
    background-color: #004d40;
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

main {
    padding: 2rem;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease-in-out;
}

.card:hover {
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.card h2 {
    color: #004d40;
    margin-top: 0;
    border-bottom: 2px solid #e0f2f1;
    padding-bottom: 0.5rem;
}

input[type="file"], input[type="text"], input[type="url"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #00796b;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #004d40;
}

#dashboard {
    display: block;
}

#qa-dashboard {
    background-color: #e0f2f1;
    border-left: 5px solid #00796b;
}

#sgx-companies-card .company-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

#sgx-companies-card .company-item:last-child {
    border-bottom: none;
}

#sgx-companies-card h4 {
    margin: 0 0 0.5rem 0;
    color: #00796b;
}

#sgx-companies-card p {
    margin: 0 0 1rem 0;
}

.analysis-report h3 {
    color: #004d40;
    margin-top: 0;
}

.report-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.summary-scores p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
}

.indicator {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
}

.indicator.green { background-color: #4CAF50; }
.indicator.yellow { background-color: #FFC107; }
.indicator.red { background-color: #F44336; }

.detailed-analysis h4 {
    color: #004d40;
    margin-top: 0;
    margin-bottom: 1rem;
}

.analysis-pillar {
    margin-bottom: 1.5rem;
}

.analysis-pillar:last-child {
    margin-bottom: 0;
}

.analysis-pillar h5 {
    color: #00796b;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.analysis-pillar p {
    margin: 0.25rem 0;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}
