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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f7;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.app-container {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.app-content {
    padding: 32px 24px 24px;
    background: #f5f5f7;
}

.dashboard-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 480px) {
    .app-container {
        max-width: 100%;
        border-radius: 0;
        min-height: 100vh;
    }
    body {
        padding: 0;
    }
}

@media (min-width: 900px) {
    body {
        padding: 40px 20px;
        background: #eaebef;
    }

    .app-container {
        max-width: 1100px;
        width: 100%;
        border-radius: 28px;
    }

    .app-content {
        padding: 40px;
    }

    .app-content h1 {
        text-align: left;
        margin-bottom: 32px;
        font-size: 32px;
    }

    .dashboard-layout {
        display: grid;
        grid-template-columns: 380px 1fr;
        gap: 32px;
        align-items: stretch;
        margin-bottom: 24px;
    }

    .left-panel {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .right-panel {
        background: #ffffff;
        border-radius: 20px;
        padding: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
        display: flex;
        flex-direction: column;
        height: 100%;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .left-panel .input-group {
        margin-bottom: 0;
    }
}

h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.input-group {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.input-group h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.input-field {
    margin-bottom: 12px;
}

.input-field:last-child {
    margin-bottom: 0;
}

.input-field label {
    display: block;
    font-size: 13px;
    color: #86868b;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-field input, .input-field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 17px;
    color: #1d1d1f;
    transition: all 0.2s;
    background: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.input-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.input-field input:focus, .input-field select:focus {
    outline: none;
    border-color: #06B6D4;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.result-card {
    background: linear-gradient(135deg, #06B6D4 0%, #0EA5E9 100%);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.result-card h3 {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 8px;
}

.result-card .value {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.summary-details {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
}

.summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-row span:first-child {
    opacity: 0.9;
}

.summary-row span:last-child {
    font-weight: 600;
}

.recommendation-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e5e5ea;
}

.recommendation-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.hdd-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 10px;
}

.hdd-item:last-child {
    margin-bottom: 0;
}

.hdd-icon {
    font-size: 24px;
    margin-right: 12px;
}

.hdd-details h4 {
    font-size: 15px;
    color: #1d1d1f;
    margin-bottom: 2px;
}

.hdd-details p {
    font-size: 13px;
    color: #86868b;
}

.info-box {
    background: #e8f4ff;
    border-left: 4px solid #06B6D4;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #1d1d1f;
    line-height: 1.5;
}
