/* styles.css - Modern Dashboard */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7f0 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.main-container {
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: white;
    padding: 40px 50px;
}

.header h1 {
    font-size: 2.4rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header p {
    margin: 8px 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 50px;
}

h2 {
    font-size: 1.35rem;
    color: #374151;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

label {
    display: block;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 10px;
}

input[type="number"] {
    width: 100%;
    padding: 18px 20px;
    font-size: 1.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.2s;
}

input[type="number"]:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

button {
    margin-top: 20px;
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

button:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 14px;
    font-size: 1.1rem;
}

.result-row span:last-child {
    font-weight: 700;
    color: #1f2937;
}

.total-row {
    margin-top: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
    border-radius: 18px;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 15px rgba(16, 185, 129, 0.3);
}

.total-row span:last-child {
    font-size: 2rem;
    font-weight: 800;
}

.empty-state {
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-align: center;
    border: 3px dashed #e5e7eb;
    border-radius: 20px;
}

.empty-state i {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .header {
        padding: 35px 40px;
    }
}
