:root {
    --primary-color: #0078D4;
    --secondary-color: #2b88d8;
    --background-color: #f4f4f4;
    --container-bg: #ffffff;
    --text-color: #333333;
    --light-grey: #e9ecef;
    --border-color: #dee2e6;
    --shadow: 0 4px 8px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    background-image: url('bg-asset.png');
    background-size: cover;
    background-attachment: fixed;
}

#app {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

#app-logo {
    height: 60px;
}

.header-text {
    flex-grow: 1;
}

.config-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--light-grey);
    border-radius: 8px;
    margin-bottom: 2rem;
    justify-content: center;
}

.config-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.config-item label {
    font-weight: 600;
    font-size: 0.9rem;
}

input[type="number"], select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    background-color: var(--container-bg);
}

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

.license-column {
    background-color: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease-in-out;
}

.license-column:hover {
    transform: translateY(-5px);
}

.license-column h3 {
    color: var(--primary-color);
    margin-top: 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    min-height: 40px; /* To avoid layout shift */
}

.license-selector {
    width: 100%;
    margin-bottom: 1rem;
}

.result-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.result-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-grey);
}

.result-list li:last-child {
    border-bottom: none;
}

.result-list strong {
    font-weight: 600;
}

.total-annual {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: bold;
}

.actions-section {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

#download-pdf-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: var(--shadow);
}

#download-pdf-btn:hover {
    background-color: var(--secondary-color);
}

.summary-section, .help-section {
    background-color: var(--container-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.summary-section h2, .help-section h2 {
    color: var(--primary-color);
    margin-top: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.chart-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 1rem auto;
    height: 400px;
}

.help-section ol {
    padding-left: 20px;
    line-height: 1.6;
}

footer {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}