* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #3A4FB0 0%, #1F274C 100%);
    color: #1F274C;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: #FFFFFF;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(58, 79, 176, 0.2);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.logo {
    height: 50px;
    width: auto;
}

.title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #1F274C;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

.controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    padding: 30px;
    background: #ECEDF4;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(31, 39, 76, 0.1);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #1F274C;
    font-size: 14px;
}

input, select {
    padding: 14px;
    border: 2px solid #D8DBE9;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    background: #FFFFFF;
    color: #1F274C;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #3A4FB0;
    box-shadow: 0 0 0 3px rgba(58, 79, 176, 0.2);
}

.primary-btn, .secondary-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.primary-btn {
    background: #3A4FB0;
    color: #FFFFFF;
}

.primary-btn:hover {
    background: #5370FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(58, 79, 176, 0.3);
}

.secondary-btn {
    background: #D8DBE9;
    color: #1F274C;
}

.secondary-btn:hover {
    background: #ECEDF4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 39, 76, 0.2);
}

.results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.result-card {
    background: linear-gradient(135deg, #3A4FB0, #5370FF);
    color: #FFFFFF;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(58, 79, 176, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(58, 79, 176, 0.4);
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin: 0 0 16px 0;
    font-size: 18px;
    opacity: 0.9;
}

.value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.subtitle {
    font-size: 14px;
    opacity: 0.8;
    font-family: 'Open Sans', sans-serif;
}

.table-section {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(31, 39, 76, 0.1);
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1F274C;
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.table-container {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(216, 219, 233, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

th {
    background: #3A4FB0;
    color: #FFFFFF;
    padding: 16px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

td {
    padding: 16px;
    border-bottom: 1px solid #ECEDF4;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #1F274C;
    text-align: center;
}

tr:nth-child(even) {
    background: #ECEDF4;
}

tr:hover {
    background: #D8DBE9;
    transition: background 0.2s ease;
}

.highlight {
    background: rgba(236, 26, 87, 0.1) !important;
    border-left: 4px solid #EC1A57;
    font-weight: 600;
}

.footer {
    background: #1F274C;
    color: #D8DBE9;
    text-align: center;
    padding: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .controls {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .results {
        grid-template-columns: 1fr;
    }
    .value {
        font-size: 28px;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
}